OpenCode lists claude-opus-4-6 in its model snapshot but lacks support for its key features:
- Adaptive thinking (
thinking.type: "adaptive") — model decides its own thinking budget
- Effort levels including
"max" — controls output quality/speed tradeoff
- Fast mode (
speed: "fast") — 2.5x faster output tokens
These require @ai-sdk/anthropic@3.x (currently on 2.0.58). The v2 SDK Zod schema strips adaptive, max effort, and speed as unknown fields.
This also requires bumping the full AI SDK ecosystem to v6 (ai@6.0.81, all providers to latest).
A PR is ready: #13228
OpenCode lists
claude-opus-4-6in its model snapshot but lacks support for its key features:thinking.type: "adaptive") — model decides its own thinking budget"max"— controls output quality/speed tradeoffspeed: "fast") — 2.5x faster output tokensThese require
@ai-sdk/anthropic@3.x(currently on 2.0.58). The v2 SDK Zod schema strips adaptive, max effort, and speed as unknown fields.This also requires bumping the full AI SDK ecosystem to v6 (
ai@6.0.81, all providers to latest).A PR is ready: #13228