[PR #12326] feat: add Claude Opus 4.6 model support #14169

Closed
opened 2026-02-16 18:18:58 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/12326

State: closed
Merged: No


Summary

Adds Claude Opus 4.6 (claude-opus-4-6) model entries to the test fixture for all major providers, following the Anthropic announcement on February 5, 2026.

  • Adds model data to anthropic, opencode/zen, google-vertex-anthropic, amazon-bedrock, and openrouter providers in the models-api.json test fixture
  • Includes long context pricing tier (context_over_200k) for the 1M token context window beta
  • Model specs: 200K context (1M beta), 128K max output, $5/$25 per MTok, reasoning + tool use + vision

Model entries added

Provider Model ID
anthropic claude-opus-4-6
opencode (zen) claude-opus-4-6
google-vertex-anthropic claude-opus-4-6
amazon-bedrock anthropic.claude-opus-4-6-v1:0
openrouter anthropic/claude-opus-4.6

No source code changes needed — the provider system is data-driven and handles new models generically through the existing transform/variant logic.

Closes #12323

Test plan

  • Verify models-api.json is valid JSON
  • Existing provider tests continue to pass
  • New model entries have correct pricing, limits, and capabilities matching Anthropic docs

🤖 Generated with Claude Code

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/12326 **State:** closed **Merged:** No --- ## Summary Adds Claude Opus 4.6 (`claude-opus-4-6`) model entries to the test fixture for all major providers, following the [Anthropic announcement](https://www.anthropic.com/news/claude-opus-4-6) on February 5, 2026. - Adds model data to **anthropic**, **opencode/zen**, **google-vertex-anthropic**, **amazon-bedrock**, and **openrouter** providers in the `models-api.json` test fixture - Includes long context pricing tier (`context_over_200k`) for the 1M token context window beta - Model specs: 200K context (1M beta), 128K max output, $5/$25 per MTok, reasoning + tool use + vision ### Model entries added | Provider | Model ID | |----------|----------| | anthropic | `claude-opus-4-6` | | opencode (zen) | `claude-opus-4-6` | | google-vertex-anthropic | `claude-opus-4-6` | | amazon-bedrock | `anthropic.claude-opus-4-6-v1:0` | | openrouter | `anthropic/claude-opus-4.6` | No source code changes needed — the provider system is data-driven and handles new models generically through the existing transform/variant logic. Closes #12323 ## Test plan - [ ] Verify `models-api.json` is valid JSON - [ ] Existing provider tests continue to pass - [ ] New model entries have correct pricing, limits, and capabilities matching [Anthropic docs](https://platform.claude.com/docs/en/about-claude/models/overview) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
yindo added the pull-request label 2026-02-16 18:18:58 -05:00
yindo closed this issue 2026-02-16 18:18:58 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14169