Fetching from the wire…
Public story · 2026-07-16 · high
v2.1.211 stops Bedrock, Vertex, Mantle, and Foundry from rebilling cached system context as full-price input tokens.
Why now: The fix landed in the v2.1.211 changelog entry that entered coverage on July 16.
Claude Code shipped v2.1.211 with a fix for a prompt-caching billing regression that hit four gateway deployments: Bedrock, Vertex, Mantle, and Foundry. Trailing system context was getting rebilled as fresh input tokens instead of hitting the cache, per the changelog.
Prompt caching is the biggest cost lever in any long agent session. System prompts, tool definitions, and accumulated context are supposed to get cached and billed at a fraction of the input rate on repeat calls. The regression quietly defeated that for anyone running Claude Code through one of those four gateways. Full-price input tokens landed where cached-rate tokens should've been.
The changelog doesn't say how long the regression window was open or how much it inflated bills. Check your Bedrock, Vertex, Mantle, or Foundry invoices against your expected cache-hit ratio. Anthropic-direct usage isn't named in the fix.
The same release floors PreToolUse hook decisions so an "ask" verdict can't get silently overridden, per the changelog. It also fixes simultaneous logout across parallel sessions after wake-from-sleep. Worth a re-audit of your hook configs if you run gated tool permissions.
Each link below shares sources, entities, or timing with this story.
Claude Code supports Foundry / Shared entities / Same source
Linked by a graph relationship (Claude Code supports Foundry); both cover Bedrock, Claude Code, Foundry, Mantle; cite the same source (Claude Code Changelog).
Claude Code supports Foundry / Shared entities / Same source / Earlier coverage / Tension
Linked by a graph relationship (Claude Code supports Foundry); both cover Claude Code, Claude Code Changelog; cite the same source (Claude Code Changelog).
Claude Code supports Foundry / Shared entity: Claude Code / Same source / What happened next
Linked by a graph relationship (Claude Code supports Foundry); both cover Claude Code; cite the same source (Claude Code Changelog).
Claude Code supports Foundry / Shared entity: Claude Code / Same source / Earlier coverage
Linked by a graph relationship (Claude Code supports Foundry); both cover Claude Code; cite the same source (Claude Code Changelog).
Linked by a graph relationship (Claude Code supports Foundry); both cover Claude Code; cite the same source (Claude Code Changelog).
Linked by a graph relationship (Claude Code supports Foundry); both cover Claude Code; cite the same source (Claude Code Changelog).
Linked by a graph relationship (Claude Code supports Foundry); both cover Claude Code; cite the same source (Claude Code Changelog).
Linked by a graph relationship (Claude Code supports Foundry); both cover Claude Code; cite the same source (Claude Code Changelog).