Let us assume a simple axiom: in any system where marginal cost diverges from fixed cost by an order of magnitude, the metric that tracks the cheap path is the only one that matters for survival. DeepSeek's pricing model is exactly such a system. A cache hit on a DeepSeek input token costs roughly one-fiftieth of a miss. That is not a discount. That is a structural subsidy for deterministic, repetitive, well-batched workloads. And when OpenCode co-founder Dax Raad published 48 hours of client-side cache hit rates for DeepSeek traffic, the resulting numbers did not merely surprise him. They upended a quiet assumption about which agentic coding tool is actually efficient.
Zhipu's ZCode recorded a 98.60% hit rate. OpenCode V2 followed at 97.86%. Claude Code / CLI lagged at 89.31%. Dax's own reaction — "I don't know what ZCode is, but it's doing a really good job" — was the kind of honest confusion that precedes a paradigm shift. But anyone who has spent years staring at smart contract bytecode knows that a high success rate on a cheap path can indicate either superior engineering or a system that has subtly narrowed its own ambitions. The hash is not the art; it is merely the key. And in this case, the key opens a cache that hides far more than it reveals.
To understand the blast radius, we need to reconstruct the mechanics. DeepSeek's API prices input tokens by cache state. A cached token costs a fraction of a cold token. For structured agentic loops — where the system prompt, repository map, and tool definitions are largely static across turns — caching becomes the dominant cost lever. A 98.6% hit rate versus an 89.31% hit rate might sound like a nine-point gap. But because the miss penalty is a 50x multiplier, that gap translates into an effective cost per token that is dramatically different across the two tools. With the same token structure, ZCode's hit rate yields roughly 27% of Claude Code's input cost. That is not an optimization. That is a pricing arbitrage made possible by architecture.
I spent 2017 auditing Solidity distribution contracts, and I learned to distrust any number that looks too clean. A 98.60% hit rate is suspiciously close to a plateau. It suggests that ZCode's agent is not suffering from the cold-start problem. It also suggests that the system is either aggressively collapsing context windows into stable prefixes or that its users are not actually giving it varied, novel tasks. In a coding agent, a hit rate that high often means the tool has learned to keep the conversation loop extremely tight: the same files, the same linting commands, the same small deltas. That is excellent for cost per task. It may be terrible for cognitive diversity.
Let me formalize with a simplified model. Assume a typical turn consumes 10,000 tokens, of which 9,000 are cached and 1,000 are new. At a 98.6% hit rate, only 140 tokens miss. At an 89.31% hit rate, roughly 1,069 tokens miss. With a 50x penalty on those misses, the effective cost is not 10,000 tokens but 7,000 equivalent tokens for the high-hit system and 54,500 equivalent tokens for the low-hit system. The gap is not 9%. It is 7.8x. ZCode's cost advantage is not a measure of intelligence. It is a measure of how much of the agent's work is actually cached. And that, in turn, is a measure of how deterministic the tool's workflow is.
This is where the blockchain engineer in me starts to get uncomfortable. I have stress-tested liquidation engines and modeled composable protocol failures. I have learned that any system which depends on a single cheap path is vulnerable to a change in the environment's entropy. When the market shifts, when the codebase grows, when the user asks a genuinely new question, the cache misses cascade. The same mechanism that gives ZCode a 98.6% hit rate today could invert into a 70% hit rate tomorrow if the tool suddenly supports deeper open-ended reasoning. The cache hit ratio is not a performance metric. It is a measure of how much you have not yet asked.
OpenCode V2's 97.86% is close enough to be in the same regime. Claude Code's 89.31% is meaningfully lower, and that gap aligns with my suspicion that Claude Code is being used for longer, more exploratory sessions. Exploratory sessions produce more unique tokens. They break the prefix. They defeat the cache. In that sense, Claude Code might be the more intellectually honest tool: it is paying for the cost of reasoning about unfamiliar code. But the market is brutal about such honesty. If developers are price-sensitive — and they are — the tool that turns every task into a cached prefix will win the short-term adoption game. The hash is not the art; it is merely the key. But the key determines whose wallet gets drained.
Let us push into the contrarian territory. The common narrative will be: "ZCode wins because of superior engineering or better context management." I want to offer a counter-narrative. ZCode is built by Zhipu for GLM-5.2, but it also supports third-party models. Its high cache hit rate might not be a result of ZCode being smarter. It might be a result of ZCode being more constrained. If the agent uses a fixed set of tools, a rigid system prompt, and a conservative loop that limits the number of novel file reads per turn, the cache hit rate will naturally inflate. High hit rates can be a symptom of shallow exploration. In software engineering, that is often worse than slow but thorough reasoning. I have seen protocols with 100% uptime that were simply not handling any meaningful transactions. Sparse traffic looks great on an availability dashboard. It does not prove robustness.
And there is a second, darker possibility: measurement gaming. Cache hit rates reported by a client-side telemetry layer can be manipulated by the way prompts are assembled. If ZCode re-sends identical framing data on every turn — even when the user's query changes — it inflates the hit rate without providing any real caching benefit to the user. The saved tokens are real, but the cached content is padding. Dax Raad's measurement is client-side, so it captures the actual token payloads sent to DeepSeek. That mitigates one layer of gaming. But it does not capture whether the cached tokens were meaningful. I would investigate the ratio of cached tokens to total unique raw tokens per session. If ZCode consistently sends 10,000 tokens of boilerplate to cache 50 lines of new code, you have found a metric-smoothed facade. Composability breaks faster than it builds.
I want to relate this to a deeper structural truth in decentralized systems. In blockchain, we have a concept of state growth. A node that caches the entire account trie locally can respond to queries instantly, but only for addresses it has seen before. A node that cold-starts on every query is slow and expensive. The analog of a cache hit rate in blockchain is the transaction replay rate or the read-cache hit ratio on an RPC provider. I have audited systems where a 99% cache hit rate was celebrated, until an attacker found a way to generate unique storage keys and force every subsequent read to miss. The cost of the system exploded by two orders of magnitude overnight. The same pathology will appear in AI agent infrastructure. When adversarial users or even just organic long-tail behavior introduces enough novel context, the cheap path disappears. The platforms built on the assumption of 98% hit rates will face a 50x cost shock. The platforms built on the assumption of 89% hit rates will barely feel it.
This is not an argument for inefficiency. It is an argument for architectural resilience. ZCode's performance is impressive, but it is impressive in the same way a high click-through rate is impressive in an ad network that serves only three banner ads. The moment the user asks for a complex, cross-repository refactor — the moment the agent needs to read an unfamiliar file, call a new API, or reason about a fresh bug — the cache prefix breaks, and the 50x penalty lands. The true test of an agentic coding tool is not how it performs on repetitive scaffold generation. It is how it performs on the first token of a novel task.
The deeper implication is for the emerging intersection of AI and blockchain. As AI agents begin to sign transactions and interact with on-chain contracts, they will face an even more brutal version of this problem. In my 2026 work on AI-agent smart contract interoperability, I designed an interface specification that processes transactions in a deterministic, stateless way to prevent hallucination-induced financial errors. I learned that determinism is a cache multiplier. If every agent sends the same structured request, the system can cache the validation step and only execute the deltas. But if agents are truly autonomous and exploratory, the cache becomes random. The hit rate collapses. The infrastructure that powers these agents must not be designed around a single measured metric today. It must be designed for the most expensive worst-case path.
The hash is not the art; it is merely the key. The cache hit rate is not the art; it is merely the shadow of the question being asked.
Let me now place this in the context of the broader market. We are in a sideways, choppy market. Investors are hungry for signals. Many will see ZCode's 98.6% hit rate as a technological outperformance and try to map it to an investment thesis in Zhipu or in GLM-5.2. That would be a mistake. A cache hit rate is a cost optimization metric, not a capability metric. It tells you how cheaply ZCode can grind through a standardized workload. It tells you nothing about whether ZCode can innovate, maintain a large codebase, or handle the messy, unrepeatable work that defines real software engineering. In the 2017 ICO decade, everyone chased TPS numbers. Those numbers were meaningless because the systems that achieved high TPS were doing nothing of value. The same will happen with cache hit rates. They will become the new TPS. And like TPS, they will be gamed, optimized, and ultimately exposed as shallow.
I want to offer a concrete heuristic for developers evaluating agentic tools. Run the same session on ZCode, OpenCode V2, and Claude Code with a deliberately cold prompt — a repository you have never worked with, a task that is genuinely novel, and a requirement to read at least five unrelated files. Measure the hit rate for the first 100 turns. The tool with the initial hit rate drop will be the tool that eventually gives you the best answers. The tool that keeps a high hit rate even during novel exploration is either playing with padded prompts or has not yet executed a real task. Efficiency is a lie when it is measured against a static distribution of work. This is exactly the lesson I learned when auditing token distribution contracts: a contract that does not move cannot be exploited, but it also cannot deliver value.
The future is not about who caches best. The future is about who can afford to miss. As AI agents become more autonomous, their context windows will grow, their tasks will become more heterogeneous, and the volume of novel tokens will increase. The network effect will shift from cache-friendly workflows to cache-breaking complexity. The platforms that survive will be the ones that have built their cost models around the 50x miss, not the 98.6% hit. In my own work designing interfaces for LLM governance, I made the explicit decision to treat every call as a potential cache miss. That forced me to optimize for latency and throughput at the miss layer, not to rely on the crutch of repeated prompts. It is a more expensive design. It is also the only design that does not collapse when the market shifts.
So what should we take from Dax Raad's observation? Not that ZCode is the new leader. Not that Claude Code is doomed. The takeaway is that the industry has just realized how much of the cost of AI coding is concentrated in the first cold token of every novel thought. The entity that controls the cache — the protocol layer, the prompt optimizer, the context synthesizer — will control the pricing envelope of all future agentic work. And this control is precisely what will be contested in the coming cycles. The tech stack that emerges will resemble the modular blockchain architecture of the past decade: a shared data layer, an execution layer, a settlement layer for costs. Cache layers will become the new rollups. They will aggregate, optimize, and compress the work of thousands of agents. And, like rollups, they will be safe until they are forced to interact with an outside world that does not fit their assumptions.
I will finish with a question. When the next generation of AI agents starts auditing smart contracts, will they run on the cheap path and repeat the same cached vulnerabilities, or will they miss the cache and discover the novel exploit that everyone else missed? The hash is not the art; it is merely the key. And the cache is not the performance. It is the wall that keeps you from seeing the ledge.

