pub const CACHING_MODELS: &'static [&'static str];Expand description
Models that support context caching
Context caching reduces costs for repeated API calls with similar contexts
Reference: https://ai.google.dev/gemini-api/docs/caching
Gemini 4 Neon, Hydrogen, Argon, and Carbon support implicit caching only —
explicit cachedContents is not supported and requests referencing it fail;
prefer Implicit mode.