Token Efficiency
Designing docs, tools and prompts so agents spend as few tokens as possible to accomplish a task — a functional property, not a style preference.
Also known as: token efficiency, token economics / token efficiency, token-efficient, token footprint, specialized encoding strategy, Primal system prompt, chain-of-thought amputation
How authors use it
Oldest first (extraction date when no publication date is known).
| Author | Their term | Their meaning |
|---|---|---|
| Agentic Engine Optimization (AEO) Addy Osmani · 2026-04-10 | token economics / token efficiency | The constraint imposed by LLM context windows on how much documentation an agent can consume; makes document length a functional property, not just a style concern. |
| Someone just built the exact tool Andrej Karpathy said someone should build Muhammad Ayan · 2026-04-10 | token efficiency | The ratio of tokens needed to answer queries over raw files vs. over the knowledge graph (claimed 71.5x improvement) |
| Cloudflare Launches Code Mode MCP Server to Optimize Token Usage for AI Agents Leela Kumili · 2026-04-16 | token footprint | The number of tokens consumed by tool definitions in the model's context window, which competes with space available for reasoning and task content |
| Cloudflare Launches Code Mode MCP Server to Optimize Token Usage for AI Agents Leela Kumili · 2026-04-16 | specialized encoding strategy | A method for compressing expansive API schemas into minimal context windows without losing functional precision — details not elaborated |
| I benchmarked CC's caveman plugin against 'be brief'. The token math is wild. TroyHay6677 · 2026-04-30 | Primal system prompt | A manually injected system prompt using broken English ('Me talk short. No explain. Tool first.') that achieves the same effect as the Caveman plugin |
| I benchmarked CC's caveman plugin against 'be brief'. The token math is wild. TroyHay6677 · 2026-04-30 | Chain-of-thought amputation | The removal of intermediate reasoning steps that the model normally produces via output tokens, which degrades complex problem-solving |
| Hugging Face's Clem Delangue: Stop Comparing Engines to Cars Turing Post (Ksenia Se interviewing Clem Delangue) · 2026-05-02 | token-efficient | Designing platforms and APIs so that agent users don't burn excessive tokens navigating them -- a new design constraint for agent-native platforms |
| The new GPT-5.6 family: Luna, Terra, Sol Simon Willison · 2026-07-10 | Token efficiency (“more useful work from every token”) | OpenAI's framing of GPT-5.6's advance as getting more done per token / lower cost-per-task, not a raw-capability jump |
| The Almedra Token-Efficiency Benchmark, Updated For GLM 5.2 Lucena.One · 2026-07-13 | token efficiency (in this benchmark) | Total billed OpenRouter cost and total token count (input + output, cached + fresh, across all model calls) needed to reach a verified, buildable result for one fixed feature request. |
Documents (18)
- Case Study: Refactoring at Scale with Agents codescene.com · 2026-09-24 source ↗ Reader 🖥️
Large-scale legacy refactoring, once economically prohibitive, becomes tractable when a coding agent is paired with a deterministic code-quality feedback loop (CodeScene's Code Health metric) and automated correctness verification — demonstrated by uplifting a 300,000-line C codebase from Code Health 5.6 to a perfect 10.0 in three weeks for roughly $4,000 in tokens, work the author estimates would have taken 12-18 months of expert developer time before AI. - Graphify: Unifying Codebase Context to Streamline Agentic Software Engineering Olimpiu Pop · 2026-09-23 Reader 🖥️
Graphify demonstrates that converting a codebase's structure and documentation into a queryable, multimodal knowledge graph is a technically credible way to give AI coding agents accurate cross-file context within a bounded token budget, but five months into rapid early development its real-world value in day-to-day workflows still trails its conceptual appeal — for many ordinary tasks on mid-sized repos, developers report that plain grep and file navigation remain competitive or faster. - Google Mantis: An Agentic Vulnerability Scanning Harness for Reducing False Positives Sergio De Simone · 2026-09-06 Reader 🖥️
Google built Mantis, an open-source multi-agent harness that combines critic/reviewer agents, hierarchical repository context, and sandboxed reproduction of vulnerabilities, because conventional AI-powered vulnerability scanning is unreliable — plagued by hallucinated bugs and true-positive rates under 7% — and false positives can only be brought under control through disciplined agentic engineering, not by trusting a single LLM's judgment. - Portal by Spotify cut my Claude Code token usage by 90% Dimitri Mazmanov · 2026-09-03 source ↗ Reader 🖥️
Because most of what a coding agent does is I/O rather than reasoning, routing that I/O-bound work (bulk file reads, pattern-following boilerplate generation) to a cheap worker model — and enforcing that routing deterministically via harness-level hooks rather than relying on advisory instructions the model can ignore — cuts Claude Code's token spend by around 90% on the delegated work while reserving the frontier model for editing, debugging, and anything safety-critical. - The Economic Benefit of Refactoring Giles Edwards-Alexander (published on martinfowler.com, byline Martin Fowler) · 2026-07-30 source ↗ Reader 🖥️
Refactoring an agentic codebase according to a strict, correctness-preserving discipline can pay a measurable economic dividend — in this experiment, an 83% reduction in the input-token cost of an identical representative future change — because it lets an AI agent read a smaller, more targeted slice of the code to make the same change, even though the total code volume barely shrinks. - What Is a Token? A Developer's Guide to Every Type Janet Wagner · 2026-07-30 source ↗ Reader 🖥️
The word 'token' names unrelated technical artifacts across four domains -- identity/authorization state, numerical text representation for LLMs, blockchain asset ownership, and single-purpose application security -- so developers must learn each domain's specific token vocabulary and the engineering tradeoff each token type encodes (statelessness vs. revocability, cost vs. capability, security scope) rather than treating 'token' as one concept. - The Almedra Token-Efficiency Benchmark, Updated For GLM 5.2 Lucena.One · 2026-07-13 Reader 🖥️
Running the same prompt and repo through six different coding-agent harnesses against the identical GLM 5.2 model, Lucena Coder again produced a working result using roughly a third to a fifteenth of the tokens and cost of its rivals, showing that harness design — not the underlying model — is the dominant lever on coding-agent token efficiency, and that upgrading the model (GLM 5.1 to 5.2) narrows but does not close that gap. - The new GPT-5.6 family: Luna, Terra, Sol Simon Willison · 2026-07-10 Reader 🖥️
OpenAI's new GPT-5.6 family (Luna/Terra/Sol) leads on long-running agentic benchmarks and is pitched on token efficiency, but its benchmark story is mixed and partly self-serving and in hands-on coding it is merely competitive with Claude Fable 5 — so the more consequential news is the new API primitives (programmatic tool calling, native multi-agent, explicit prompt caching) that adopt patterns Anthropic pioneered. - Fragments: July 6 Martin Fowler · 2026-07-06 source ↗ Reader 🖥️
Agentic software development has crossed from aspiration into established practice — the debate is no longer whether it changes software engineering but how — and the central live question is whether classic design and architecture fundamentals still matter, with Fowler's emerging answer being that they do, both because agents use the same constructs humans do and because good design hedges against escalating token costs and the risk of losing affordable access to AI. - GLM-5.2 is the new leading open weights model on the Artificial Analysis Intelligence Index Artificial Analysis · 2026-06-17 source ↗ Reader 🖥️
Z.ai's GLM-5.2 is now the leading open-weights model on Artificial Analysis's Intelligence Index v4.1 and the Pareto frontier of intelligence versus cost per task, matching proprietary frontier models on real-world agentic work (GDPval-AA v2) despite being markedly less token-efficient than its open-weight peers. - With Android CLI, Google is Making the Android Toolchain Agent-Friendly Sergio De Simone · 2026-05-21 source ↗ Reader 🖥️
Google is reshaping the Android toolchain around the AI coding agent as the primary user — exposing a scriptable CLI, modular SKILL.md instruction packs, and a live-updated knowledge base — and is positioning this agent-first surface, not the IDE, as the entry point for new Android work. - Hugging Face's Clem Delangue: Stop Comparing Engines to Cars Turing Post (Ksenia Se interviewing Clem Delangue) · 2026-05-02 source ↗ Reader 🖥️
Open-source AI is not behind closed AI -- they serve different purposes with different trade-offs -- and the path forward requires massively expanding who can build AI by lowering barriers through open models, local deployment, agent-native platforms, and physical robotics. - I benchmarked CC's caveman plugin against 'be brief'. The token math is wild. TroyHay6677 · 2026-04-30 source ↗ Reader 🖥️
Extreme token compression (via the Caveman plugin or equivalent system prompts) delivers 70-75% output token savings on routine coding tasks but degrades reasoning on complex problems, so practitioners need a hybrid approach that toggles compression based on task difficulty. - Cloudflare Launches Code Mode MCP Server to Optimize Token Usage for AI Agents Leela Kumili · 2026-04-16 Reader 🖥️
Cloudflare's Code Mode MCP server solves the context-window cost problem of exposing large APIs to AI agents by replacing per-endpoint tool definitions with two meta-tools (search and execute) that let the LLM generate and run code against a type-aware SDK, reducing token usage by 99.9%. - Agentic Engine Optimization (AEO) Addy Osmani · 2026-04-10 source ↗ Reader 🖥️
Developer documentation must be restructured for AI coding agents as a new primary consumer — optimizing for discoverability, parsability, and token efficiency via a layered stack of standards (robots.txt, llms.txt, skill.md, Markdown formatting, token surfacing) — because agents read fundamentally differently from humans and current analytics cannot detect their failures. - I stopped hitting Claude's usage limits - 10 things I changed kaize · 2026-04-10 Reader 🖥️
You can avoid hitting Claude's usage limits by understanding that Claude counts tokens (not messages) and adopting ten habits that minimize unnecessary token consumption: editing instead of following up, starting fresh chats, batching questions, caching files in Projects, saving preferences to Memory, disabling unused features, choosing cheaper models for simple tasks, spreading work across the day, avoiding peak hours, and enabling overage billing. - Someone just built the exact tool Andrej Karpathy said someone should build Muhammad Ayan · 2026-04-10 Reader 🖥️
An open-source tool called Graphify was built within 48 hours of Karpathy's post on LLM Knowledge Bases, turning any folder into a navigable knowledge graph, Obsidian vault, and wiki with dramatically reduced token usage. - How Do AI Agents Spend Your Money? Analyzing and Predicting Token Consumption in Agentic Coding Tasks Longju Bai; Zhemin Huang; Xingyao Wang; Jiao Sun; Rada Mihalcea; Erik Brynjolfsson; Alex Pentland; Jiaxin Pei · 2026 source ↗ Reader 🖥️
Because agentic coding tasks burn tokens overwhelmingly through accumulating, cache-read input context rather than output generation -- and because that spend is highly variable, only weakly tied to human-perceived difficulty or to accuracy, and only weakly predictable by the executing agent itself before the task runs -- transparent upfront pricing for AI coding agents is not currently achievable, so consumption-based billing (with, at best, coarse-grained self-predicted budget alerts) is the only viable near-term model.
Propositions touching this concept (13)
By publication month, oldest first (extraction month when no publication date is known).
2026
- explicitModels differ substantially and consistently in token efficiency (Kimi-K2 and Claude Sonnet-4.5 consume, on average, over 1.5M more tokens than GPT-5 on the same tasks), and this ranking holds even on the subset of tasks every model solves and the subset every model fails -- so the difference is an inherent model trait, not a byproduct of task difficulty or of harder models attempting harder problems.
2026-04
- explicitThe Caveman plugin and a manually crafted primal system prompt achieve practically identical token savings (~70-75% reduction in output tokens).
- implicitThe Caveman plugin is essentially just a convenient packaging of the primal system prompt trick — it adds no unique technical capability.
- implicitcorroboratedModels with extended thinking / separate reasoning tokens would not suffer the same chain-of-thought amputation from compressed output.
- explicitCode Mode reduces the token footprint of interacting with 2,500+ API endpoints from over 1.17 million tokens to roughly 1,000 tokens.
- explicitThe fixed token footprint holds regardless of API surface size.
2026-06
- explicitGLM-5.2 is markedly less token-efficient than its open-weight peers, using 43k output tokens per Intelligence Index task (37k of which is reasoning), versus GLM-5.1 (26k), MiniMax-M3 (24k), and Kimi K2.6 (35k).
2026-07
- explicitWell-designed domain-specific languages (DSLs) are unusually effective for constraining safe, reliable LLM/agent behavior: they can be made token-efficient, enforce hard security boundaries at the (custom) compiler level, and LLMs learn and use them readily from a small amount of documentation.
- explicitOpenAI frames GPT-5.6's core advance as token efficiency — getting “more useful work from every token,” i.e. a lower cost-per-task rather than a raw-capability leap.
2026-08
- explicitOn ExploitBench (a harder V8 exploit-development task), the general-purpose GPT-5.6 Sol (Daybreak Blue) is more token-efficient and performs best under the standard 300-turn budget; the specialized GPT-5.6-Cyber only narrows the gap when the turn budget is doubled to 600.
2026-09
- explicitdevelopedA knowledge graph carries real build-and-maintenance overhead, and adopting one is only justified when a demonstrated benefit (organization-specific context, or turn/token efficiency at scale) outweighs that cost — it is not a default architectural choice.
- explicitdevelopedThe future direction of AI pricing is genuinely uncertain — it could rise as subsidies end, or fall due to open-weight models, local inference, cheaper inference chips, routing, and more token-efficient models — so ROI models should state cost assumptions explicitly and test both optimistic and pessimistic scenarios.
- explicitA tool that routes tasks across multiple underlying models, using smaller/faster ones when a task doesn't need more, is more token-efficient and therefore cheaper to operate at scale than a single-model tool.
Tensions
Does low-level code quality matter intrinsically, or only instrumentally (via token economics)?
from: What did the participants of the Thoughtworks 'Future of Software Engineering' Europe retreat (mid-2026) conclude about how agentic AI is reshaping software engineering?
- Software Design in the Agentic Age: Place Your Bets (Mathias Verraes): Code-level quality is automatable and he is 'unsure it matters much in its own right apart from token cost'; you bet on it via an asymmetric payoff, not intrinsic worth.
- Why did Martin Fowler invite 60 engineers to a ski resort? (Ivett Ördög): Code quality matters intrinsically because code good for AI and code good for humans are the same thing.
- Fragments: July 6 (Martin Fowler (Jul 6)): Contested and leaning toward design mattering, but on new grounds — token cost as a proxy for architectural quality.
Assessment: The disagreement is about the grounds of the fundamentals-revival, not just its truth. If quality matters only via token cost (Verraes, and Fowler's proxy), the case for it is contingent on token economics and evaporates if tokens get cheap; if it is intrinsic (Ördög), it survives cheaper tokens. This makes the popular slogan 'quality still matters' quietly unstable — the same conclusion rests on incompatible foundations.
Is the model a swappable, commoditized component (so selection is a cost decision), or is model choice load-bearing (so selection is a capability decision)?
from: When working with AI coding agents, how should you select the model, its reasoning/effort level, and its context size for a given task?
- GitHub - musistudio/claude-code-router: Use Claude Code as the foundation for coding infrastructure, allowing you to decide how to interact with the model while enjoying updates from Anthropic. (musistudio): Swap camp: the model is fungible config behind Claude Code's durable harness; route each sub-task to the cheapest capable model across many providers and keep the harness.
- Hugging Face's Clem Delangue: Stop Comparing Engines to Cars (Turing Post (Ksenia Se interviewing Clem Delangue)): Swap camp: open weights are not 'behind' — they only look weaker because harnesses were optimized for proprietary APIs; the gap is a harness artifact.
- The Pulse: a new trend, smart model routing (The Pragmatic Engineer (Gergely Orosz)): Swap camp: 'which model to use' is shifting from a deliberate engineering decision to a commoditized, automatable one; open models cover ~60% of coding work by token spend.
- Coding Models Are Doing Too Much (nrehiew.github.io): Load-bearing camp: model choice materially changes output quality — the spread is enormous on the exact behavior that matters for brown-field editing.
- [MODEL] Claude Code is unusable for complex engineering tasks with the Feb updates #42796 (stellaraccident (via https://github.com/anthropics/)): Load-bearing camp: the specific model and its reasoning allocation are structurally required; degrading the SAME model catastrophically broke a proven workflow.
- Claude Code: Best practices for agentic coding (Anthropic (Claude Code best practices guide)): In the middle / silent: treats 'Claude' as one undifferentiated model and never addresses model selection at all.
Assessment: Both camps are right about different task strata, and the tie is broken by the routing camp's own artifact. Commoditization holds on the bulk/background tier (musistudio and the Pragmatic Engineer are correct that a cheap or open model suffices for a large share of tokens), but model choice is load-bearing exactly on the hard tier — the 'hardest 40%' the routing camp routes AWAY (the Pragmatic Engineer's own gap notes 60%-of-token-spend is not 60%-of-value). nrehiew's 6.5x over-editing spread and stellaraccident's collapse are measured on precisely that hard tier. The clincher the swap camp does not concede: musistudio's OWN per-model transformers (tooluse, enhancetool, reasoning, deepseek, gemini) prove the harness is NOT model-agnostic — every model needs bespoke request/response rewriting just to work behind Claude Code, so the 'any model' artifact self-refutes. Delangue even concedes the frontier gap himself. Verdict: select cheap-and-swappable for bulk, and treat the model as a load-bearing capability decision for the hardest slice — the two positions are not competitors but a partition of the task distribution.
Strategically, is the right move to accelerate adoption to build a permanent lead, or to decelerate and hedge against AI's risks?
from: What is the future of software development in the agentic/AI age?
- We've Stopped Arguing About Whether AI Changes Software (Greg Herlein): Accelerate: adoption compounds into a flywheel, and the gap can harden into a permanent structural moat the slowest never close.
- Software Design in the Agentic Age: Place Your Bets (Mathias Verraes): Decelerate and hedge: build systems that can revert from agent generation back to human engineering.
- Fragments: July 6 (Martin Fowler (Jul 6)): Treat good design as a hedge against AI-dependence risk rather than as a race to maximal dependence.
Assessment: Nearly opposite bets: Herlein optimizes for a world where AI keeps getting cheaper and better and first-movers win permanently; Verraes and Fowler optimize for a world where AI gets costlier, curtailed, or unreliable. Herlein's 'permanent moat' rests on flywheel logic plus a single secondhand anecdote and ignores technology-diffusion catch-up dynamics; Verraes and Fowler's hedge is cheap insurance but under-examines whether reversion is actually achievable once specs, agents, and toolchains are deeply embedded and human familiarity has eroded. The disagreement is ultimately a bet on the trajectory of token economics, which nobody in the corpus can price.
Open gaps (41)
- evidentialNo quantitative data on what percentage of documentation traffic comes from AI agents, or how that share is trending. The claim of 'significant and growing' is unsupported numerically.Agentic Engine Optimization (AEO) — read next: Look for server log analyses or industry surveys quantifying AI agent traffic share on developer documentation sites.
- evidentialNo before/after case study showing that implementing the AEO stack actually improved agent task success rates. The argument is structurally sound but empirically unvalidated.Agentic Engine Optimization (AEO) — read next: Seek controlled studies or A/B tests measuring agent task completion on AEO-optimized vs. non-optimized documentation.
- conceptualThe relationship between AEO and API design itself is unexplored. If an API is poorly designed, no amount of documentation optimization will help agents use it well. AEO treats documentation as the optimization surface but the API is the upstream variable.Agentic Engine Optimization (AEO) — read next: Explore 'agentic API design' — how API surface design (not just documentation) should change for agent consumers.
- adversarialNo discussion of the tension between making content agent-accessible and protecting intellectual property, competitive intelligence, or premium content. Opening documentation fully to agents may conflict with business models.Agentic Engine Optimization (AEO) — read next: Explore access control, rate limiting, and content licensing frameworks for AI agent consumers.
- incompleteThe evidence is anecdotal and constrained by the Chatham House Rule; the one quantified claim — that a modular refactor improved token usage and solution quality — is a single hallway-track data point with no magnitude, methodology, or generality.AI Is Changing Software Engineering. The Fundamentals Still Matter. — read next: Look for controlled studies on codebase modularity and file granularity versus LLM token cost and solution quality.
- incompleteUndocumented statistical procedure: 'ran each benchmark three times, threw out the worst result, and averaged the remaining two' is a non-standard method with no stated definition of 'worst' (cost? tokens? time? a composite?), no variance or confidence interval reported, and an effective N of 2 per data point once the discard is applied. Readers cannot tell whether the ~5.4x cost spread between agents is a stable effect or noise from a 2-sample average.The Almedra Token-Efficiency Benchmark, Updated For GLM 5.2 — read next: Compare to standard eval-reporting practice (report all runs, report variance/stddev, pre-register the discard rule) and to extract-cc-caveman-benchmark#g2, which flags the identical 'broad-strokes methodology, no raw numbers, no statistical measures' gap in a separate token-efficiency benchmark — this looks like a recurring genre problem in vendor-published agent benchmarks.
- incompleteThe 3x-faster / 70%-token-reduction headline is reported without benchmark methodology, task definition, sample size, or comparison protocol. The article notes a community member raised this objection but does not press it. The claim is functionally unfalsifiable as published — any failure to reproduce can be attributed to 'different tasks'.With Android CLI, Google is Making the Android Toolchain Agent-Friendly — read next: Look for independent benchmarks from agent-first dev tooling efforts (Cursor, Continue, Aider), and methodology-focused critiques of vendor productivity claims (DORA 2025 AI findings; the Marcus / Yegge debate).
- uninformedThe article does not engage with what 'agent' means as a category. It conflates very different paradigms — Claude Code (long-running, file-system-resident), Codex (completion-shaped), Gemini (chat-shaped) — under one label, even though each has a different appetite for CLI surfaces, skill files, and knowledge bases. The 'compatible with any agent' framing papers over deep differences in how each agent actually consumes tooling.With Android CLI, Google is Making the Android Toolchain Agent-Friendly — read next: Anthropic's Claude Code architecture posts; the agent-loop literature (ReAct, function-calling, MCP). Worth a syntopical read with the Claude Code and Osmani agent-patterns pieces already in the library.
- incompleteNo discussion of what gets worse when the toolchain optimizes for agents. Discoverability for human developers, error messages tuned for LLM parsing vs human reading, the regression risk in autogenerated SKILL.md files, the lock-in dynamics of a vendor-curated knowledge base — none surfaced.With Android CLI, Google is Making the Android Toolchain Agent-Friendly — read next: Look for second-order critiques of agent-first tooling: who pays when machine-readable wins over human-readable?
- illogicalThe 'eliminate guesswork' framing presumes the right response to LLM unreliability is a more structured tooling surface, but does not address whether the LLM still hallucinates within that surface. A scriptable CLI lets the agent issue precise commands; it does not make the agent's reasoning about which commands to issue any better.With Android CLI, Google is Making the Android Toolchain Agent-Friendly — read next: Material on hallucination at the orchestration layer vs the action layer; Anthropic's writing on tool use reliability.
- uninformedThe author does not distinguish between visible output tokens and extended thinking tokens. Models like Opus 4.7 with extended thinking have a separate, hidden reasoning budget that is NOT affected by output compression. The 'chain-of-thought amputation' thesis may be largely irrelevant for models with extended thinking enabled, since the reasoning happens in the thinking block, not the visible output.I benchmarked CC's caveman plugin against 'be brief'. The token math is wild. — read next: Anthropic documentation on extended thinking; investigate whether Caveman mode affects thinking token budget or only visible output tokens.
- incompleteThe benchmark methodology is described only in broad strokes. No raw numbers, no statistical measures, no task descriptions beyond category labels. We cannot evaluate reproducibility or effect sizes beyond the author's summary claim of '70-75%'.I benchmarked CC's caveman plugin against 'be brief'. The token math is wild. — read next: Look for the actual benchmark data or reproduction attempts by others.
- incompleteThe 'be brief' baseline is mentioned as ineffective but no quantitative comparison is shown. The three-way benchmark claims to test vanilla, Caveman, and primal prompt — but 'be brief' is discussed separately without data.I benchmarked CC's caveman plugin against 'be brief'. The token math is wild. — read next: A proper controlled comparison of graduated brevity instructions vs persona disruption prompts.
- misinformedThe claim that 'output tokens are literally the mechanism for reasoning' conflates text generation with all model computation. The model performs substantial reasoning in forward passes and (with extended thinking) in hidden thinking tokens. Visible output verbosity is a proxy for reasoning, not the mechanism itself.I benchmarked CC's caveman plugin against 'be brief'. The token math is wild. — read next: Research on chain-of-thought prompting vs internal model representations; literature on extended thinking / scratchpad approaches.
- incompleteThe post promotes Code Burn and Evo discover without disclosing any affiliation. Commenters flag this as potential astroturfing. The product mentions weaken the post's credibility as disinterested benchmarking.I benchmarked CC's caveman plugin against 'be brief'. The token math is wild. — read next: Check author's post history for patterns of product promotion.
- unsupported claimThe 50-70% budget savings from using Haiku is stated without evidence or calculation.I stopped hitting Claude's usage limits - 10 things I changed — read next: Look for Anthropic's published pricing ratios between Haiku, Sonnet, and Opus to verify.
- oversimplificationThe quadratic formula S*N(N+1)/2 assumes equal-length exchanges and ignores that Claude's responses vary greatly in length. It also conflates input tokens (which are re-read) with output tokens (which are not re-read).I stopped hitting Claude's usage limits - 10 things I changed — read next: Anthropic's documentation on how input vs output tokens are counted for rate limits.
- missing nuanceThe claim that Projects caching means files 'don't eat into your usage' is stated without caveats. Anthropic's actual caching behavior and whether cached tokens truly have zero rate-limit impact is not substantiated.I stopped hitting Claude's usage limits - 10 things I changed — read next: Anthropic's documentation on prompt caching and how cached tokens count toward limits.
- temporal sensitivitySeveral tips reference specific Anthropic platform features and policies (peak hours starting March 26, 2026; overage billing; model tiers) that may change. The advice is tightly coupled to the current product state.I stopped hitting Claude's usage limits - 10 things I changed — read next: Anthropic's changelog and pricing pages for current policies.
- missing considerationNo discussion of Claude Code, API usage, or non-web-UI contexts. All advice is implicitly scoped to the Claude web/desktop interface.I stopped hitting Claude's usage limits - 10 things I changed — read next: Separate guides for API and Claude Code token optimization.
- incompleteHugging Face's long-term business model remains vague. Delangue enthusiastically promotes local AI and free usage but the freemium economics of a platform whose mission is to make AI free are not explained in any depth.Hugging Face's Clem Delangue: Stop Comparing Engines to Cars — read next: Hugging Face financial reporting or investor communications; comparisons to other open-source platform business models (Red Hat, GitLab)
- uninformedThe conversation does not address the environmental/energy cost of massively expanding the AI builder population. If 100 million people are training, fine-tuning, and running models, the aggregate compute and energy footprint is non-trivial.Hugging Face's Clem Delangue: Stop Comparing Engines to Cars — read next: Research on AI compute energy footprint; local inference energy costs vs. centralized API serving efficiency
- incompleteNo discussion of reliability or error rates. If the LLM generates incorrect code, the failure mode is potentially worse than a wrong tool call — it could silently produce incorrect API mutations. The article treats LLM code generation as equivalent in reliability to structured tool calls, which is a significant unexamined assumption.
- incompleteThe 'specialized encoding strategy' is mentioned (via Reddit quote) but never explained. This is the core technical innovation and it is left as a black box.
- incompleteSecurity analysis is superficial. The sandboxing description covers isolation but not adversarial prompt injection — a scenario where untrusted user input causes the LLM to generate code that abuses the agent's authorized API access within the sandbox's permitted capabilities.
- uninformedNo latency or round-trip analysis. Code Mode adds a code-generation step and a search step before execution. The article only discusses token savings, not wall-clock time or end-to-end agent performance.
- incompleteWhether the cost-distribution and saturation-curve findings hold outside SWE-bench-shaped work (real GitHub issues with test-based evaluation) — e.g. greenfield feature work, non-Python codebases, or open-ended exploratory design tasks — is not explored, despite the article's own caveat that the numbers come from 'one benchmark and one harness' and 'shapes' rather than exact values should transfer.Downstream #1: Where Do Our Tokens Go? — read next: Read alongside broader harness-benchmark literature across task types for cross-domain generalizability.
- incompleteNo economics are given for running a 15+-tool multi-agent pipeline (strategist, critic, reviewer, multiple research agents, plus sandboxed reproduction) across a large repository — no token cost, compute cost, or wall-clock time per scan is mentioned, despite the article's separate emphasis on the 85% token-usage reduction achieved by hierarchical summarization (implying cost was already a live concern elsewhere in the design).Google Mantis: An Agentic Vulnerability Scanning Harness for Reducing False Positives — read next: extract-agentic-code-review#g5 flags the identical unpriced-economics gap for a comparable multi-reviewer stack, and extract-netflix-agentic-workflow-causal-inference#g4 raises the same absence for an actor-critic agentic workflow — read together as a recurring blind spot in agentic-pipeline reporting.
- incompleteThe efficiency case relies on OpenAI's 'estimated cost' multiples ('roughly one-quarter', 'around one-sixteenth') with no independent measurement of cost-per-completed-task across a realistic workload — the very confound (variable reasoning tokens) Willison invokes to dismiss price-per-token also undermines taking these vendor cost-multiples at face value.The new GPT-5.6 family: Luna, Terra, Sol — read next: Read against unit-economics analysis of opposing cost vectors (extract-ai-inference-unit-economics on per-token costs falling while reasoning pushes per-query compute up) and against over-routing critiques (extract-hbr-energy-strategy-for-ai on routing tasks to models that exceed the work's requirements).
- incompleteThe entire study uses a single agent harness (OpenHands) and a single benchmark (SWE-bench-Verified). The headline claim that token efficiency is 'an inherent characteristic of the model' (stable across shared success/failure subsets) is only shown to be task-invariant within one harness -- it is not shown to be harness-invariant. Whether Kimi-K2's outlier inefficiency is a property of Kimi-K2 itself, or of the specific way OpenHands' prompting/tool-calling interacts with Kimi-K2, is left untested; this is the mirror image of a gap already flagged against a different corpus benchmark (the Almedra GLM benchmark, which varies harness while holding the model fixed and never tests the reverse).How Do AI Agents Spend Your Money? Analyzing and Predicting Token Consumption in Agentic Coding Tasks — read next: Look for (or run) a study that benchmarks the same set of models across multiple harnesses (Claude Code, Cursor/Aider, OpenHands, a bare ReAct loop) on the same SWE-bench subset, to separate model-intrinsic token efficiency from harness-model interaction effects.
- incompleteThe entire cost-decomposition analysis (Sec 5, Fig. 8-9) fixes the Anthropic cache-creation rate at the 5-minute write tier for all reported figures. Cache-write TTL is a pricing-policy choice, not an inherent property of the task -- a 1-hour cache tier (which Anthropic also offers) would materially shift the reported cost split between cache-creation and cache-read, and potentially which phase looks most expensive. The paper presents its cost breakdown as if it reflects an inherent property of agentic coding tasks, when part of it is actually an artifact of the specific cache-tier choice made for the study.How Do AI Agents Spend Your Money? Analyzing and Predicting Token Consumption in Agentic Coding Tasks — read next: Re-run the same phase/round cost decomposition (Sec 5.2-5.3) under the longer 1-hour cache-write tier to see how much of the 'cache reads dominate' finding is robust to the pricing-tier choice versus an artifact of the 5-minute TTL selected here.
- incompleteThe study is scoped entirely to coding tasks. Whether the central mechanistic finding -- that long-horizon, tool-using agents accumulate cost primarily through re-fed cache-read input context rather than output generation -- generalizes to non-coding long-horizon agents (research agents, browsing agents, ops/on-call agents) or is specific to code's characteristic re-read/re-edit access pattern on a small number of files is not discussed, despite the paper's own framing ('originally developed mainly for coding tasks... increasingly used in a wide range of tasks and domains beyond coding') explicitly raising and then dropping the question.How Do AI Agents Spend Your Money? Analyzing and Predicting Token Consumption in Agentic Coding Tasks — read next: Look for equivalent token-consumption breakdowns on non-coding agentic benchmarks (deep-research agents, browser-use agents, SRE/on-call agents) to test whether cache-read/input dominance is a coding-specific artifact or a general property of long-horizon tool use.
- missing evidenceThe 71.5x token efficiency claim has no methodology, benchmark conditions, or reproducibility informationSomeone just built the exact tool Andrej Karpathy said someone should build — read next: Check the Graphify GitHub repo (github.com/safishamsi/graphify) for benchmarks
- missing contextKarpathy's original post is referenced but never linked or summarized — the reader cannot verify whether Graphify actually matches what Karpathy describedSomeone just built the exact tool Andrej Karpathy said someone should build — read next: Find and read Karpathy's original LLM Knowledge Bases post
- uninformedNo systematic latency or throughput accounting beyond a rough 10-30 second range and a 30-second hard cap; no data on how often the line-count threshold forces marginal-size reads through the expensive path anyway, and no measurement of cumulative added wall-clock time across a full real session.Portal by Spotify cut my Claude Code token usage by 90% — read next: extract-cloudflare-code-mode-mcp-server#g4 flags the identical missing latency/wall-clock analysis for a different token-saving pattern (Code Mode) — this looks like a recurring blind spot across token-optimization write-ups worth reading together.
- incompleteThe experiment is a single case: one codebase, one change type (adding a trait with three methods), one model/harness (Claude Code / Sonnet 5), one developer, no repeated trials per step to establish variance. This can't yet distinguish 'refactoring reliably reduces agent token cost' from 'this particular refactoring sequence, on this particular file, happened to.'The Economic Benefit of Refactoring — read next: Look for replications across different codebases, languages, and change types. Compare against extract-almedra-token-efficiency-benchmark-glm-5-2, which faces a structurally identical single-task/single-repo generalizability gap from the opposite angle (harness choice rather than codebase refactoring) — the two pieces would benefit from being read together as parallel single-case token-efficiency studies in need of replication.
- incompleteThe token cost of performing the refactoring itself is not measured, only loosely upper-bounded (≤5 million tokens across a broader mixed-work window) — so the piece demonstrates a per-change benefit but not a full return-on-investment (net savings after amortizing the refactoring's own cost against future changes).The Economic Benefit of Refactoring — read next: Look for a follow-up (which the author promises) that precisely counts refactoring-time tokens against the per-change savings to compute a break-even point: how many future changes are needed to 'pay back' the token cost of refactoring.
- incompleteToken counts are estimated via characters ÷ 4 rather than a real tokenizer, because the author states Claude does not provide reliable live token counts. No sensitivity analysis is offered for how much this approximation could shift the headline 83% figure.The Economic Benefit of Refactoring — read next: Look for a follow-up using an actual tokenizer (e.g. re-running the same transcripts through Anthropic's token-counting API) to validate or correct the chars/4 approximation.
- incompleteNo breakdown of how much of the sixfold AI-cost increase reflects genuinely increased usage/value versus inefficient prompting, redundant agent calls, or the absence of cheaper-model routing before Uber resorted to hard usage caps.Uber's Zero Growth Stack: Scaling Services, While Optimising Infrastructure and AI Cost — read next: Corpus material on smart model routing and token efficiency (e.g. automatic routing to cheaper capable models, token-footprint-reduction techniques) to assess whether routing/efficiency measures were tried before blunt per-developer caps.
- incompleteThe article places authentication 'tokens' and LLM 'tokens' side by side under one umbrella term without ever flagging that they are entirely unrelated concepts sharing only a name -- a real source of confusion for developers moving into AI-augmented applications who may conflate 'token limit' (LLM context) with 'token expiry' (auth) or assume LLM tokens carry any security property at all.What Is a Token? A Developer's Guide to Every Type — read next: Any introductory LLM tokenization explainer paired with an OAuth/JWT primer, read side by side to make the non-relationship explicit.
- incompleteJWT alternatives designed to avoid well-known JWT signature/algorithm pitfalls (e.g., the 'alg: none' vulnerability, RS256/HS256 confusion) such as PASETO are not mentioned, even though the article recommends JWT as the default bearer-token implementation.What Is a Token? A Developer's Guide to Every Type — read next: PASETO specification and comparative JWT-vulnerability writeups.