claude-opus-4-5-20251101-thinking API
Run Claude Opus 4.5 with extended thinking, tool use, and prompt caching on Openrouter API.
claude-opus-4-5-20251101-thinkingclaude-opus-4-5-20251101-thinking 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-thinking?
Anthropic’s claude-opus-4-5-20251101-thinking is a Claude Opus chat and reasoning model available through Openrouter API. It is suited to workflows that need extended thinking, multi-turn conversations, and tool use, such as document analysis and task planning. The Claude Messages interface supports text and image inputs, streaming responses, a separate system prompt, and an explicit thinking configuration. The model accepts up to 200,000 input tokens and generates up to 64,000 output tokens.
Use Openrouter API’s OpenAI-compatible base URL, https://openrouterapi.ru/v1, or the native Claude Messages endpoint for Anthropic-style requests. Billing is pay-as-you-go, with charges only for successful requests. Input costs $4.40 per 1M tokens and output costs $22.00 per 1M tokens. Prompt-cache reads cost $0.44 per 1M tokens; cache writes have separate rates by TTL. The default configuration is about 12% below the developer's list price.
claude-opus-4-5-20251101-thinking highlights
Extended Thinking Controls
Configure extended thinking through the Claude Messages API’s thinking object. Responses may include thinking blocks when enabled.
Large Input Capacity
Send up to 200,000 input tokens and generate up to 64,000 output tokens. Set max_tokens to control the generation ceiling.
Tools And Images
The Claude Messages interface supports tool use and multimodal content including text and images. Multi-turn conversations let applications carry context across requests.
Prompt Cache Support
The model supports prompt-cache reads and cache writes. Openrouter API offers separate write pricing for 5-minute and 1-hour TTLs.
How to call the claude-opus-4-5-20251101-thinking 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-thinking" 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-thinking",
"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-thinking
Document analysis assistants
Build assistants that review supplied documents, answer follow-up questions, and reason through complex material within the input limit.
Tool-assisted workflows
Define tools for applications that combine conversation with external actions or data retrieval. Use tool_choice to configure the tool selection strategy.
Visual review assistants
Provide images alongside text instructions for workflows that discuss visual content and produce text responses.
Multi-step planning
Use extended thinking for assistants that work through requirements, constraints, and proposed plans over multiple conversation turns.
Tips for better results
- 01
Prefer explicit thinking configuration
For easier migration to Anthropic’s official endpoint, use the standard model name
claude-opus-4-5-20251101with the thinking parameter rather than relying on the platform-side alias. - 02
Set your output ceiling
Include max_tokens in every Claude Messages request; it is required. Choose a ceiling appropriate to the task, within the 64,000-token output limit.
- 03
Match caching to reuse
For repeated prompt content, consider cache reads at $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.
- 04
Preserve thinking signatures
If you pass thinking blocks back in a multi-turn conversation, return their signature unchanged. The request is rejected if signatures are altered.
Limits and things to know
Maximum input is 200,000 tokens; maximum output is 64,000 tokens.
Claude Messages requests require max_tokens, and generation may stop before that limit.
Inference endpoints under /v1 follow the standard Anthropic Messages format (no extra wrapper).
claude-opus-4-5-20251101-thinking API FAQ
How much does claude-opus-4-5-20251101-thinking cost on Openrouter API?
Input costs $4.40 per 1M tokens, output costs $22.00 per 1M tokens, and cached input reads cost $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 model ID claude-opus-4-5-20251101-thinking with POST /v1/chat/completions at https://openrouterapi.ru/v1 and Bearer authentication. For the native Claude protocol, use POST /v1/messages with either x-api-key or Bearer authentication.
How do I enable extended thinking?
The Claude Messages API accepts a thinking object for extended thinking configuration. The documentation recommends the standard model name plus this parameter over platform-side -thinking aliases for easier migration to the official endpoint.
What are the input and output limits?
The model supports up to 200,000 input tokens and up to 64,000 output tokens. Claude Messages requests require max_tokens, and the model may finish before reaching the requested ceiling.
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 for your intended application.
How does this thinking model differ from the other callable names?
The -thinking name denotes an extended-reasoning variant; the model is also callable as claude-opus-4-5 and claude-opus-4-5-20251101. The dated name is positioned as a pinned snapshot for reproducibility, while the native Messages API lets you configure thinking explicitly.
Related models
claude-opus-4-5
claude-opus-4-5-20251101
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-thinking
One key, pay as you go from $50, billed only for successful requests.
