A developer reports high cache-miss rates on the Gemini API
Developer and creator Theo posted that Gemini is about 50% more expensive than it should be for his workload because caching isn't working well, citing a 27% cache miss rate. The post drew a lot of attention from other developers.
Why it matters
If you rely on prompt caching to keep costs down, a high miss rate quietly raises your bill.
Who it's for
Developers running high-volume Gemini API workloads.
What it means for you
- Log the cached token count that the Gemini API returns in each response's usage data.
- Work out your own hit rate over a day of traffic.
- Keep the cached prefix identical between calls (system prompt, tools, documents) and compare costs.
Applies to: Gemini API.
Note: reported by users on X; we haven't independently confirmed it works in the current version.
Source: @theo on X
Written by Carlos Mendoza from the original post. Checked Oct 17, 2026. Features, plans and availability can change, so confirm on the source before you rely on it.
gemini-apicachingcosts
More Gemini tricks
- Antigravity 2.36.0 floats a live composer over your panels and lets Auto mode edit other repos · Nov 28
- Antigravity CLI 1.5.14 streams live thinking and plans remote work before it edits · Nov 21
- Antigravity CLI 1.5.13 brings Gemini 4 Neon to ADC sign-in and stops surprise swarms · Nov 20
- Gemini CLI 0.69 adds a /stats heatmap for your daily tokens and custom themes · Nov 19