500xEngineer.

All postsSHORT3 min read

Gortex's Token-Saving Claim: My Claude Code Test

Gortex's README says up to 50x fewer tokens per response. My Claude Code test used more whole-task tokens: one run each, one task, one small repo.

The Gortex README says up to 50x fewer tokens per response. In my one test, the same Claude Code task used about 7 times more tokens with Gortex. One run each, one read-only task, one small repo. I measured whole-task tokens. The README's number is per response. Mine is for the whole task.

Video not loading? Watch the Short on YouTube

What the Gortex README says

Gortex is an Apache-2.0 code-intelligence engine written in Go. It indexes a repo into a graph and serves it to coding agents over MCP and a CLI, so an agent can look up symbols, callers and call chains through the graph.

Its README says up to 50x fewer tokens per response. That's the project's claim. It ships as a single binary and the index lives on the machine running it.

I tested Gortex v0.64.12, released Dec 1, 2026 (UTC). Gortex itself is older: the repo was created Apr 6, 2026.

How I tested it

I ran Gortex v0.64.12 on a copy of the gin repo with 130 files. I used Claude Code in headless mode with Claude Sonnet 5.5. Both runs got the same read-only question: trace Context.JSON to the write, and list the callers of Context.Render.

The README's quick start is 4 commands:

gortex install
gortex daemon start --detach
gortex track
gortex init

I ran track and init only, inside a scratch copy, and skipped the machine-wide install.

My first headless attempt was invalid: under Claude Code's dontAsk permission mode, Gortex's hook asked for a confirmation that print mode can't give, so no Gortex call ran. The pair I report used acceptEdits for both runs.

What I measured in one test

One run each, one read-only task, one small repo. These are Claude Code's reported whole-task tokens, including input, cached input and output.

Metric Without Gortex With Gortex v0.64.12
Whole-task tokens 33,330 237,334
Turns 4 13
Context at start, before the first tool call 8,682 18,327

In my test, the Gortex run used about 7 times more tokens for the whole task. Both runs gave the same call chain and the same 18 callers.

Most of those tokens were cached input, which costs less than fresh input, so the bill gap is smaller than the token gap. Claude Code's own estimate was about $0.03 against $0.17 for this one task, and cache state differed between runs.

Why the README's number and mine measure different things

The README's number is per response. Mine is for the whole task.

Its benchmark reports 3 to 50x fewer tokens per response on identifier lookups in the Gortex repo itself, against ripgrep plus full file reads, last updated May 18, 2026. On one natural-language query in the same table, Gortex used more tokens (1,825 vs 415).

What I didn't test

I didn't test a large codebase, an edit task or repeated runs, and I didn't re-run the project's benchmark. This is a firsthand report of the task I ran.

What the docs say about languages and telemetry

The docs say Gortex indexes 257 languages in three tiers; about 31 get the deepest extraction.

The docs say usage telemetry is opt-in and off by default. I didn't test that default.

How I'd turn it into a service (my opinion, no income guaranteed)

I'd sell teams an agent cost audit. Pick real tasks and run them with and without each add-on: MCP servers, hooks and context tools. Record tokens and turns, then keep what the numbers support.

The deliverable is a one-page report: keep, tune or remove each add-on. No income guaranteed.

Daily email

Get each breakdown in your inbox.

One email each evening, right after the Short goes live: the AI tool it covers, the full write-up with sources, and how to get paid for it. Free, and you can unsubscribe anytime.

Read past emails on Substack

Sources

All postsWatch on YouTube