Deep diveProvider guide

Context caching

Implicit caching is on by default for Gemini 2.5 and newer. Put large, common content at the start of the prompt, send requests with a similar prefix close together, and read usage.total_cached_tokens to confirm hits.

From
Provider guide: published by Google on its own site, aistudio.google.com.
Checked
, against the source

Dossiers