Back to models
Try in Agents
Model · Anthropic
Claude Opus 5
anthropic/claude-opus-5
Anthropic's latest flagship model with 1M context — step-change improvement over Opus 4.8 for agentic coding and long-horizon reasoning
reasoningvisioncachinglegacy
Specs
Context
1M
Max output
33K
Provider
Anthropic
Input
$5.00/ 1M tokens
Output
$25.00/ 1M tokens
Cache read
$0.500/ 1M tokens
Cache write
$6.25/ 1M tokens
Try it
Chat with Claude Opus 5Terramind API
⌘+Enter to run
Code
import { streamText } from "ai";
import { createOpenAICompatible } from "@ai-sdk/openai-compatible";
const terramind = createOpenAICompatible({
name: "terramind",
baseURL: "https://terramind.com/api/v1",
apiKey: process.env.TERRAMIND_API_KEY!,
});
const result = streamText({
model: terramind("claude-opus-5"),
prompt: "Why is the sky blue?",
});
for await (const chunk of result.textStream) {
process.stdout.write(chunk);
}
Want to run this in your app? Grab an API key · Full chat reference
More by Anthropic
| Model | Context | In | Out | Capabilities |
|---|---|---|---|---|
| 1M | $3.00 | $15.00 | visioncaching | |
| 1M | $2.00 | $10.00 | visioncaching | |
| 1M | $2.00 | $10.00 | visioncaching | |
| 200K | $1.00 | $5.00 | visioncaching | |
| 1M | $0.100 | $0.500 | visioncaching | |
| 1M | $5.00 | $25.00 | reasoningvisioncaching | |
| 1M | $5.00 | $25.00 | reasoningvisioncaching | |
| 1M | $5.00 | $25.00 | reasoningvisioncaching |