
The Cache Moat
2026-07-01

Published July 1, 2026. Cache pricing and provider behavior changes — all rates reflect June 2026 data. The analytical framework remains valid long after specific dollar amounts drift. This piece is a companion to The Five Truths Hidden in Your Token Data; read that first for the full architecture of the argument.
There's a number I can't stop thinking about. It's not a benchmark score. It's not a sticker price. It's not a model name or a parameter count or a context window.
It's twenty-one and a half billion.
That's how many cache-hit tokens my orchestrator pushed through DeepSeek's API in June 2026. 21,484,529,024 of them, to be precise. Every one of those tokens was charged at $0.0036 per million — a rate so low that the pricing page almost feels like a typo. The total bill for the month: $504.10. For an agent harness that ran 264,090 requests, loaded skills, reasoned about architecture, delegated to coding subagents, evaluated output, and managed quality control. Five hundred and four dollars.
Here's what the same workload would cost on Claude Opus 4.6: $71,227.
Same tasks. Same prompts. Same orchestrator. Same month. One model costs $504. The other costs $71,227. And Opus 4.6 is — by any honest measure — the better model. It scores 80.9% on SWE-bench to DeepSeek V4 Pro's 80.6%. It has better reasoning. It produces more reliable code. If you gave me a single difficult architecture decision and told me I could only ask one model, I'd probably choose Opus.
But I didn't ask one question. I asked 264,090. And that changes everything.
The gap between $504 and $71,227 is not about model quality. It's not about pricing strategy. It's not about who negotiated better infrastructure deals or who has cheaper GPUs. It's about something far more structural — something that no competitor can fix with a price cut or a model update or a press release.
It's about the cache.
The Number That Swallows Everything Else
In my main post on token economics, I walked through five layers of truth — from raw cost through benchmark normalization through cache adjustment through thinking-token efficiency through denormalization by task. Each layer revealed something the previous layer obscured. But there's one layer I didn't pull apart fully, because it deserves its own treatment.
Cache architecture isn't just another variable in the cost equation. It's the variable that makes every other variable almost irrelevant.
Here's the formula that governs everything:
Effective Input $/M = (hit_rate × cached_price) + ((1 − hit_rate) × sticker_price)
Three variables. Pricing pages show you exactly one of them — the sticker price. The other two — the cache-read price and the real-world hit rate — are what actually determine whether a model is economically viable at orchestrator scale. And here's the thing: those two variables aren't set by the market. They're set by infrastructure decisions made months or years before the model ever shipped.
DeepSeek V4 Pro: hit rate 96.2%, cached price $0.0036/M, sticker price $0.435/M. Effective input price: $0.036/M.
Claude Opus 4.6: hit rate ~45%, cached price $0.50/M, sticker price $5.00/M. Effective input price: $3.052/M.
That's not a 12× gap. That's not a 50× gap. That's an 85× gap — on the same workload, with the same token volume, the same prompts, and the same tasks. The sticker price difference is 11.5× ($0.435 versus $5.00). The cache compounds it to 85×.
This isn't a difference of degree. It's a difference of kind. When one model costs 85× what another costs to do the same work, you're not comparing products in the same category. You're comparing a bicycle to a helicopter and asking which one gets you to the grocery store more efficiently.
How the Cache Moat Works
To understand why this gap exists — and why it's structural, not strategic — you have to understand how different providers approach prompt caching. Because they all have it. Every major provider offers some form of caching. But the implementations diverge so dramatically that they might as well be different products entirely.
DeepSeek: Automatic Prefix Caching
DeepSeek's cache is invisible. There are no API flags to set. No cache breakpoints to mark. No engineering work to do. You send a request. If the prefix of your prompt matches a previously seen prefix — which it almost always does, for an orchestrator with stable system prompts and skill libraries — the matching tokens are served from cache. You're charged the cache-read rate automatically. You don't opt in. You don't configure anything. It just works.
The result: 96.2% of input tokens are cache hits. That's not a target. That's not a best-case scenario. That's what actually happened across 264,090 requests in June 2026. The cache hit rate is so high because the caching is so transparent that nothing breaks it. Context windows persist. System prompts stay stable. Skill libraries load once and stay cached. The orchestrator's entire operational pattern — stable prefix, variable suffix — maps perfectly onto the caching architecture.
Anthropic: Explicit Prompt Caching
Anthropic's cache requires you to mark cache breakpoints in your API calls. You tell the system: "everything up to this point can be cached." It's opt-in, it requires engineering work, and it has specific constraints about minimum token lengths and cache lifetimes. If you don't set breakpoints — and most workloads don't, because most developers don't know they should or don't have the tooling to do it dynamically — you get zero caching.
Even when you do set breakpoints correctly, the cache hit rate for orchestrator workloads tops out around 45%. Some requests hit cache. Many don't. Context shifts, tool outputs, conversation branching — all the things that make an orchestrator useful also make Anthropic's cache miss. And a cache miss on Opus 4.6 means you're paying $5.00/M — the full sticker price — for tokens that would cost $0.0036/M on DeepSeek.
The cached-read price itself is $0.50/M. That's 139× DeepSeek's cached price. Even at 100% hit rate — which is impossible on Anthropic's architecture — Opus 4.6 would have an effective input price of $0.50/M, which is still 14× DeepSeek's $0.036/M. The moat has two layers: the hit rate gap and the cached-price gap. Either one alone would be significant. Together, they're insurmountable.
OpenAI: Auto-Caching With Short Windows
OpenAI's caching is automatic, like DeepSeek's. You don't need to set breakpoints. But the persistence window is shorter — cached prefixes expire faster, which means orchestrator workloads with tool calls, multi-turn reasoning, and skill loading hit the cache less consistently. Real-world hit rates run 40-45%. Cached-read prices range from $0.25/M to $0.50/M depending on the model.
GPT-5.5 — OpenAI's best model — scores 81.0% on SWE-bench, a hair above DeepSeek V4 Pro, and it's the most token-efficient frontier model on the market. At $5.00/$30.00 sticker and ~45% hit rate, its effective input price is $3.052/M — identical to Opus 4.6. The monthly bill: $71,839. For a model that is, by every quality metric, at the frontier. The cache destroys the economics.
MiniMax: Good Cache, Shorter Persistence
MiniMax M3 has the best cache among non-DeepSeek providers. Hit rates around 70% at a cached price of $0.06/M. Effective input: $0.138/M. That's 3.8× DeepSeek's effective price — the closest any competitor gets. And M3 scores 80.2% on SWE-bench, matching V4 Pro's tier. It's the only non-DeepSeek model that's even in the same conversation.
But 3.8× is still 3.8×. At 21.5B input tokens, that's $3,238/month versus $906/month (DeepSeek V4 Pro alone). The cache persistence is the bottleneck — MiniMax holds cached prefixes for a shorter window, so more requests miss. Close the persistence gap and the hit rate gap, and MiniMax M3 becomes genuinely competitive. Until then, it's the best of the rest, but still firmly behind the moat.
GLM, Kimi, StepFun: Cache-On-Paper
These providers technically support caching. GLM 5.2 lists a cached price of $0.14/M. Kimi K2.7 lists $0.11/M. Step 3.7 Flash lists $0.04/M. But at orchestrator volumes, real-world hit rates collapse to 15-30%. Why? Because the caching implementations aren't built for the access patterns that orchestrators produce. Prefixes shift. Tool outputs break cache keys. Multi-turn conversations exceed cache lifetimes. The result is effective input prices of $0.65-$0.83/M — 18-23× DeepSeek's — despite cached-rate stickers that look competitive on the pricing page.
This is the trap. You look at the pricing page, see $0.11/M cached, and think "that's only 3× DeepSeek." Then you run real workloads and discover that your actual hit rate is 15%, not 96%, and your effective input price is $0.65/M, not $0.11/M. The pricing page showed you one variable. The other two — both worse than you assumed — were invisible.
Here's the full picture, every major model, sorted by the only number that matters:
| Model | Sticker In $/M | Cached In $/M | Real Hit Rate | Eff In $/M |
|---|---|---|---|---|
| DeepSeek V4 Flash | $0.090 | $0.003 | 96.3% | $0.009 |
| DeepSeek V4 Pro | $0.435 | $0.004 | 96.2% | $0.036 |
| Step 3.5 Flash | $0.090 | $0.020 | 20% | $0.077 |
| MiniMax M3 | $0.300 | $0.060 | 70% | $0.138 |
| Step 3.7 Flash | $0.200 | $0.040 | 30% | $0.154 |
| GPT-5-mini | $0.250 | $0.025 | 40% | $0.163 |
| Qwen3.7 Plus | $0.320 | $0.050 | 40% | $0.216 |
| GPT-5.4-mini | $0.750 | $0.075 | 45% | $0.458 |
| Kimi K2.7 | $0.740 | $0.110 | 15% | $0.649 |
| Claude Haiku 4.5 | $1.000 | $0.100 | 40% | $0.654 |
| GPT-5 | $1.250 | $0.125 | 40% | $0.817 |
| Qwen3.7 Max | $1.250 | $0.130 | 40% | $0.819 |
| GLM 5.2 | $0.940 | $0.140 | 15% | $0.825 |
| Gemini 3.5 Flash | $1.500 | $0.150 | 40% | $0.981 |
| Gemini 3.1 Pro | $2.000 | $0.200 | 40% | $1.307 |
| GPT-5.4 | $2.500 | $0.250 | 45% | $1.526 |
| Claude Sonnet 4.6 | $3.000 | $0.300 | 45% | $1.831 |
| Claude Opus 4.6 | $5.000 | $0.500 | 45% | $3.052 |
| GPT-5.5 | $5.000 | $0.500 | 45% | $3.052 |
The takeaway isn't subtle. DeepSeek V4 Pro at $0.036/M effective versus Claude Opus 4.6 at $3.052/M effective. Same workload. Same tasks. 85× cost difference. And it's not because DeepSeek cuts prices — their sticker input of $0.435/M is competitive but not uniquely cheap. It's because their cache architecture was designed for exactly this access pattern, and everyone else's wasn't.
Why Every $0.001 Matters
At 21.5 billion cache-hit tokens per month, a difference of $0.001 per million tokens in cached input pricing translates to $258 per month. Not $258 in some theoretical worst-case. $258, actual, on my June bill.
This is the math that makes the cache moat so structural. Cache-hit tokens dominate the economics at orchestrator volumes. The sticker input price applies to 3.8% of tokens. The cached input price applies to 96.2%. A tiny improvement in cached price delivers an enormous improvement in total cost. A tiny degradation — or a competitor's slightly worse cached price — delivers an enormous penalty.
Let's walk through it concretely. MiniMax M3's cached price is $0.06/M — only $0.056/M higher than DeepSeek's $0.0036/M. That's a rounding error on a pricing page. But multiply $0.056/M by 21.5B tokens and you get $1,204. The entire cost premium of MiniMax over DeepSeek is driven by six-hundredths of a cent per million tokens — invisible on any comparison chart, devastating in production.
Now look at the hit rate. DeepSeek's 96.2% versus MiniMax's 70%. That 26-point gap means MiniMax pays full sticker price ($0.30/M) on 30% of tokens instead of 3.8%. On 21.5B tokens, that's an additional $1,697 in sticker-rate charges that DeepSeek simply doesn't incur.
Combine the two — worse cached price AND worse hit rate — and the gap compounds. $1,204 from the cached-price delta plus $1,697 from the hit-rate delta equals $2,901. MiniMax M3 costs ~$2,900 more per month than DeepSeek V4 Pro not because the models are different quality — both score ~80% on SWE-bench — but because two small infrastructure parameters compound at scale.
The same math applied to Opus 4.6 is even more brutal. Cached price $0.50/M versus $0.0036/M: a delta of $0.4964/M, which on 21.5B cache-hit tokens alone is $10,675. Hit rate 45% versus 96.2%: an additional $5,913 from paying sticker on the extra 51.2% of tokens that don't hit cache. The compound gap is north of $16,000 per month — and that's before you even get to output pricing.
This is why no competitor can price their way out of the problem. If Anthropic cut Opus 4.6's sticker price by 50% — from $5.00 to $2.50 — the effective input price would drop from $3.05/M to $2.00/M. Still 55× DeepSeek's $0.036/M. If they cut it by 90% — to $0.50/M — the effective price would be $0.49/M. Still 13× DeepSeek. You can't solve a hit-rate gap with a sticker-price cut because the sticker price applies to only a fraction of tokens. The math doesn't let you.
The only way to close the gap is to fix the cache — higher hit rates AND lower cached-read prices. And that's not a pricing decision. It's an infrastructure investment that takes years.
The Architecture That Makes the Moat
DeepSeek's cache isn't just cheaper. It's architecturally different in ways that make the economics compound rather than converge.
1. No Flags, No Breakpoints, No Engineering
There is no code path in my orchestrator that says "use the cache." There is no API parameter that marks a cache boundary. There is no engineering team that tuned hit rates or optimized prefix stability. The cache just works — automatically, on every request, for every prefix that matches. The result is that the entire operational pattern of the orchestrator — stable system prompts, skill libraries loaded once, conversation history accumulating — maps perfectly onto the caching architecture without anyone designing it to.
This is the opposite of Anthropic's model, where you must explicitly mark cache breakpoints. It's the opposite of a world where "supporting caching" means "the API accepts a cache flag and sometimes it works if you structure your prompts correctly." DeepSeek's cache is infrastructure. Everyone else's is a feature.
2. A Cached-Read Price That's an Order of Magnitude Below Everyone
$0.0036/M. The next cheapest is Step 3.5 Flash at $0.02/M — 5.5× higher — and that model has a 20% hit rate that makes the comparison meaningless. For models that actually work at orchestrator scale, the next cheapest cached read is MiniMax M3 at $0.06/M — 16.7× higher. Anthropic charges $0.50/M, OpenAI $0.25-0.50/M. The cached-read price is the single largest line item in the orchestrator budget, and DeepSeek's is 14-139× lower than competitors'.
This isn't a promotional discount. It's not a loss leader. It's a price that reflects an infrastructure cost structure that nobody else has. DeepSeek can charge $0.0036/M for cached reads and still make money because their caching infrastructure was built for exactly this workload from the start. Competitors built general-purpose APIs and added caching later. The cost structures reflect those decisions.
3. A 1M-Token Context Window That Preserves Cache
Cache is only useful if your prefixes stay stable. Prefixes stay stable when your context window is large enough to hold everything — system prompts, skill libraries, tool definitions, conversation history — without evicting and reloading. DeepSeek's 1M-token window means the orchestrator's entire "personality" fits in cache and stays there. Competitors with shorter effective windows or different context management strategies force prefix shifts that break cache.
The interaction between these three factors is multiplicative. Good caching without a large context window means prefixes get evicted. A large window without transparent caching means you pay full price for reloading. Transparent caching without a low cached-read price means the economics still don't work. DeepSeek has all three, and each one amplifies the others.
The Moat Is Not About Model Quality
Let me be clear about something, because it's the most important thing in this entire post.
DeepSeek V4 Pro is not the best model on the market. Claude Opus 4.8 scores 88.6% on SWE-bench. GPT-5.5 scores 81.0% and is more token-efficient than any competitor. Opus 4.7 and 4.8 are genuinely better at difficult reasoning tasks. If model quality determined market outcomes, the rankings would look very different.
But for orchestrator workloads — the workloads that run agents, that delegate tasks, that manage quality control, that reason about architecture — the question isn't "what's the best model?" It's "what's the cheapest model that clears the bar?" And the bar for orchestrator reasoning is lower than the frontier. An orchestrator delegates heavy coding to specialized subagents. It doesn't need to solve SWE-bench problems. It needs to route correctly. It needs to evaluate output quality. It needs to manage context. These tasks don't require a frontier model. They require a model that's smart enough.
DeepSeek V4 Pro at 80.6% SWE-bench clears that bar comfortably. V4 Flash at 74% clears it for routing and classification. Together, at an effective input price of $0.009-$0.036/M, they deliver an economics profile that no competitor can match — not because the competitors' models are worse, but because their infrastructure wasn't built for this workload.
The moat is not intelligence. The moat is infrastructure.
If Anthropic shipped automatic prefix caching tomorrow — no flags, no breakpoints, transparent prefixes at $0.001/M cached reads and a persistent 1M window — the entire ranking would reshuffle overnight. Claude Opus 4.6 at effective $0.030/M would beat DeepSeek V4 Pro at $0.036/M, and anyone running an orchestrator would switch. The superior model would win because the cache penalty would be gone.
But Anthropic hasn't done that. Neither has OpenAI. Neither has Google. And the reason isn't that they don't understand the economics. The reason is that rebuilding your caching infrastructure from explicit breakpoints to automatic prefix caching — at a cost structure that supports $0.001/M reads — is not a feature release. It's not even a major version. It's a multi-year engineering migration that touches every layer of the serving stack. You can't bolt it onto an existing API. You have to design for it from the beginning.
DeepSeek designed for it from the beginning. Everyone else is now discovering that their API architecture is a structural cost disadvantage — and there's no quick fix.
What the Moat Means for the Market
There are two ways to read this. One is optimistic for DeepSeek. One is optimistic for everyone else. Both are probably true.
The optimistic-for-DeepSeek reading: the cache moat is durable. Competitors can't price their way out of it. They can't model-update their way out of it. The only path out is an infrastructure rebuild that takes years, and during those years DeepSeek's economics advantage compounds. Every month that passes with 96% hit rates at $0.0036/M is another month of data showing orchestrator workloads work better and cost less on DeepSeek infrastructure. The market tilts. The gravity of 85× cost differences is hard to escape.
The optimistic-for-everyone-else reading: cache moats are bridged by exactly one thing — a competitor deciding the market is worth the infrastructure investment. If Anthropic or OpenAI or Google decide that agent orchestrators are the next major workload category, they'll rebuild their caching infrastructure. They have the talent. They have the capital. They have the motivation. The question is not "can they?" but "when will they decide it's worth it?" And in the meantime, DeepSeek runs away with a category that everyone else is still treating as a niche.
I think both are true for different time horizons. In the 12-18 month window, the cache moat holds. The infrastructure work required to match DeepSeek's caching economics is too deep to ship quickly, and no competitor has signaled that they're prioritizing it. In the 3-5 year window, the moat narrows. One or more competitors will ship competitive caching infrastructure, and the economics will compress. The question is what DeepSeek does with the lead time they've earned.
What This Means If You're Building
If you run an agent orchestrator — or any workload with high input-to-output ratios and stable prefix patterns — the cache moat isn't an interesting blog post. It's your entire budget.
The decision process is straightforward:
If your hit rate is above 90% on DeepSeek, you cannot switch providers. The economics don't let you. Moving to a model with 45% hit rates and a $0.50/M cached price will multiply your bill by 50-85×. No model quality improvement can justify that. You stay on DeepSeek until a competitor bridges the cache gap.
If your hit rate is 70-90%, you can consider MiniMax M3. At 70% hit, $0.06/M cached, M3 effective input is $0.138/M — 3.8× DeepSeek, but competitive on model quality. For workloads where DeepSeek isn't an option (compliance, geography, model preferences), MiniMax is the only viable alternative. But verify your actual hit rate, not the advertised one. MiniMax's 70% is a real-world number for orchestrator workloads; your specific pattern might be higher or lower.
If your hit rate is below 40%, the cache doesn't matter. You're paying sticker price on most tokens regardless of provider. In that regime, optimize for model quality and output pricing. The cache moat doesn't help DeepSeek because the cache isn't firing. But if your hit rate is that low with an orchestrator, something is structurally wrong with your prefix management — you should fix that before you optimize anything else.
The spread between V4 Pro and V4 Flash is a lever, not a binary choice. Flash handles routing, classification, and light delegation at $0.009/M effective input. Pro handles heavy reasoning at $0.036/M. The ratio of Flash-to-Pro usage is a optimization parameter you should tune continuously. Every request that can be routed to Flash instead of Pro saves 4× on effective input — and at 264,090 requests per month, those savings compound.
The Frontier That Matters
The AI industry obsesses over the wrong frontier. Every model release is benchmarked, scored, ranked. SWE-bench goes from 80.6% to 81.0% to 88.6%. The headlines announce who's winning. The discourse focuses on capabilities.
But for the workloads that will actually use these models at scale — agent orchestrators, coding harnesses, automated reasoning pipelines — the frontier that matters is not capability. It's cache economics. A model that scores 88.6% on SWE-bench but costs 85× more to run is not competitive. A model that scores 80.6% and costs $504/month to run a production orchestrator is — not because it's smarter, but because the economics allow it to exist in production at all.
The cache moat is the first infrastructure advantage in the AI market that behaves like a real moat. It can't be priced around. It can't be marketed around. It can't be optimized around with prompt engineering or model selection. It's built into the physical serving architecture of the API, and until a competitor rebuilds their serving architecture, the moat holds.
I don't know which competitor rebuilds first. I don't know when. But I know that until someone does, every dollar spent on an orchestrator running non-DeepSeek models is a dollar paying for cache infrastructure that wasn't designed for the job. And that's a tax you don't have to pay.
Data source: June 2026 DeepSeek billing data — 30 days, 21.5B cache-hit tokens, 264,090 requests, $504.10 total cost. Cache hit rates projected from provider-specific behavior: DeepSeek automatic prefix caching (96%), Anthropic explicit prompt caching (45%), OpenAI auto-caching with shorter windows (40-45%), MiniMax caching (70%), GLM/Kimi limited cache support (15%). All price comparisons verified against provider pricing pages as of June 2026.
Read the full analysis: The Five Truths Hidden in Your Token Data.
Sources: DeepSeek V4 Pro pricing. Claude pricing. OpenAI pricing.