# Gemini agent SDK adds shared context caching across sessions

Source: [Google](https://developers.googleblog.com/gemini-agent-sdk-context-cache)  
Feed7 permalink: https://feed7.dev/p/gemini-context-caching  
Published: 2026-06-29T00:00:00.000Z  
Trust: Official Source (official_source)

## Why Included

Cached context is billed once and reused across agent sessions — changes the economics of long system prompts.

## 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.

## Context Map

- Layer: context
- Domains: coding
- Topics: context-caching

## Uncertainty

- None recorded.

## Agent Instruction

Use this item as source-backed context. Do not invent claims beyond the linked source. If this item conflicts with another source, call out the conflict.
