Back
GoogleDocs UpdateOfficial SourceNew
Gemini agent SDK adds shared context caching across sessions
Cached context is billed once and reused across agent sessions — changes the economics of long system prompts.
GoogleJun 29, 20265 min
Source Summary
The agent SDK now exposes cross-session context caching with explicit TTL control. Cached tokens are ~10x cheaper on reuse.
Practical Implication
Big static context (style guides, schemas, docs) belongs in the cache, not the prompt. Restructure bundles so stable material leads.
Agent-Ready Context
Gemini SDK caches context across sessions with TTL control; cached tokens ~10x cheaper. Put stable material (guides, schemas) first so it caches; keep volatile material last.
Labels
Context EngineeringModel SelectionGeneric AgentPlan FeatureCompare Tools
Rate This Item
Personal Note
No note yet. Notes are included in exported bundles.
Related — Every Edge Explained
Graph is progressive enhancement. Every edge listed below.