Switching Gemini reasoning effort wipes prompt cache, one turn re-billed at $1.37

mariofilhoml · x · 2026-11-28

A bug report on the Google AI Developers Forum shows that in Google Antigravity (2.35.0), merely switching reasoning effort (High ↔ Medium ↔ XHigh) within the same Gemini 4 Carbon/Neon model family invalidates 100% of the prompt cache on long conversations (230k–458k tokens).

6 out of 7 measured switches resulted in cacheread = 0, re-billing the full context as fresh input — one turn on a 458k-token context cost $1.37.

Likely cause: reasoning levels map to distinct model IDs (e.g. gemini-4-carbon-high vs -medium), isolating Gemini's implicit prompt cache per model string. The author suggests sharing cache across effort levels or warning users before a full uncached re-bill. Related reports show same-model cache also drops to 0 on new turns, system reminders, and stream retries.

Original post →

More from Models

Models channel →