Quoting Thariq Shihipar

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

Reveals that Anthropic treats prompt-cache hit rates as a production SLO for Claude Code, a concrete pattern any team building long-running agents can copy to cut latency and cost.

Read this as

Thariq Shihipar, an Anthropic engineer, explained how prompt caching makes Claude Code possible. Prompt caching lets the service reuse calculations from earlier steps of a conversation instead of redoing them, which lowers cost and speeds things up. His team watches the cache hit rate and treats drops as serious incidents. This mainly affects people building AI agents and the cost of Anthropic's subscription plans.

Anthropic engineer Thariq Shihipar says prompt caching is what makes long-running agent products like Claude Code economically viable, since cached computation reduces latency and cost across multi-step exchanges. The company treats a low prompt-cache hit rate as an incident, because it directly raises costs. Teams running agentic products on metered APIs should architect around caching or face materially higher unit economics.

Claude Code's harness is built entirely around prompt caching: results from previous roundtrips are reused, cutting both latency and cost for long agentic sessions. Anthropic monitors prompt cache hit rates and declares SEVs when they fall too low. High hit rates also fund more generous rate limits for subscription plans. The post quotes no figures on hit-rate thresholds or cost savings.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Claude Code Thariq Shihipar Anthropic

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading