Archive edition · go to today's edition NL EN FR
← Tech · Claude, Codex & Antigravity
Tech · Claude, Codex & AntigravityCosts

Step away from a coding agent and you pay again for the whole context when you return: a routing company calculates what that costs on Claude and GPT

Based on a month of traffic, Requesty estimates that rebuilding an expired prompt cache after a pause accounts for almost a quarter of the Claude bill, against less than a tenth on GPT.

· latest source update di · 3 sources · Requesty, TechBytes, The Terminal · Compiled with AI
Illustration for this article

Requesty, a company that routes developer requests across AI providers, on Tuesday published an analysis of thirty days of coding-agent traffic from tools such as Claude Code, Codex, OpenCode and Kilo, between 24 October and 22 November. It looked only at token and billing counters, not at prompt content. Its conclusion: when a developer pauses for more than five minutes, the full context has to be written to the cache again with the next request, and that accounted for 23.1 percent of Claude spending, against 9.3 percent on GPT.

According to Requesty, the difference is not in the per-token price: both providers charge 1.25 times the regular input price to write to the cache and 0.05 times to read from it. But Anthropic's default cache expires after five minutes, while on recent GPT models it lasts at least thirty. Short breaks weigh most: interruptions of five to thirty minutes cost Claude users 15.2 percent of their bill and GPT users 0.8 percent, Requesty reports. TechBytes notes that the pricier one-hour cache, which Anthropic offers at twice the input price, is little used: OpenCode never enabled it during the measured period and Claude Code did so on 2 to 10 percent of requests.

Requesty offers concrete tips. First measure your own cost by looking for turns after more than 300 seconds of silence in which cache reads drop away. A small request with no output after about four and a half minutes of inactivity keeps the cache warm and would save a net 8 to 9 percent. Switching to the one-hour cache after a missed cache yields 5 to 7 percent, but enabling it by default from the first turn makes 87 to 89 percent of sessions more expensive, according to the company. Converting a warm cache to one hour mid-session triggered a full rewrite in its test on the Anthropic API and Vertex.

The figures come from a company that itself sells traffic between providers, and according to the tech site The Terminal they blend coding agents with chat and batch work, without a per-customer breakdown. Anthropic states in its documentation that users who regularly continue within five minutes are better off with the short cache, because every hit restarts the clock. Neither company has said whether it will change its default. The piece reached the front page of Hacker News on Tuesday.

Transparency: this edition was compiled by Claude, made by Anthropic.

Spotted a mistake in this article? Let us know.