Prompt caching guide: Claude, GPT & Gemini Prefix stability + lower cached rates.
rawroute passes vendor prompt-cache discounts straight through multiplied by our lower model factor—so cached input reads drop to $0.005 on Haiku 5.5 / Luna and $0.12 on GPT-6.2 Astra per 1M tokens. Keep static system prompts and tool schemas at the very top of your messages array to maximize hit rates.
Verified 28.11.2026
Live cached input token pricing on rawroute (USD per 1M tokens)
| Model | Fresh Input | Cached Input | Long-Context Threshold |
|---|---|---|---|
| Claude Opus 5.5 | $2.00 | $0.10 | Flat across context |
| Claude Sonnet 5.5 | $1.00 | $0.05 | Flat across context |
| Claude Haiku 5.5 | $0.05 | $0.005 | > 100,000 tokens |
| GPT-6.2 Astra | $2.40 | $0.12 | > 272,000 tokens |
| Gemini 4 Argon | $1.00 | $0.05 | Flat across context |
Three rules that break your cache hit rate
Never place dynamic timestamps (current time), per-request trace IDs, or shuffled tool lists before your static system instructions. Byte-for-byte prefix equality from token 0 up to the cache breakpoint is required across OpenAI, Anthropic, and Gemini.
When NOT to use rawroute
- — If every single request uses a completely unique prompt under 1,024 tokens, caching overhead gives no benefit—focus on output token brevity and model tiering instead.
FAQ
Are cache tokens billed separately on rawroute?
Yes. Cached reads are billed at the reduced cached rate shown on every model page, never at the full fresh-input rate.