Claude Opus 4.5
Claude Opus 4.5 costs $5 per 1M input tokens and $25 per 1M output tokens on LLM API, with a 200K-token context window.
Pricing
Lowest price among 2 providers, after discounts.
| Input | $5 | per 1M tokens |
|---|---|---|
| Output | $25 | per 1M tokens |
| Cache read | $0.5 | per 1M tokens |
| Web search | $0.01 | per search |
Providers
Prices after each provider’s discount; the lowest in bold.
| $5 | $25 | $0.5 | 200K | 4K | |
| $5 | $25 | $0.5 | 200K | 4K |
Features
“Some providers”: not every provider of this model supports it.
- ToolsYes
- Parallel tool callsNo
- Image inputYes
- ReasoningYes
Levels: low, medium, high
- Prompt cachingYes
- Structured outputsYes
- JSON modeYes
- StreamingYes
- Web searchSome providers
- Also acceptsclaude-opus-4.5
Call Claude Opus 4.5
POST /v1/messagesSet LLMAPI_KEY to your LLM API key.Anthropic Messages docs
import os
import anthropic
client = anthropic.Anthropic(
base_url="https://api.llmapi.ai",
api_key=os.environ["LLMAPI_KEY"],
)
message = client.messages.create(
model="claude-opus-4-5-20251101",
max_tokens=4096,
messages=[{"role": "user", "content": "Hello"}],
)
for block in message.content:
if block.type == "text":
print(block.text)import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic({
baseURL: "https://api.llmapi.ai",
apiKey: process.env.LLMAPI_KEY,
});
const message = await client.messages.create({
model: "claude-opus-4-5-20251101",
max_tokens: 4096,
messages: [{ role: "user", content: "Hello" }],
});
for (const block of message.content) {
if (block.type === "text") console.log(block.text);
}curl https://api.llmapi.ai/v1/messages \
-H "x-api-key: $LLMAPI_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "content-type: application/json" \
-d '{
"model": "claude-opus-4-5-20251101",
"max_tokens": 4096,
"messages": [{"role": "user", "content": "Hello"}]
}'POST /v1/chat/completionsSet LLMAPI_KEY to your LLM API key.Chat Completions docs
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.llmapi.ai/v1",
api_key=os.environ["LLMAPI_KEY"],
)
response = client.chat.completions.create(
model="claude-opus-4-5-20251101",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.llmapi.ai/v1",
apiKey: process.env.LLMAPI_KEY,
});
const response = await client.chat.completions.create({
model: "claude-opus-4-5-20251101",
messages: [{ role: "user", content: "Hello" }],
});
console.log(response.choices[0].message.content);curl https://api.llmapi.ai/v1/chat/completions \
-H "Authorization: Bearer $LLMAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-opus-4-5-20251101",
"messages": [{"role": "user", "content": "Hello"}]
}'More from Anthropic
All Anthropic text models
Claude Opus 5.5claude-opus-5-5$4 / $20per 1M input / output
Claude Sonnet 5.5claude-sonnet-5-5$2 / $10per 1M input / output
Claude Haiku 5.5claude-haiku-5-5$0.1 / $0.5per 1M input / output
Prices synced .