Graphql Cost Depth
Heuristic only: ignores directives, aliases, and inline fragments. Use for quick sanity checks, not billing-grade cost.
About this tool
Inspect a GraphQL document locally. The tool parses operations, aliases, inline fragments and named fragment spreads; braces inside strings and comments do not change the result.
Structural cost assigns one unit to every selected field after fragment expansion. It is not a server execution-cost estimate: schemas can assign different field weights, list multipliers and resolver costs, none of which are available in a pasted document. Repeated fragment spreads are counted where they occur. Invalid or cyclic fragment references are rejected.