Anthropic's Claude models have a default prompt cache TTL of 5 minutes, meaning prompts are only stored for that duration after the last use. If an agent's pause exceeds this, the cache expires, and the next request incurs the higher cost of rewriting the entire prompt. Extending the TTL to 1 hour is an option, but it doubles the cost per token, making it beneficial only when agent pauses fall between 5 and 60 minutes. This contrasts with OpenAI's GPT models, which have a default 30-minute cache TTL. AI
IMPACT Developers can optimize AI agent costs by understanding and configuring prompt cache TTLs, potentially saving significant expenses on API calls.
RANK_REASON The article discusses a specific feature (prompt cache TTL) of an existing model (Claude) and its implications for developers, rather than a new release or significant industry event.
AI-generated summary · Google Gemini · from 9 sources. How we write summaries →