{"slug": "gortex-vs-graphify-code-exploration-token-benchmark-on-a-726-file-next-js-repo", "title": "Gortex vs Graphify: Code Exploration Token Benchmark on a 726-File Next.js Repo", "summary": "A developer benchmarked two code-exploration tools, Gortex (v0.64.12, a Go daemon) and Graphify (v0.9.124, a Python AST knowledge graph), on a 726-file Next.js repository across four maintenance tasks, measuring exact cl100k_base token counts. Gortex's explore command consumed 43,861 tokens including full symbol source and blast callers, while Graphify's query and explain/affected commands used 11,246 and 9,083 tokens respectively at roughly 125-270 ms median CLI latency. The writeup also flags operational pitfalls: Gortex's --loading-wait silently drops from 30s to 0 when stdout isn't a TTY, and Graphify falls back to the local claude CLI without an API key unless GRAPHIFY_BACKEND=none is set.", "body_md": "Most token burn in AI coding agents happens during **code archaeology**—running `grep` and reading whole files just to trace one call chain.\n\nWe 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:\n\n`43,861 tokens`\n`explore -f gcx` (includes full symbol source + blast callers)`11,246 tokens` (`125.1 ms` median CLI latency; GCX1 cuts 14.8% vs Gortex's own JSON)`query` (depth-2 BFS structure)`9,083 tokens` (`269.7 ms` median)`explain` / `affected` (pinpoint edges + line anchors)`906 tokens` (`256.1 ms` median)`--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.`claude -p` fallback`graphify cluster-only .` without an API key automatically invokes the local `claude` CLI unless you set `GRAPHIFY_BACKEND=none`.` graphify-out/` with 0 MB idle RAM.", "url": "https://wpnews.pro/news/gortex-vs-graphify-code-exploration-token-benchmark-on-a-726-file-next-js-repo", "canonical_source": "https://dev.to/_55b168cae64b7eaef4cbf/gortex-vs-graphify-code-exploration-token-benchmark-on-a-726-file-nextjs-repo-2kmc", "published_at": "2026-12-03 03:08:17+00:00", "updated_at": "2026-12-03 03:16:27.708567+00:00", "lang": "en", "topics": ["ai-tools", "developer-tools", "ai-agents", "ai-search"], "entities": ["Gortex", "Graphify", "Next.js", "Claude", "hafuture-app"], "also_reported_by": [], "takeaway": "On a 726-file Next.js repo, Graphify's query and explain/affected commands used 11,246 and 9,083 cl100k_base tokens versus 43,861 for Gortex's explore -f gcx, at median CLI latencies of 125-270 ms.", "recommendation": {"advice": "Route code-archaeology lookups through structural graph queries like Graphify's query and explain/affected instead of full-symbol exploration to cut token spend, and pin --loading-wait 30s and GRAPHIFY_BACKEND=none in CI scripts.", "playbook": "llm-cost", "playbook_url": "https://wpnews.pro/playbooks/llm-cost"}, "alternates": {"html": "https://wpnews.pro/news/gortex-vs-graphify-code-exploration-token-benchmark-on-a-726-file-next-js-repo", "markdown": "https://wpnews.pro/news/gortex-vs-graphify-code-exploration-token-benchmark-on-a-726-file-next-js-repo.md", "text": "https://wpnews.pro/news/gortex-vs-graphify-code-exploration-token-benchmark-on-a-726-file-next-js-repo.txt", "jsonld": "https://wpnews.pro/news/gortex-vs-graphify-code-exploration-token-benchmark-on-a-726-file-next-js-repo.jsonld"}}