1. Enable prompt caching — typically the biggest single win
OpenAI's prompt caching launched in 2024 and got more aggressive throughout 2025-2026. Today, cached input tokens are billed at 10% of standard rate — a 90% discount on the cached portion. Activation requires zero code changes; you just structure your messages so that stable content (system message, tool definitions, retrieved documents, few-shot examples) comes first in the prompt array.
The cache automatically activates for any prefix you reuse within ~5-10 minutes. For agentic workflows that call the model 10-50 times per session re-replaying the same context each turn, this often delivers 70-90% of total savings on its own. Worked example: agent loop sending 8k stable + 500 dynamic tokens × 20 turns × gpt-5.4 = was $0.40/session, now $0.04/session. **10x reduction.**
The one gotcha: cache hits invalidate every ~5-10 minutes of inactivity. For workloads with longer pauses between calls, the cache write happens at standard rate then you only save on subsequent reads within window. Plan accordingly — batch reads together when possible.