Claude Code, running on Opus 5.5, incurs significant costs for session compaction, especially when the prompt cache expires. A warm cache compaction of 136k tokens costs approximately $0.06, while a cold cache compaction of the same size jumps to around $0.54. The /clear command, intended to reset the session, costs nothing and effectively starts a new session with a clean slate, though the subsequent turn may incur costs for rebuilding the cache. AI
IMPACT Understanding the cost implications of prompt caching and session management in LLM tools is crucial for optimizing usage and budget.
RANK_REASON The item details specific cost and performance characteristics of a particular feature within a software tool, rather than a new model release or significant industry event.
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →