Gemini 4 Argon drops explicit context caching and ignores sampling parameters
Explicit context caching (cachedContents / caches.create) is not supported on gemini-4-argon, so requests that reference cached_content must change. temperature, top_p and top_k are ignored if provided.
What does this mean for me?
Plan for it
Engineering leadership
Cost, risk, timeline, team impact Plan for itMoving to Gemini 4 Argon is more than a model-string change for teams that use explicit context caching. Budget engineering time for that rework before committing to a migration date.
Engineer
What to change, what breaks, what to test Plan for itBefore switching to gemini-4-argon, remove cachedContents / caches.create calls and any cached_content on requests, and rely on implicit caching (prompts of 4,096+ tokens). Drop temperature, top_p and top_k: they are silently ignored, so do not count on them.
General consumer
Using the Gemini app, not the API No impactNothing to do. These are developer API differences and do not change the Gemini app.
Google’s migration checklist for Gemini 4 Argon (gemini-4-argon), released October 13, 2026, lists two API differences that affect code moved over from earlier Gemini models.
Explicit context caching is not supported. Calls that create caches (cachedContents / caches.create) or pass cached_content on a request have to be removed before switching the model string. Implicit caching is on by default for prompts of at least 4,096 tokens and discounts cache hits by 95%, so repeated long prefixes are still discounted without explicit caches.
The sampling parameters temperature, top_p and top_k are ignored if provided. They do not cause an error, so code that relies on them for determinism or output diversity keeps running but no longer gets the behaviour it asked for.
The page does not say exactly what error a request carrying cached_content returns on this model; it says only that explicit caching is not supported and the calls should be removed.
API surface
| Parameter | Change | Breaking | Models |
|---|---|---|---|
cached_content | removed | yes | gemini-4-argon |
temperature | changed | no | gemini-4-argon |
top_p | changed | no | gemini-4-argon |
top_k | changed | no | gemini-4-argon |
Terms on this page: Prompt caching