Gemini API keeps Gemini 4 prompt caches on SSD for up to 12 hours at no extra fee
Gemini 4 models now save evicted implicit cache prefixes to durable SSD storage for up to 12 hours, raising cache hit rates.
- Price: durable storage adds no storage fee, and SSD cache hits get the same 95% cached input discount as in-memory hits.
- Scope: Gemini 4 models only; Gemini 3 and earlier models keep cached prefixes in RAM only.
- Exception: projects with an approved zero data retention exception stay on in-memory caching.
Details for builders
- Durable implicit caching on SSD for Gemini 4 models is listed in the December 4, 2026 release notes, at no extra storage fee. Source: Google (Gemini API), as of .
- Durable storage adds no storage fee, and cache hits from SSD get the same 95% cached input discount as in-memory hits. Source: Google (Gemini API), as of .
- SSD cache entries last up to 12 hours from creation and RAM entries up to 24 hours, both best effort, and either can evict earlier. Source: Google (Gemini API), as of .
- Only Gemini 4 models use SSD caching; Gemini 3 and earlier stay in RAM, as do projects with an approved zero data retention exception. Source: Google (Gemini API), as of .
- Implicit caching on Gemini 4 models needs at least 4,096 input tokens and gives a 95% cached input discount on all tiers. Source: Google (Gemini API), as of .