Carry Gemini Conversation State Server-Side Instead of Resending the Transcript

Stops re-sending the transcript each turn and lets the reused prefix hit implicit caching (cache-hit tokens billed at 10% of input price on Gemini 2.5+); compounds with conversation length, best-effort not guaranteed Intermediate 2 min read

A multi-turn Gemini agent that rebuilds its contents list re-sends the whole transcript at full input price every turn. The Interactions API holds history server-side; pass previous_interaction_id, send only the new turn, and let the reused prefix hit implicit caching.

🔒 Pro tip · Intermediate

Unlock this tip — and 105 more

This is one of 106 advanced, fact-checked tactics reserved for Pro. Get the full 128-tip library, a searchable archive, and a new tip every morning. Free for 7 days, then $9/mo.

Prefer to browse? The 22 Beginner tips are free forever.