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?'})About Claude Opus 4.1
Claude Opus 4.1 became available on Vercel AI Gateway on May 22, 2025, released the same day by Anthropic. Access it via the AI SDK, Chat Completions API, Responses API, Messages API, or other API formats, from TypeScript or Python, with the model string anthropic/claude-opus-4.1. Through AI Gateway, you get a unified API, usage and cost tracking, and provider routing across anthropic, bedrock, vertexAnthropic, a single integration point without separate credentials for each provider.
Opus 4.1 slots into existing Opus 4 workflows as an upgrade on the same task categories where Opus excels: complex multi-step agentic work, codebases requiring deep understanding across many files, and reasoning-intensive analysis where the model needs to maintain coherence over extended sessions.
The upgrade path from Opus 4 is a model string change. The API surface, pricing structure, and integration patterns stay consistent with the Opus 4 baseline.