3 min readBy Amandeep Singh

OpenCode 2.3 Adds Background Execution and GPT-6.2 Cache Fix

OpenCode 2.3.1 and 2.3.2 add background command handling, GPT-6.2 access, and a prompt-caching fix, based on the official changelog.

Share
OpenCode 2.3 Adds Background Execution and GPT-6.2 Cache Fix

OpenCode published v2.3.1 and v2.3.2 on November 18, adding background handling for long-running shell commands and session compaction, GPT-6.2 model access through ChatGPT sign-in, and a prompt-caching fix for supported Responses API routes.

These are workflow changes around an AI coding agent rather than a new autonomous coding capability. They affect how a session behaves when commands run longer than the foreground wait period, how context is prepared near the compaction threshold, and whether repeated system instructions can be reused by provider-side caching.

Long-running commands no longer have to be killed

The official OpenCode changelog says v2.3.1 moves a shell command that is still running when its timeout expires into the background instead of terminating it. The release also says a foreground timeout: 0 now means the default 120 seconds.

That matters for builds, test suites and other developer commands that can outlast an agent's foreground wait period. Killing a process at the timeout can discard useful work; moving it to the background lets the agent return control while the command continues. The release note documents the behaviour, but does not quantify how often it improves task completion or how it behaves across every terminal and operating system.

The same release moves automatic session-compaction summaries into the background as a conversation approaches its compaction threshold. OpenCode documents a compaction.background: false setting to disable it. The project also notes that a background summary that is ultimately unused still consumes tokens.

GPT-6.2 access and prompt caching

OpenCode's v2.3.1 changelog adds GPT-6.2 Sol and GPT-6.2 Astra, including fast variants, to the model picker for users signing in with ChatGPT. This is a provider-access change, not a guarantee that every account or deployment automatically has access to every model.

The follow-up v2.3.2 release addresses a prompt-caching issue. OpenCode says GPT-6.2 models do not cache a system prompt when it is sent in the Responses API's instructions field. The project changed request construction so the system prompt is sent as a leading developer message on Responses routes, allowing it to be cached from the second step onward.

The changelog names OpenAI API-key and ChatGPT sign-in, GitHub Copilot, Zen, Azure and OpenRouter routes. That list should not be read as a promise of identical savings for every provider, account tier or configuration. Actual billing depends on provider-side caching eligibility, prompt reuse and request behaviour. OpenCode has not published an independently measured cost reduction in the release notes.

Version 2.3.2 also fixes a structured-output issue in webfetch, where a result could repeat the URL and format supplied to the tool.

Why these maintenance changes matter

A coding agent's usefulness depends on more than model quality. Its execution lifecycle, context management, provider integration and handling of long-running tools all affect whether it can finish real engineering work without interruption or unexpected cost.

The two releases address three friction points: commands that outlive the foreground timeout, pauses while session compaction is prepared, and repeated prompt input on supported GPT-6.2 Responses calls. They are practical reliability changes, but the changelog does not establish that they improve coding accuracy or overall task success.

What the X trend does—and does not—show

The screenshot supplied for this assignment showed OpenCode in X's “What's happening” panel. It establishes that the topic appeared in that particular interface at that moment. It does not reveal the trend's geographic scope, ranking, volume or why users were discussing the project.

The dated project changelog is the stronger evidence for this report. It establishes what OpenCode's maintainers say shipped; it is not an independent test of the expected benefits.

What developers should check

  • Confirm that the installed version is v2.3.1 or v2.3.2 before expecting these behaviours.
  • Review scripts that assume a foreground timeout will terminate a process.
  • Decide whether background compaction fits the team's latency and token-cost expectations.
  • Verify the active GPT-6.2 provider route before assuming prompt caching applies.
  • Compare provider usage records before attributing a specific saving to the change.

OpenCode 2.3.1 and 2.3.2 are best understood as workflow-maintenance releases for an increasingly agent-oriented coding environment. Their importance is not a headline-grabbing new model; it is whether the surrounding software can keep work running, manage context with fewer interruptions and avoid repeatedly paying for reusable prompt content.

Reporting note: This article is based on the official OpenCode changelog. No hands-on test or independent benchmark of the new behaviour was performed for this report.

AI-assisted content

This story was drafted and/or edited with AI assistance and reviewed before publishing.

Share

Written by Amandeep Singh

More posts

Get new stories by email

Explore more topics

Related stories

OpenCode 2.3 Adds Background Shell Work and GPT-6.2 Fix
3 min read

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.

How to Use OpenCode for Free: Beginner Vibe Coding Guide
8 min read

How to Use OpenCode for Free: Beginner Vibe Coding Guide

A beginner guide to using OpenCode for free: setup, models, prompts, and practical tips for AI-powered vibe coding without unnecessary cost.

GitHub Copilot November Updates: New Models, Agents, Reviews
4 min read

GitHub Copilot November Updates: New Models, Agents, Reviews

GitHub Copilot’s November updates add new models, agent connections, code-review controls, secret detection, and evaluation tooling.