Skip to content

v4.1.0 - GPT 5.2 Support & Full Image Input

Choose a tag to compare

@numman-ali numman-ali released this 11 Dec 22:21
· 17 commits to main since this release

🚀 GPT 5.2 Support & Full Image Input Capabilities

This release adds support for OpenAI's latest GPT 5.2 model and enables full multimodal image input across all 16 model variants.

✨ New Features

GPT 5.2 Model Family

  • 4 new model presets with full reasoning support:
    • gpt-5.2-low - Fast responses with light reasoning
    • gpt-5.2-medium - Balanced reasoning for general tasks
    • gpt-5.2-high - Complex reasoning and analysis
    • gpt-5.2-xhigh - Deep multi-hour analysis (same capabilities as Codex Max)

🖼️ Full Image Input Support

  • All 16 models now support image input via modalities.input: ["text", "image"]
  • Read screenshots, diagrams, UI mockups, and any image directly in OpenCode
  • No additional configuration required - just use the full config

📝 Changes

  • Model ordering: Config now prioritizes newer models (GPT 5.2 → Codex Max → Codex → Codex Mini → GPT 5.1)
  • Explicit reasoning levels: Removed default presets without reasoning suffix to enforce explicit selection
  • Test coverage: 193 unit tests + 16 integration tests (all passing)
  • Security: Updated @opencode-ai/plugin to ^1.0.150 (0 vulnerabilities)

📦 Installation

Update your opencode.json to use the new version:

{
  "plugin": ["opencode-openai-codex-auth@4.1.0"]
}

Then copy the full config from config/full-opencode.json.

🔧 Usage

# GPT 5.2 models
opencode run "analyze this" --model=openai/gpt-5.2-high
opencode run "deep research" --model=openai/gpt-5.2-xhigh

# With image input (automatic - no extra config needed)
# Just reference images in your prompts and OpenCode will handle them

Full Changelog: v4.0.2...v4.1.0