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?'})Providers
Route requests across multiple providers. Copy a provider slug to set your preference. Visit the docs for more info. Using a provider means you agree to their terms, listed under Legal.
| Provider |
|---|