Most token burn in AI coding agents happens during code archaeology—running grep and reading whole files just to trace one call chain.

We installed Gortex (v0.64.12, Go daemon) and Graphify (v0.9.124, Python AST knowledge graph) side-by-side on a clean 726-file Next.js repo (hafuture-app) and measured exact cl100k_base token counts across 4 real maintenance tasks:

  • Clean TS/TSX Full-File Baseline: 43,861 tokens
  • Gortex explore -f gcx (includes full symbol source + blast callers): 11,246 tokens (-74.4%, 125.1 ms median CLI latency; GCX1 cuts 14.8% vs Gortex's own JSON)
  • Graphify query (depth-2 BFS structure): 9,083 tokens (-79.3%, 269.7 ms median)
  • Graphify explain / affected (pinpoint edges + line anchors): 906 tokens (-97.9%, 256.1 ms median)

Biggest Setup Gotchas We Actually Hit

  1. Gortex non-TTY exit 75: --loading-wait silently drops from 30s to 0 when stdout isn't a TTY. Always pass gortex daemon start --detach and --loading-wait 30s in scripts/CI.
  2. Graphify silent claude -p fallback: Running graphify cluster-only . without an API key automatically invokes the local claude CLI unless you set GRAPHIFY_BACKEND=none.
  3. Footprint trade-off: Gortex ships a 313 MB static binary + 96 MB SQLite store + 126 MiB daemon RAM; Graphify uses a 193 MB Python venv + 4.6 MB static graphify-out/ with 0 MB idle RAM.

Code exploration token benchmark comparing full-file baseline (43,861) vs Gortex GCX (11,246), Graphify query (9,083), and Graphify explain/affected (906) across 4 tasks

Read the full benchmark tables, reproducible CLI commands, and workflow decision matrix on Hafuture →