Google has made a preview available through the Interactions API that lets developers change system instructions and tools during Gemini API sessions. Google says agents can respond to those changes without processing the whole conversation again or increasing costs.
The feature addresses sessions that can run for dozens or hundreds of turns, during which permissions, rules and tools may change. Previously, modifying tools or system instructions invalidated the prompt cache, forcing the model to process the conversation history again and adding expense and delay, according to Google.
Read more: Google Gemini 4 Carbon Opens to Developers Through Paid API
Developers could instead put revised instructions into a user message to keep the cache intact. But Google says those messages have less authority than system instructions and that users may attempt to mimic them, making that workaround a tradeoff between preserving the cache and retaining instruction authority.
The preview follows Google's November launch of Gemini 4 Hydrogen across services including the Gemini API, with pricing of $1.50 for each million input tokens and $7.50 for each million output tokens. Google also introduced Orchestrator in Google Antigravity, which can switch models within a session; Google said it used 24% less quota on average and completed work 19% faster on Terminal-Bench 4.0 while approaching Carbon's task success.













