OpenCode 2.4.2 cuts about 700 tokens per request and tunes GPT-6.2
About 700 tokens: that is what OpenCode 2.4.2, released 26 November, stops adding to every request, by moving generate_image and generate_video inside Code Mode instead of declaring them as top-level tools. The same release gives GPT-6.2 Sol and Astra, plus the gpt-latest aliases, a system prompt written for GPT-6.2, puts Plan mode rules in the system prompt, and fixes sign-in to MCP servers whose URL has a query string, such as the AWS MCP Server. Moving a session now moves its subagents too, and desktop updates on macOS and Windows download only the parts that changed. Source: https://opencode.ai/changelog
Why it matters
Seven hundred tokens per request is a tax on every prompt, whether you generate an image or not, so removing it is a saving that compounds across a whole session. The GPT-6.2 system prompt is the other half of the story: it follows the 2.3.2 fix that stopped GPT-6.2 prompts being re-billed as uncached input, so GPT-6.2 users get cheaper and better-behaved runs in the same week. The smaller fixes matter too: Plan mode no longer re-adds its reminder after every compaction, which could keep a session running in a loop, and sessions that move now take their subagents with them instead of stranding them. See the [MCP servers hub](https://agentstacklist.com/mcp-servers/) for servers your OpenCode sessions can connect to, and the [OpenCode 2.4 launch story](https://agentstacklist.com/trending/claude/opencode-2-4-desktop-browser-automations-video/) for what 2.4 added three days earlier.
Who it's for
OpenCode 2 users, especially anyone running GPT-6.2 Sol or Astra, and anyone who generates images or video from Code Mode.
How to try it
- Update OpenCode to 2.4.2 from opencode.ai, or let the desktop app update itself; on macOS and Windows it now downloads only the parts that changed instead of the full installer.
- Pick GPT-6.2 Sol or Astra, or a gpt-latest alias, in the model picker; the new system prompt applies automatically, with nothing to configure.
- In Code Mode, ask the agent to generate an image or a video; the tools now run inside Code Mode, so they no longer add about 700 tokens of definitions to every request.
- Move a session to a new folder and confirm its subagents move with it instead of staying behind.
- If you connect an MCP server whose URL has a query string, such as the AWS MCP Server, sign in again; the fix in 2.4.2 covers that case. Plan and availability: OpenCode 2.4.2 is out now, free and open source; update from opencode.ai.
Source: https://opencode.ai/changelog
Written by Emily Carter from the original post. Checked Checked 26 Nov 2026. Features, plans and availability can change, so confirm on the source before you rely on it.
gpt-6-2code-modetokensmcp
More Claude tricks
- OpenCode 2.4 gives your coding agent a browser, automations, and video generation · Nov 24
- Claude Code 2.1.330 draws your charts with easel and lets scheduled tasks run 30 days · Nov 21
- Claude Code 2.1.329 turns /tasks into a control panel and adds Code Mode guardrails · Nov 20
- Claude Code 2.1.328 turns on auto mode by default and lets a failed hook block the action · Nov 19