OpenCode v1.2.3: Model Variants & DB Fixes

OpenCode v1.2.3 adds variant support for Anthropic models on OpenRouter, improves database reliability with WAL checkpoints, and fixes Vercel's Bedrock model handling.

OpenCode v1.2.3: Model Variants & DB Fixes

TL;DR

  • Anthropic models on OpenRouter now support variants
  • WAL checkpoint added on database open for better reliability
  • Vercel variants now correctly pass Amazon Bedrock models

New

  • Anthropic model variants on OpenRouter — OpenRouter's Anthropic models now have full variant support, matching behavior across other providers.
  • WAL checkpoint on database open — Database now checkpoints the write-ahead log when opening, improving recovery and consistency.

Fixed

  • Vercel variants with Amazon Bedrock — Vercel variants now correctly pass Amazon models under the Bedrock key instead of dropping them.

Update with: npm install opencode@1.2.3

Source: OpenCode