With only 4% of input cached, it might be worth checking the prompt order. Implicit caching only matches on the prefix, so the corpus has to be the very first thing in every request and exactly the same each time, with the per-batch instructions after it. The caching docs also say hits are more likely when requests with the same prefix go out close together, so sending the batch calls back to back may help. You can watch usage.total_cached_tokens per call to see if it moves.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Gemini-4-carbon implicit cache: frequent full misses with byte-identical prefixes (gaps < 5 min) | 7 | 420 | December 4, 2026 | |
| Gemini-4-neon implicit caching: cachedContentTokenCount is always about 2,049 below the previous prompt, never the full previous request (docs say the full request is cached when the new request adds at least 2,050 tokens) | 3 | 137 | December 4, 2026 | |
| [Telemetry + Bug Report] Why Antigravity weekly quotas burn so fast: Gemini 4 Carbon High mid-turn cache collapse (5.5x cost) + 5-min implicit cache cliff | 3 | 720 | December 3, 2026 | |
| Fix Hydrogen Cache hit . expires in 5 minutes | 1 | 179 | November 27, 2026 | |
| Gemini 4 Neon/Hydrogen: full-request countTokens input bound and billing | 4 | 230 | December 4, 2026 |