Claude Opus 4.6
Claude Opus 4.6 is the first Opus model with a context window of 1M tokens, introduces adaptive thinking for model-decided reasoning depth, supports interleaved thinking and tool calls in a single response, and delivers equal or better performance than fixed extended thinking across programming, analysis, and creative tasks.
import { streamText } from 'ai'
const result = streamText({ model: 'anthropic/claude-opus-4.6', prompt: 'Why is the sky blue?', providerOptions: { anthropic: { speed: 'fast', }, gateway: { only: ['anthropic'], }, },})