Google Breaking change major

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 it

    Moving 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 it

    Before 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 impact

    Nothing 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

ParameterChangeBreakingModels
cached_contentremovedyesgemini-4-argon
temperaturechangednogemini-4-argon
top_pchangednogemini-4-argon
top_kchangednogemini-4-argon

Terms on this page: Prompt caching

Sources

Confidence
high
Verification
Verified: stated on the vendor's own pages
Date precision
exact
How this entry was made
Drafted by an agent, reviewed by a person