Claude Opus 4.1
Claude Opus 4.1 improves on Claude Opus 4 with targeted gains in agentic task execution, real-world coding, and multi-step reasoning, available on Vercel AI Gateway via anthropic, bedrock, vertexAnthropic with automatic retries and failover.
import { streamText } from 'ai'
const result = streamText({ model: 'anthropic/claude-opus-4.1', prompt: 'Why is the sky blue?'})