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?'})Frequently Asked Questions
What specific improvements does Opus 4.1 make over Opus 4?
Opus 4.1 improves agentic task execution, real-world coding, and reasoning over the Opus 4 baseline. It refines multi-step workflows and complex code generation while maintaining the same API interface.
How do I switch from Claude Opus 4 to Opus 4.1 in my existing code?
Update the model string to
anthropic/claude-opus-4.1in your AI SDK v5 integration. No other code changes are required for the common case.Which providers back Opus 4.1 on AI Gateway?
AI Gateway routes Opus 4.1 through anthropic, bedrock, vertexAnthropic, with automatic failover between providers.
Is Opus 4.1 a significantly different model from Opus 4, or an incremental update?
It's a targeted advance on the Opus 4 baseline, not a new architecture. Expect refinements in agentic task execution, coding, and reasoning rather than a fundamentally different model.
Does Opus 4.1 support extended thinking with tool use?
Opus 4.1 is part of the Claude 4 generation, which introduced extended thinking with tool use. Check the API documentation for the specific capabilities available on the 4.1 checkpoint.
What latency should I expect from Opus 4.1 through AI Gateway?
AI Gateway surfaces live performance metrics on this page, including throughput and time-to-first-token data that reflect real-time traffic conditions for this model.
When was Opus 4.1 made available on AI Gateway?
May 22, 2025, the same day Anthropic released the model.