Skip to main content

CACHING_MODELS

Constant CACHING_MODELS 

Source
pub const CACHING_MODELS: &[&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 Argon supports implicit caching only — explicit cachedContents is not supported and requests referencing it fail; prefer Implicit mode.