claude-opus-4-5-20251101 API
Run Anthropic's Claude Opus 4.5 on Openrouter API for text and image conversations, tool use, and extended thinking.
claude-opus-4-5-20251101This is a dated snapshot of claude-opus-4-5-20251101. Most users should use the main model page. claude-opus-4-5
claude-opus-4-5-20251101 API pricing
All prices in USD. Openrouter API rates compared with the official list price for the same unit.
| Token type | Openrouter API | Official | Save |
|---|---|---|---|
| Input per 1M tokens | $4.40 | $5.00 | −12% |
| Cached input per 1M tokens | $0.44 | $0.50 | −12% |
| Cache write per 1M tokens | $5.50 | $6.25 | −12% |
| Cache write (5 min) per 1M tokens | $5.50 | $6.25 | −12% |
| Cache write (1 hour) per 1M tokens | $8.80 | $10.00 | −12% |
| Output per 1M tokens | $22.00 | $25.00 | −12% |
What is claude-opus-4-5-20251101?
Anthropic's claude-opus-4-5-20251101 is a Claude Opus chat model positioned as a higher-capability tier for demanding conversational workflows. Its dated identifier is suited to teams that want a pinned snapshot for reproducibility. Build multi-turn assistants that work with text and images, use tools, or enable extended thinking. The documented Claude Messages interface supports SSE streaming, separate system instructions, sampling controls, and a required maximum output token setting.
Access it through Openrouter API's OpenAI-compatible base URL, https://openrouterapi.ru/v1, or use the native Claude Messages protocol at POST /v1/messages. The model supports up to 200,000 input tokens and 64,000 output tokens, plus prompt-cache reads and writes. Openrouter API bills pay as you go, only for successful requests: input costs $4.40 per 1M tokens and output costs $22.00 per 1M tokens. The default configuration is about 12% below the developer's list price.
claude-opus-4-5-20251101 highlights
Text and Image Inputs
The Claude Messages interface supports multimodal content including text and images, along with multi-turn conversations.
Extended Thinking Controls
Enable extended thinking with the thinking parameter. Use the standard model identifier rather than the platform-side thinking alias for easier migration.
Tools and Streaming
Define tools and control their selection through tools and tool_choice. Enable stream to receive responses through Server-Sent Events.
Prompt Cache Support
Supports prompt-cache reads and writes, including documented 5-minute and 1-hour cache-write pricing. Cached input costs $0.44 per 1M tokens.
How to call the claude-opus-4-5-20251101 API in 4 steps
- 01
Get an API key
Sign in to Openrouter API, top up from $50, and create an sk-ora key in the console.
- 02
Set the base URL
Use https://openrouterapi.ru/v1 as the base URL in your SDK or HTTP client.
- 03
Send the request
Call POST /v1/chat/completions with "model": "claude-opus-4-5-20251101" and the parameters below.
- 04
Handle the response
Read the response (or stream tokens with stream: true). Usage and cost appear in your console.
Request examples
Documentation: Claude Messages APIcurl https://openrouterapi.ru/v1/chat/completions \
-H "Authorization: Bearer $OPENROUTERAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-opus-4-5-20251101",
"messages": [
{"role": "system", "content": "You are a concise assistant."},
{"role": "user", "content": "Explain what an AI API gateway does in two sentences."}
],
"stream": false
}'Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Required | claude-sonnet-4-6 | Model name |
messages | array | Required | — | List of messages |
role | string | Required | user | Role type |
content | string | Required | — | Message content |
max_tokens | integer | Required | — | Maximum tokens to generate (**required**, same as Anthropic official) |
thinking | object | Optional | — | Extended thinking configuration |
system | string | array | Optional | — | System prompt |
temperature | number | Optional | — | Temperature parameter, range 0-1 |
top_p | number | Optional | — | Nucleus sampling parameter, range 0-1 |
top_k | integer | Optional | — | Top-K sampling |
stream | boolean | Optional | — | Enable streaming |
stop_sequences | array | Optional | — | Stop sequences |
metadata | object | Optional | — | Metadata |
tools | array | Optional | — | Tool definitions |
tool_choice | object | Optional | — | Tool choice strategy |
What you can build with claude-opus-4-5-20251101
Document Review Assistants
Build conversational review workflows that provide long source material and ask for summaries, comparisons, or follow-up explanations within the input limit.
Image-Based Conversations
Let users submit text and images together for questions about supplied visual material, with follow-up messages retaining conversational context.
Tool-Connected Assistants
Supply tool definitions so an assistant can request functions as part of a workflow, with tool_choice controlling the selection strategy.
Multi-Step Analysis
Enable extended thinking for tasks that call for deeper analysis, then stream the response into an interactive application.
Tips for better results
- 01
Set Explicit Output Budgets
For Claude Messages requests, max_tokens is required and must be at least 1. Choose a budget within the 64,000-token output maximum; the model may stop earlier.
- 02
Use Native Thinking Controls
Prefer
claude-opus-4-5-20251101with the thinking parameter over the thinking alias. If you return thinking blocks in later turns, preserve their signature unchanged. - 03
Plan Cache Lifetimes
Cache reads cost $0.44 per 1M tokens. Compare cache writes at $5.50 per 1M tokens for a 5-minute TTL with $8.80 per 1M tokens for a 1-hour TTL against your reuse pattern.
- 04
Keep Protocols Separate
On Claude Messages, put system instructions in the separate system parameter. Responses follow the standard Anthropic Messages format (no extra wrapper). Use POST /v1/messages.
Limits and things to know
Maximum input is 200,000 tokens, and maximum output is 64,000 tokens.
Claude Messages requires max_tokens and accepts at most four stop sequences.
Returned thinking-block signatures must remain unchanged when passed back in multi-turn conversations.
claude-opus-4-5-20251101 API FAQ
How much does claude-opus-4-5-20251101 cost on Openrouter API?
Input costs $4.40 per 1M tokens, output costs $22.00 per 1M tokens, and cached input costs $0.44 per 1M tokens. Cache writes cost $5.50 per 1M tokens for a 5-minute TTL or $8.80 per 1M tokens for a 1-hour TTL. The default configuration is about 12% below the developer's list price, with billing only for successful requests.
How do I call this model through Openrouter API?
Use the OpenAI-compatible POST /v1/chat/completions endpoint with Bearer authentication and model set to claude-opus-4-5-20251101. For the native Claude protocol, use POST /v1/messages with either x-api-key or Bearer authentication.
Does it support extended thinking and streaming?
The Claude Messages interface supports the thinking parameter and SSE streaming through stream. It also provides tools, tool_choice, system instructions, and sampling controls; max_tokens is required.
What are the input and output token limits?
The model supports a maximum of 200,000 input tokens and 64,000 output tokens. Set max_tokens to control the output budget; generation may stop before reaching that value.
Can I use this model commercially?
Commercial use is subject to the model developer's terms. Review Anthropic's applicable terms and Openrouter API's terms before deploying your application.
How does the dated model differ from its aliases?
The dated identifier claude-opus-4-5-20251101 is suited to pinning a snapshot for reproducibility. The model is also callable as claude-opus-4-5 and claude-opus-4-5-20251101-thinking; the documentation recommends the standard model name plus the thinking parameter rather than the thinking alias.
Related models
claude-opus-4-5
claude-opus-4-5-20251101-thinking
claude-opus-4-6
claude-opus-4-6-thinking
claude-opus-4-7
claude-opus-4-8
claude-opus-5
claude-opus-5-5
Start building with claude-opus-4-5-20251101
One key, pay as you go from $50, billed only for successful requests.
