How KV Cache Pricing on Fable 5.2 Makes Claude Code Sessions 40× Cheaper
Anthropic Engineer Thariq Shihipar Confirms Cache Hit Rates Directly Shape Subscription Plan Limits

Why Most Tokens in an Agent Session Are Not What You Think They Are
A calculation posted by Vlad Mihalcea on November 20, 2026, spread quickly through developer circles: at current pricing, a Claude Pro subscriber paying $200 per year could theoretically consume token volume equivalent to roughly $100,000 of API access. The number sounds implausible. The mechanics behind it are not.
The key is understanding that most tokens consumed during an extended Claude Code session are not standard input tokens at all. They are cache reads — and cache reads on Fable 5.2 cost $0.20 per million, compared to $8.00 per million for standard input. When an agent loops through dozens of tool calls while holding the same 100,000-token context window open, it is not reprocessing that context from scratch each time. It is reading cached attention states, and those reads are priced at a fraction of the standard rate.
That 40-to-1 ratio is not incidental. It is the central mechanism that makes extended agentic sessions economically viable inside a subscription model, and it is why the $100,000 figure — while conditional — is not simply marketing.
Diogo Almeida built a simulator using NVIDIA's Open-SWE-Traces benchmark dataset to test realistic Claude Code workloads. His results showed that cache reads typically account for more than 90 percent of token consumption in a long coding session, with actual new input tokens representing only a small share of the total. Martin Alderson modeled a session with 100 consecutive tool calls holding a 100,000-token context window and found that the difference between billing at standard input rates versus cache-read rates across those calls was substantial enough to explain a large fraction of the subscription-versus-API gap.
How KV Cache Works at the Architecture Level
Every transformer-based language model generates, during inference, a set of key and value matrices for each layer — the components that allow the model to relate each token to every other token in its context window. Computing those matrices is expensive. Recomputing them identically for every new request is wasteful if the leading portion of the context has not changed.
Anthropic's prompt caching system solves this by storing those key-value matrices in memory after the first computation. On a subsequent request that begins with the same prefix, the model reads the cached representations rather than recomputing them. The cache hit is exact: the leading tokens of the new request must match the previous prefix precisely. As Anthropic's prompt caching documentation explains, a single changed token early in the prefix invalidates everything downstream, requiring a full prefill from that position forward.
This is why the structure of an agent session matters. A Claude Code session typically holds a stable system prompt and a growing but append-only tool-call history. The stable early portion hits the cache on every iteration; only the new tool call and its response are processed as fresh input. For a session with 100 tool calls each adding a few hundred tokens, the early context is read from cache 100 times and computed fresh only once.
Read more: Anthropic cuts Fable 5.1 cache read costs 75%
The Fable 5.2 Pricing Trajectory That Makes the Numbers Dramatic
Understanding the $100,000 equivalence requires understanding how Fable 5.2 is priced relative to its predecessors. Fable 5 launched on June 9, 2026 with cache reads priced at $1.00 per million tokens — already one-tenth the standard input rate of $10 per million at the time. When Anthropic released Fable 5.1 on September 1, 2026, it cut the cache-read price by 75 percent to $0.25 per million. Fable 5.2, released November 9, 2026, cut it again by 20 percent to $0.20 per million.
Standard input and output rates also fell: Fable 5 and 5.1 billed at $10/$50 per million input/output tokens; Fable 5.2 brought that down to $8/$40. But the cache-read reduction was steeper in both relative and absolute terms: from $1.00 to $0.20 is an 80 percent reduction in about five months. That trajectory signals something about Anthropic's engineering cost structure for agentic workflows. If the cost to serve a cache-read token has fallen this sharply this quickly, it suggests that cached inference is being optimized aggressively — likely because it dominates the actual compute profile of Claude Code users.
Thariq Shihipar, a Claude Code engineer at Anthropic, wrote in February 2026 that the relationship between cache efficiency and subscription pricing is intentional: "A high prompt cache hit rate decreases costs and helps us create more generous rate limits for our subscription plans, so we run alerts on our prompt cache hit rate and declare SEVs if they're too low." The statement means cache misses are treated as production incidents inside Anthropic — engineering failures that make the subscription model more expensive to operate and require tightening limits on users.
For six million cache-read tokens — plausible in a heavy day of Claude Code use — the billing at Fable 5.2 rates is $1.20. At standard input rates, the same six million tokens would cost $48.00. That is the 40-to-1 ratio made concrete.
Speculative Decoding Cuts the Cost of Generating New Output
Cache reads explain the input side of the token economy. Speculative decoding addresses the output side. In a typical agentic coding session, the model generates relatively short responses — a function body, a test case, a brief explanation — while reading much larger amounts of context. The input-to-output ratio in Claude Code sessions is high and getting higher.
Speculative decoding pairs a small draft model with the full Fable 5.2 verifier. The draft model proposes a sequence of candidate tokens; the large model verifies the entire sequence in a single forward pass. For predictable, repetitive output — variable names, boilerplate syntax, common API patterns — the draft model is accurate most of the time, and the verifier can confirm multiple tokens at once rather than generating them one at a time. The result is faster generation without sacrificing the verifier model's quality, as described in the academic literature on the technique.
Code is a particularly good match for speculative decoding. Function signatures, import statements, and common algorithmic patterns are highly predictable in context, making draft-model accuracy substantially higher than it would be for open-ended natural-language generation.
Michael Segner published data at Anthropic's blog on September 24, 2026 covering Claude Code usage trends from March through September of that year. He found sessions had grown 3.3 times longer per prompt, with more than 40 percent more model calls per prompt and 2.6 times more context growth per request. The input-to-output ratio widened from 189:1 to 324:1 across the period: for every token of output, Claude Code sessions consumed 324 tokens of input by September, with the overwhelming majority of those inputs being cache reads rather than fresh tokens. Segner also noted that cache misses — instances where the system had to process input as a standard token rather than a cache read — fell by more than 50 percent over the same period.
What the $100,000 Number Actually Measures — and What It Doesn't
SemiAnalysis measured Claude Max 20x, a $200-per-month subscription plan, consuming API-equivalent value of roughly $8,000 in a single month in June 2026 — implying a notional annual value around $96,000 at Fable 5 pricing. The Mihalcea calculation scales this to Claude Pro annual pricing and Fable 5.2 rates, arriving at the $100,000 figure.
Several constraints matter. First, the equivalence holds for the specific workload profile of an intensive Claude Code user. A developer who mostly asks single-shot questions against a small context window will not approach the cache-hit ratios that make the numbers dramatic. The token math depends on session structure: long, stable prefixes with iterative tool calls are what generate high cache-read proportions. Second, subscription plans carry usage limits that API access does not. The rate-limit structure is itself shaped by cache efficiency, as Shihipar's statement makes clear, but the limits exist and shape what a subscriber can actually consume in a given period. Third, the $100,000 figure uses list API pricing as the comparison. Organizations with volume discounts or committed-use pricing may face a narrower gap.
The number is best understood as a measure of subsidy for cache-heavy workloads, not as a universal claim that every Claude Pro subscriber receives $100,000 of equivalent service.
Cache Invalidation and the Hidden Cost of Model Switching
The Anthropic prompt caching documentation describes cache representations as model-bound, stored in memory and tied to the specific attention architecture of the model that generated them. Because KV cache representations are tied to a specific model's weights and attention architecture, a session that switches between Claude models forces a full prefill for all prior context — the stored states for one model's layers cannot be loaded into another's.
Subscription plan contexts also benefit from a one-hour cache TTL, compared to a five-minute default on the API. For a Claude Code session that runs for a morning, this means the system prompt and project context can remain in cache across the entire session rather than expiring between requests. Dynamic content injected into the prefix — session timestamps, rotating task identifiers, nonce values — can silently prevent the cache from activating even when the session context is otherwise stable. Agents that inject time-stamped state into the leading portion of their prompt may be paying standard input rates without realizing it.
Read more: Anthropic ties API credits to Claude subscriptions
The Subscription vs. API Decision
The $100,000 equivalence claim is a way of saying that Fable 5.2's pricing structure heavily subsidizes the specific compute profile of an agentic coding session. For a developer who runs Claude Code intensively — long sessions, stable context, iterative tool calls — the subscription model will almost certainly be cheaper than API pay-as-you-go, often by a wide margin.
The API makes more sense for workloads with unpredictable volume, variable session lengths, or low cache-hit ratios. A team processing one-off documents with large unique contexts, or running intermittent jobs with rotating system prompts, may find that the cache read advantage does not materialize consistently enough to justify a subscription. For a solo developer or a small team doing day-to-day coding work inside Claude Code, the cache arithmetic points strongly toward the subscription model.
What the numbers collectively illustrate is not just a pricing arbitrage but a deliberate infrastructure choice. Anthropic's decision to price cache reads at $0.20 per million — and to invest in reliability monitoring that treats cache misses as production incidents — reflects a bet that the dominant Claude use case is not one-shot completion but extended, context-rich agentic sessions. The token math is the evidence for that bet.



