SI Agent News
← All news

Requesty says coffee breaks raise Claude API bills, and Anthropic explains the cache default

Requesty says expired prompt caches after short pauses add to Claude API spending, while Anthropic says its five-minute default suits agents sending quick requests.

4 min readMade with AI

The short version

  • Requesty says it studied 30 days of traffic from October 24 to November 22.
  • Anthropic's own tests found five-minute caching 15% to 19% cheaper when requests came seconds apart.
  • One-hour cache writes cost twice the standard input rate.
  • Requesty's keep-alive idea resends a request after 4.5 minutes and showed estimated net savings of 8% to 9%.
  • Coffee break math: With 210,000 tokens of context in a Claude Opus 5.5 coding session, an eight-minute break can turn a $0.04 cache read into a $1.05 cache write, Requesty says.

What Requesty found

Picture a developer stepping away for an eight-minute coffee break in the middle of a Claude Opus 5.5 coding session. According to Requesty, an AI gateway provider, that pause can make the next request far more expensive, and Anthropic has now explained its side to The New Stack.

The New Stack reports on an analysis that Requesty published on Tuesday. The firm studied 30 days of production traffic that ran through its gateway between October 24 and November 22. The traffic came from Claude Code, OpenCode, Codex, Pi, and Kilo. Its headline example is a Claude Opus 5.5 coding session holding 210,000 tokens of context. After an eight-minute coffee break, a $0.04 cache read can become a $1.05 cache write.

The company says rebuilding expired prompt caches after pauses of five to 30 minutes made up 15.2% of observed Claude API spending. For GPT models the figure was 0.8%.

Why it matters

If you pay for Claude through API keys, a cloud provider, or paid usage credits, the five-minute default applies, so a short break may cost you more. Claude Code v2.1.251 or later shows cache hit ratios and miss counts through /usage, so you can check your own sessions.

Why short pauses get costly

Claude Sonnet 5.5 and GPT-6.1 Sol are priced the same: $2 per million input tokens and $10 per million output tokens. Cache writes cost 1.25 times the input rate, and reads cost 0.05 times it.

Requesty says Sonnet 5.5 missed the cache 81.2% of the time after pauses of five to 30 minutes. GPT-6.1 Sol missed 2.3% of the time.

On Anthropic's API, the five-minute TTL counts the time the model spends writing its answer. If a reasoning turn takes four minutes, a developer has roughly a minute to review it and send the next request.

Requesty gives a team example. It estimates that 20 engineers on Opus 5.5 could pay an extra $1,380 a month to rebuild expired caches. The math assumes each person takes four breaks of five to 30 minutes every workday, over a 20-day working month.

A small detail: The five-minute clock on Anthropic's API keeps running while the model writes its reply, so a four-minute reasoning turn leaves only about a minute.

What Anthropic says

Anthropic told The New Stack its five-minute default rests on how often requests arrive while an agent works. It says the shorter cache costs less to write, so it is usually better value when requests come close together.

Anthropic also ran its own tests on Claude Opus 5.5 and Sonnet 5.5. In those runs, requests came seconds apart, and the five-minute cache came out 15% to 19% cheaper than the one-hour cache.

Anthropic also raises pauses longer than 30 minutes. Both providers' default caches have expired by then. Anthropic notes the extra cost is 7.8% of Claude spending and 8.5% of GPT spending.

What code review costs

Teams that ask developers to inspect diffs and approve agent actions may pay more for oversight when a review runs past the remaining TTL. Anthropic told The New Stack that developers should take the time they need to review code.

Anthropic says Claude Code starts with a one-hour cache for the main conversation if a developer stays inside the usage included in a subscription. The five-minute default applies in other cases. Those are API key logins, cloud providers, and paid usage credits bought after the subscription allowance is spent.

Requesty's billing data cannot show what developers were doing in the gaps between requests.

Where the one-hour cache pays off

A write to the one-hour cache costs twice Anthropic's standard input rate. Requesty found that applying it to every conversation would push costs up for 87% to 89% of individual sessions.

About 76% of the Claude coding conversations in its data finish within five minutes. Those running longer than an hour account for roughly 80% of spending.

Anthropic says that if pauses of 5 minutes to 1 hour are common, a developer should pick the one-hour cache at the very start. Switching later means the cache is rebuilt. Requesty saw this in tests on Anthropic's API and Google Cloud's Vertex AI, where moving a live cache from five minutes to one hour forced a rewrite of the whole cached prefix.

Requesty simulated a different move: wait until the cache has expired, then switch to one hour. In conversations that had reached at least 10 turns, that cut total Claude spending by an estimated 5% to 7%. In Claude Code v2.1.242, a developer can set promptCacheTtl to 1h for the main conversation. The setting subagentPromptCacheTtl keeps subagents on five-minute caching.

Keep the cache alive

Requesty also tried a keep-alive trick. After 4.5 minutes without activity, the harness sends the last API request again, with max_tokens at zero and streaming off. Requesty capped these pings by conversation depth and estimated net savings of 8% to 9%.

The method has conditions. The harness must keep the earlier request body, and it must use the same provider, region, and credentials. It clashes with explicitly enabled thinking, structured outputs, forced tool selection, and Message Batches. In Requesty's simulations, keep-alive requests still added cost for 43% to 52% of long sessions.

Developers who want to watch this can use Claude Code v2.1.251 or later, where /usage shows cache hit ratios and miss counts. OpenTelemetry follows cache read and creation tokens for each user and session. The report does not say how large a context, such as 210,000 tokens, each team should expect.

The questions people ask

What it means for you

A developer whose team pays by API key, through a cloud provider, or with extra credits is the one to check. Short breaks can turn cheap cache reads into costly rewrites.

Who gains

Teams with frequent pauses between 5 minutes and 1 hour may gain from starting with the one-hour cache, as Anthropic advises. Requesty's simulations also estimate 5% to 7% savings from switching at expiry.

How solid is it

Mixed. The figures come from one gateway provider's traffic and simulations, plus Anthropic's own tests. Anthropic frames its default differently, and Requesty's data does not show what developers were doing.

What you can do

Check your cache hit and miss counts first, then match the cache length to how long your pauses usually run before changing any setting.

What to watch

  • Will developers see the same cache miss rates Requesty reports, given its data does not show what they did between requests?
  • Will keep-alive requests pay off for long sessions, when Requesty's simulations show they raised costs for 43% to 52% of them?
  • Does the one-hour cache fit your own pauses, since Requesty found it raises costs for most individual sessions?
Up nextAnthropic denies its Claude model sabotages AI research, but admits an earlier hidden limit

More stories

Say why

Liked it? Say why

Add a line for other readers.

No account needed. We never show your email. Comments with links, ads or abuse are held and not shown. Your comment shows after a quick check.

Sources

Written with AI by the SI Agent News Desk from the reporting above. Every number is checked against it.Spot a mistake or a concern? Contact us · Corrections.

More AI news