# Gemini API Durable Implicit Caching — cache prefixes now live up to 12 hours

> Gemini 4 models keep evicted cache prefixes on encrypted SSD for up to 12 hours, so repeat prompts hit the cache more often.

- Org: Google
- Date: 2026-12-04
- Category: tool, model
- Source: https://ai.google.dev/gemini-api/docs/changelog
- Canonical page: https://ai-tldr.dev/releases/google-gemini-api-durable-implicit-caching/

## In short

Gemini API now moves evicted implicit cache prefixes for Gemini 4 models into encrypted SSD storage. Prefixes can persist up to 12 hours at no extra storage fee. The goal is higher cache hit rates.

## What it is

Durable implicit caching is a Gemini API change for Gemini 4 models. When an implicit cache prefix is evicted from memory, it can now move to encrypted durable storage on SSD instead of being lost. Google's changelog says the aim is higher cache hit rates.

## How it works

Gemini's implicit caching already reuses repeated prompt prefixes automatically. With this change, prefixes pushed out of in-memory cache are written to SSD and can persist for up to 12 hours. Projects with an approved zero data retention (ZDR) exception stay on in-memory caching.

## Why it matters

Agents and apps that pause between turns used to lose their cached prefix. A longer-lived cache can mean more cached-token hits on repeat requests. Google states there is no extra storage fee. The changelog does not cover cache read pricing, so check the caching docs.

## Who it's for

developers running long or paused Gemini 4 sessions

## Try it

No code change needed; see the implicit caching section of the Gemini API caching docs

## Links

- [API Changelog](https://ai.google.dev/gemini-api/docs/changelog)
- [Caching Docs](https://ai.google.dev/gemini-api/docs/caching)
