OpenCode 2.3 Adds Background Shell Work and GPT-6.2 Fix
OpenCode 2.3.1 and 2.3.2 add background shell execution, background compaction, GPT-6.2 support, and a prompt-caching fix.
Reporting cutoff: 2026-11-19, 08:20 UTC
OpenCode shipped versions 2.3.1 and 2.3.2 on November 18, with changes aimed at long-running coding sessions and repeated prompt costs on GPT-6.2 Responses routes. The releases alter how the application handles shell commands that outlive a timeout, how it compacts long conversations, and how it sends system instructions to supported model providers.
The updates matter because an AI coding agent is more than a model picker. Its ability to manage tools, preserve context and control repeated input can shape both the reliability and cost of a multi-step session.
Commands can continue after the wait ends
The OpenCode 2.3.1 changelog says a shell command that is still running when its timeout expires now moves to the background instead of being killed. A long build or test process can therefore continue after the foreground wait has ended and report back later.
That distinction is important: a timeout can stop the caller waiting without necessarily terminating the process. It does not guarantee the command will succeed, that every environment will preserve the process in the same way, or that background results are immune to interruption. Developers should still inspect the command status and output before treating a task as complete.
The same release changes automatic context compaction. As a session approaches its context limit, OpenCode writes the summary in the background so the next prompt does not pause for the summarisation step. The changelog notes that a background summary that ultimately goes unused still costs tokens. Users can disable this behaviour with compaction.background: false.
GPT-6.2 arrives for ChatGPT sign-in users
OpenCode 2.3.1 also adds GPT-6.2 Astra and GPT-6.2 Sol, including fast variants, to the model picker for users signing in with ChatGPT. The wording matters: this is a model-picker availability change for that sign-in route, not a claim that every OpenCode user automatically receives access regardless of account eligibility.
The release also lists interface and extension changes, including plugin updates from Settings → Extensions and a comment action when code is selected in diff and file viewers.
The prompt-caching fix in 2.3.2
The next release addresses prompt caching on GPT-6.2 Responses routes. OpenCode’s changelog explains that system prompts sent through the Responses instructions field were not cached as expected, causing repeated steps to be billed as uncached input.
OpenCode says it now sends the system prompt as a leading developer message on each Responses route. The changelog names OpenAI API-key and ChatGPT sign-in routes, as well as GitHub Copilot, Zen, Azure and OpenRouter. It says the prompt is cached from the second step onward.
This is a description of the integration change, not a measured guarantee of a particular percentage reduction in total cost. Actual savings depend on repeated prefix size, provider behaviour, the number of steps and how much of a request consists of cacheable input. OpenCode’s note also records a fix for structured output from webfetch, which no longer repeats the URL and format passed to the tool.
Why these maintenance changes matter
Agentic coding tools can spend a large share of a session waiting for commands, summarising context and resending instructions. Improvements in these areas can make interaction less disruptive and reduce unnecessary repeated input. They do not prove that the model writes better code or that an agent completes more tasks successfully.
A team evaluating the update should test long builds and test suites in its own environment, check how background command results are surfaced, and compare token usage on repeated multi-step requests. The comparison should keep the model, prompt, provider, task and tool configuration constant.
What the release notes do not establish
The OpenCode changelog is the primary source for the version-specific changes. It does not provide an independent benchmark of developer productivity, a controlled cost comparison across providers or evidence that background execution improves build success rates. This report does not claim to have tested the application.
The practical takeaway is narrower but useful: OpenCode 2.3.1 changes how long-running commands and compaction are handled, while 2.3.2 corrects a prompt-caching integration issue affecting GPT-6.2 Responses routes. Developers should update through the project’s supported channel and validate the behaviour against their own workloads.
Cover: /blog/opencode-2-3-ai-coding-agent-release/cover.svg
OG image: /blog/opencode-2-3-ai-coding-agent-release/og.svg
AI-assisted content
This story was drafted and/or edited with AI assistance and reviewed before publishing.
