News · Anomaly (OpenCode) · 2 min read
Event date: · Published:
OpenCode 2.4.2 adds GPT-6.2 prompts, trims media generation tokens
OpenCode's 2.4.2 release adds system prompts for GPT-6.2 Sol and Astra, moves image and video generation into Code Mode to cut token use, and scopes web-fetch permissions per site.
Anomaly's OpenCode project released version 2.4.2 on November 26, 2026, adding dedicated system prompts for OpenAI's GPT-6.2 models and moving image and video generation into Code Mode to cut token use, according to the official changelog.
What changed in OpenCode 2.4.2
- Adds a dedicated system prompt for OpenAI's GPT-6.2
SolandAstramodels, plus thegpt-latestaliases - OpenCode Go now appears first in the model picker during onboarding
- Pressing Esc before a model responds returns the unsent message, including images, to the composer for editing
- Web-fetch's "Always allow" permission is now scoped to specific sites instead of granted globally
- Image and video generation moved into Code Mode, cutting token usage by roughly 700 tokens per use
- The release bundles roughly 30 additional improvements and 15 to 22 bug fixes across Core, Terminal, Desktop, SDK and Extensions
What it means for people building with AI
The Code Mode change lowers the cost of generating images and video inside an open coding agent, directly cutting running costs for developers who lean on OpenCode for multimodal tasks. Day-one support for GPT-6.2 Sol and Astra also means teams can start using OpenAI's newest models without waiting on separate prompt tuning.
Other fixes in this release
- Automations now continue running after a failed run instead of stopping
- Shell commands used in automations now time out properly instead of hanging
- Sending a message to an archived session automatically unarchives it
Sources
- OpenCode v2.4.2 (OpenCode, November 26, 2026, official)
Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.