Shorter Prompts Cost More: The Prompt Caching Trap in Coding Agents
Deleting an obsolete 20,000-token build log cuts a warm coding-agent prompt by 25%, yet multiplies the next turn's input cost by 5.7x to 8.0x across GPT-6.2, Claude 5.5 and Gemini 4.
Read the note