AI Gateway
Claude Opus 4.1 is a drop-in replacement for Opus 4 that delivers superior performance and precision for real-world coding and agentic tasks. Opus 4.1 advances state-of-the-art coding performance to 74.5% on SWE-bench Verified, and handles complex, multi-step problems with more rigor and attention to detail.
import { streamText } from 'ai'
const result = streamText({ model: 'anthropic/claude-opus-4.1', prompt: 'Why is the sky blue?'})
Try out Claude Opus 4.1 by Anthropic. Usage is billed to your team at API rates. Free users get $5 of credits every 30 days, and you are considered a free user if you haven't made a payment.
Chat with
Powered by AI Gateway
Anthropic
Context 200K
Input Tokens $15.00/M
Output Tokens $75.00/M
Cache Read Tokens $1.50/M
Cache Write Tokens $18.75/M