Token usage? #118
|
Would anybody know the token usage pattern vis a vis the repo size? and the incremental token usage as and when code is changed/graph updated? |
Replies: 3 comments 2 replies
|
Good question — we don't ship per-run token telemetry yet, but the pipeline's shape makes the cost predictable. Full run ( On top of that there's a fixed overhead per run from 4–5 review/assembly agents (scanner, assemble-reviewer, architecture, tour, optional Incremental updates (when the commit hash changes):
Practical advice:
|
|
holyshit stupid repo, wasted many tokens, don't try |

Good question — we don't ship per-run token telemetry yet, but the pipeline's shape makes the cost predictable.
Full run (
/understand) cost is dominated by Phase 2 (file-analyzer). Files are batched ~25 per subagent, up to 5 in parallel. Cost scales roughly linearly with total lines of source code analyzed, since every file's contents are read once. Anything beyond ~100 files hits a gate that asks you to scope with a subdirectory — that's the practical sweet spot today.On top of that there's a fixed overhead per run from 4–5 review/assembly agents (scanner, assemble-reviewer, architecture, tour, optional
--reviewreviewer). Their cost depends on the final graph size (#nodes + #edges), no…