Skip to content

Claude Opus 4

Claude Opus 4 is a coding model from Anthropic with strong benchmark scores, including 72.5% on SWE-bench Verified and 43.2% on Terminal-bench, with sustained performance on multi-hour agentic tasks and hybrid extended thinking with tool use.

File InputReasoningTool UseVision (Image)Explicit Caching
index.ts
import { streamText } from 'ai'
const result = streamText({
model: 'anthropic/claude-opus-4',
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
Context
Latency
Throughput
Input
Output
Cache
Web Search
Per Query
Capabilities
ZDR
No Training
Release Date
Anthropic
Legal:Terms
Privacy
200K
4.0s
44tps
$15.00/M$75.00/M
Read:$1.5/M
Write:
$18.75/M
$10.00/K
+ input costs
08/05/2025
Amazon Bedrock
Legal:Terms
Privacy
200K
3.0s
17tps
$15.00/M$75.00/M
Read:$1.5/M
Write:
$18.75/M
08/05/2025
Google Vertex AI
Legal:Terms
Privacy
200K
1.4s
42tps
$15.00/M$75.00/M
Read:$1.5/M
Write:
$18.75/M
$10.00/K
+ input costs
08/05/2025