R201 · Agent architecture › Context economics and caching

Why caching model outputs doesn't pay off

Read the original

Authors Sean Goedecke

inference-costcachingtokensharness

Source: Sean Goedecke, "Why output caching doesn't work", shared in his LinkedIn post, 2026-11-20.

The argument

Input (prefix/KV) caching is what makes multi-turn agent economics work. Agents also repeat themselves in their output: quoting code back in PR explanations, re-quoting evidence documents, echoing sample outputs for a human to check. Output tokens cost more than input tokens, because input is ingested in parallel while output is decoded one token at a time. So it seems tempting to "cache" outputs, for example by training the model to emit a reference like src/script.py:12-15 or a pointer into its own history, and letting the harness expand it.

Goedecke's conclusion is that this is mostly not worth doing, for an Amdahl's-law reason. In his own agent histories, only about 6% of output tokens are visible text. About 50% are reasoning tokens and about 44% are tool calls. Even an implausibly good scheme that removed two-thirds of visible output would save about 4% of output tokens.

He adds two supporting points, both stated with moderate confidence: frontier models probably don't loop much in their reasoning, and inference providers likely already exploit repetition through n-gram-based speculative decoding, which speeds up repeated spans without changing token counts.

Where the output-token savings actually are

The 94% that users don't see. That mostly depends on model capability: a stronger model reaches the answer with fewer reasoning tokens and fewer tool calls. This is why a model that is several times more expensive per token can be cheaper per task. Harness quality helps too, though he thinks harness advantages are easy to copy.

Engineering takeaways

Caveats and failure modes

Review checklist

Cited in field guides

Connections

See R201 on the knowledge map

Part of the Research notes on nowucca.com. Figures and claims are the source's own unless the summary says otherwise.