Teams using Opencode to orchestrate calls to GPT-6.2 models have likely seen a spike in token usage during multi-step agent runs. The culprit was simple: GPT-6.2 didn’t cache system prompts sent via the Responses instructions field, so every step was charged as if it were new input. This meant that, for example, on GitHub Copilot with gpt-6.2-sol, each step would rack up about 14,000 uncached tokens—multiplying costs with every agent action.
Opencode 2.3.2 addresses this directly. The release changes how system prompts are delivered, ensuring they are cached from the second step onward, and bringing a dramatic reduction in repeated token billing.
What changed in prompt handling
The key fix is that Opencode now injects the system prompt as a leading developer message for every Responses route. This covers OpenAI (via API key or ChatGPT sign-in), GitHub Copilot, Zen, Azure, and OpenRouter. The change means that the model’s caching logic is triggered, so only the first step pays the full prompt cost. According to the changelog, uncached input per step dropped from about 14,000 tokens to 3 for Copilot’s gpt-6.2-sol—turning what was a major recurring cost into a negligible one.
The relevant changelog lines are:
GPT-6.2 models don't cache a system prompt sent in the Responses instructions field, so every step re-billed it as uncached input.OpenCode now sends it as a leading developer message on every Responses route... so it is cached from the second step on.
Impact on cost and workflow
For anyone running agents or workflows that require multiple steps with GPT-6.2, this change is immediate and measurable. The drop from 14,000 to 3 tokens per step means that even long-running sessions will no longer multiply billing due to repeated prompt transmission. This applies equally whether you’re using OpenAI’s own endpoints, Copilot, or alternative providers like OpenRouter or Zen.




