Google has changed what happens when part of a Gemini 4 request falls out of the Gemini API’s implicit cache. The 4 December release notes say eligible evicted prefixes can be kept in encrypted SSD storage for up to 12 hours. That gives a subsequent request another chance to reuse work on its shared opening. Google says it charges no extra storage fee for this layer. Projects with an approved zero data retention exception continue to use in-memory caching.
For developers, the useful question is how often an application returns to the same expensive block of input. A product support bot may open every request with a long policy manual before appending a customer’s question. A repository assistant might include the same architectural documentation all day, with busy periods around releases and quieter periods between them. These workloads produce a recognisable shared prefix. The SSD layer gives that prefix a chance to remain available between bursts of traffic.
The part of a request that can be reused
A prefix is the opening sequence of tokens in a request. For a service that assembles prompts from reusable instructions, reference material and user input, the order in which those pieces are combined matters. Stable content near the beginning can be shared across requests when the opening tokens match and meet the model’s caching requirements. Changes near the beginning reduce the amount of contiguous text that can be shared. A service that pastes a request ID, timestamp or changing greeting ahead of its policy instructions can therefore cut its own opportunity to reuse those instructions.
The change applies to implicit caching, where the service looks for reusable prefixes as it processes eligible requests. Developers can also use explicit caching on supported models, which involves intentionally creating reusable cached content and referring to it in requests. The December entry concerns the automatic layer. It names no new control for choosing which prefixes go to SSD or setting their lifetime.
The twelve-hour figure describes Google’s stated upper bound for keeping evicted prefixes in durable storage. Applications should expect some misses. Capacity, eligibility and the shape of real traffic all affect whether two requests benefit from a cached prefix. Billing and performance forecasts should come from observed usage across a representative interval. A handful of requests on an otherwise idle test project can provide a basic check, but longer samples catch traffic gaps and changes to the material the application sends.
The result is best understood at project level. Two applications that use the same Gemini model can see different gains because their requests share different amounts of text. Even within one service, an expensive document-heavy background job can have a different cache profile from a chat feature that mostly receives short, independent queries.
Where the economics show up
The added SSD layer has no separate storage fee, according to Google. Where requests qualify, the economics still depend on the Gemini model’s published cached input rates and the actual number of cached input tokens. Output generation and inputs outside the reused prefix have their own billing treatment. That distinction matters for an application with a small repeated preamble that spends most of its budget generating long answers. A service sending a large repeated manual with each short query has a different cost profile.
Cached input should be tracked alongside total input and output, model version, workload type and time between related requests. A team can compare a cold start after a long idle period with the first request following a shorter gap and with steady traffic during the workday. If it also moves stable material earlier in the request, it should keep that change identifiable in the comparison. That makes it easier to distinguish a gain from prompt assembly from a gain associated with the longer cache window.
Retention remains a project decision
Google explicitly keeps projects with an approved zero data retention exception on in-memory caching. Organisations with strict retention commitments should check which projects actually have that exception, particularly when development, testing and production use different projects. The encrypted SSD tier is a change in where eligible cached material can live and how long it may remain available. The release note gives a useful starting point for that review, alongside the service’s current data retention documentation and the organisation’s own agreement.
Cache design also needs to follow the application’s allocation of confidential data. A shared product manual used by every customer is straightforward to position early. A document belonging to one customer should stay inside the appropriate request and account boundaries. Growing a cacheable prefix is one factor among several when deciding how to assemble model inputs.
For Gemini 4 users already sending stable prefixes, the rollout could change the observed mix of hits without any application code change. Developers who own prompt assembly can investigate further by looking at shared-prefix length and cache usage across real request intervals. A useful result is a clearer picture of which part of the bill comes from repeating large inputs, and how much of that repetition the service can now reuse.