Machine Room · 22 Oct 2026 · 11:18
Is Graphify Worth It for Claude Code? I Measured It

Watch on YouTube
Graphify builds a knowledge graph of a codebase: a code parser turns every function and file into a node and every call into an edge, with no AI model involved, and Claude Code is told to query the graph before it greps. The pitch is fewer tokens. This episode measures that with a real Claude Code agent on my production SaaS (Growth Engine: Python backend, Next.js frontend, 1,075 source files), the same question run with Graphify and without it.
What was measured: two questions, a fresh headless Claude Code session every run, read-only tools, three runs per cell on Opus 5.5. A code-path question (which code runs when a user clicks Run, until the pipeline starts): about 293,000 input tokens and 5 model calls without Graphify, about 364,000 and 6 calls with it. A cross-feature question (which UI components are shared by more than one feature): 10 calls without, 11 with. Both times about 70,000 more tokens for the same answer, because every model call re-reads the whole context (50,000 to 70,000 tokens a call) and asking the graph added one call. 16 of 16 answers were correct, with and without. Then the same tool on a second repo of dozens of sealed small projects: a map nearly three times bigger that answered nothing, because nothing in it calls anything.
Where it did help: blast radius before touching a shared component (graphify affected, nine callers with file and line), and a stale claim in my own project notes that the call graph disproved.
Setup: Graphify 0.9.92 · Claude Code 2.1.302 · Opus 5.5, effort high, n = 3 per cell (Fable 5.1 cross-check, effort high, n = 1) · every AI key unset for the graph build · dollars are Claude Code's own total_cost_usd, warm runs. Not tested: cheaper models, repos ten times bigger, sessions with dozens of questions in a row; any of those could go the other way.
Graphify's own 71.5x figure (README benchmark) compares one query against pasting the whole corpus into the context, which no coding agent does.
Graphify: https://github.com/Graphify-Labs/graphify
This episode with chapters, full transcript and sources: https://themachineroom.dev/v/graphify-measured/?utm_source=youtube&utm_medium=description&utm_campaign=graphify-measured
Chapters
- 0:00The Map: what Graphify builds from code
- 1:50The Test: Claude Code with and without Graphify
- 4:37The Question the Map Cannot Answer: calls vs features
- 6:27The Experiments: a repo where nothing calls anything
- 8:43The Verdict: when a code graph helps
Previous episode, what Claude Code is doing when it says "Thinking": https://youtu.be/kNhFEotYBBU
Transcript
The narration, word for word, from the subtitle file that ships with the video.
0:00The Map: what Graphify builds from code
You type a question into Claude Code. How does it know where to look? It does not. Claude Code greps, reads the lines it found, and greps again. Graphify promises to fix that. It builds a map of the code once, and Claude Code asks it instead of grepping. On my first question, Graphify's answer was fourteen times smaller than the four files Claude Code would have read. So I installed it on the app, my production SaaS: a Python backend, a Next.js frontend, about a thousand source files. Then I ran the same questions through a real Claude Code session, sixteen times, with Graphify and without. Every run with it cost more. Same answers. Here is why, where it did help, and the repo where it was useless for a different reason. Every number was measured. The versions, the model and the effort are on the screen and in the description. First, what Graphify builds. It reads the app's code with a parser. No AI model reads anything. Every function and every file becomes a dot. Every call between them becomes a line. The app is about a thousand files. The map of it is twelve thousand dots. The build took under a minute. It cost zero tokens. A refresh after a code change takes ten seconds. From then on, the project notes tell Claude Code: ask Graphify first, grep second.
1:50The Test: Claude Code with and without Graphify
The question. The app has a page where a user clicks Run and watches results stream back live. Somewhere in the backend is the pipeline that does the work. When the user clicks Run, which code gets called, in order, until the pipeline starts? The setup. Two copies of the same repo. One copy has Graphify and the rule: ask it first. The other copy has neither. Same question, word for word. A fresh Claude Code session every time, three runs each on Opus, read-only tools, so nothing can change a file. Without Graphify, Claude Code grepped a few times, read about two hundred lines from two files, and answered in five calls to the model. The answer was correct: the handler in the playground file, then the pipeline function on line three hundred and one. With it, Claude Code asked first, got the answer, then grepped the same two files anyway to confirm the line numbers. Six calls. The same correct answer. Now the bill. Without Graphify, about two hundred and ninety thousand tokens went through the session. With it, three hundred and sixty thousand. Seventy thousand more, for the same answer. In money, at Opus prices, that is fourteen cents without it. Eighteen with. Four cents more, on every question. But what Graphify sent back was small. About two thousand tokens. So where did seventy thousand go? On every call, Claude Code re-reads its whole context: the instructions, the project notes, everything said so far. Fifty to seventy thousand tokens, every single call. Those two thousand are a thin slice of that. Asking Graphify added one more call, and every call re-reads everything again. That one extra call is most of the seventy thousand. Remember the fourteen times from the start: one small answer against four whole files. That number is real, and here it does not matter. Claude Code never read those four files whole. Claude Code read about two hundred lines. Same result on the bigger model I use every day: a third more with Graphify.
4:37The Question the Map Cannot Answer: calls vs features
Second question. Which UI components are shared by more than one feature? The app's features are ads, content, social, outreach and billing. Graphify alone, by hand: the answer came back cut off, almost all of it backend code. I widened the search. Fourteen thousand tokens. Still backend. Still wrong. Almost every dot in that answer sat in the backend clump. Only three lines connect that clump to the frontend, where the components live. Why. Graphify recorded one kind of fact only: this function calls that one. Ask about one component by name, say ModalShell, and you get everyone who calls it. But this question needs a second fact: which feature each file belongs to. It never recorded that, because a feature is a folder name, not a call. So it had nothing to answer with, and filled the space with whatever matched the words. Now the real agent. Claude Code with Graphify asked it, saw the noise, ignored it, grepped seven times, and answered correctly. Eleven calls. Claude Code without it: ten calls, the same list. One extra call. Seventy thousand more tokens, again. So Graphify did not make Claude Code wrong. It made Claude Code slower. Claude Code does not trust an answer it cannot verify in the source, and on this question there was nothing to verify.
6:27The Experiments: a repo where nothing calls anything
My other repo. The experiments is one repo holding dozens of separate small projects: scripts, specs, generated files. On disk it is a hundred and fifty gigabytes, almost all of it output files, not code. Same command, same settings, every AI key still unset. Graphify built the map in forty-two seconds. The map is thirty-three thousand dots. The app's map was twelve thousand. This one is nearly three times bigger. Open the picture. The app's dots sat in two big clumps, with lines everywhere inside them. The experiments' dots are scattered in a circle. One thousand four hundred groups, and fewer lines between the groups than there are groups. Seventy percent of those dots come from two folders of project code, and every project in them is sealed. Nothing in one project calls anything in another. I asked Graphify a plain question: why was one pilot rejected, and where is the publish checklist? It matched words, not meaning. It seeded on a function named Checklist in one project, a function named sleep in a publish tool, and a function named history in an image script. A hundred and sixty nodes, cut off, none of them relevant. The answer to that question lives in notes, specs and logs. Graphify never reads those. It reads code, and the calls that connect it. So the bigger map knew less. Then the real agent, same question. Without Graphify, Claude Code found the answer in the notes and the checklist file, in about half a minute. With it, Claude Code asked once, got nothing useful, and then did exactly the same thing. Same turns, same tokens, same answer. One wasted call.
8:43The Verdict: when a code graph helps
Where the map helped. It helped me, twice, at the terminal. Before I touched a shared component, one command listed its nine callers, each with file and line. And it caught a lie in my own notes. The notes said the app had a public run endpoint. Graphify showed the pipeline function has exactly one caller, and it is not that. The endpoint never existed. I fixed the note in one commit. In sixteen runs, Graphify never made Claude Code wrong. Every answer was correct, with it and without. It only made the session longer. Graphify's own number is seventy-one times. That number is against pasting the whole repo into the context. No agent does that. Against what the agent really does, grep a few lines, the saving did not appear. What I did not test: a cheaper model that greps badly, a repo ten times bigger where grep returns hundreds of hits, a session that asks fifty questions in a row. On any of those, the answer could go the other way. One repo, two questions, two strong models at high effort. That is the whole claim. The picture rule, if you try it. The app's dots sat in two big clumps with lines everywhere, because the code calls itself. The experiments' dots were scattered with almost no lines, because nothing calls anything. If your picture looks like the second one, it has nothing to answer with. Two conditions if you keep it. Refresh the map after every change, ten seconds, or it answers confidently about code that moved. And keep it code-only with an ignore file, or one update fills it with thousands of prose nodes that grep handles better. Verdict. Install Graphify for yourself. Explain, path and affected are three good commands for a person reading a repo. Do not install it to cut the agent's bill. On my repo, with the model I use, it cost more on every question. And I measured it.
← How Claude's Text Watermark Works: It's in the Words It PicksThe OSI Model, Explained With One WhatsApp 'Hi' Through All 7 Layers →