# Claude Opus 4.1

Claude Opus 4.1 costs $15 per 1M input tokens and $75 per 1M output tokens on LLM API, with a 200K-token context window.

Model ID: `claude-opus-4-1-20250805` · Anthropic · Text generation · Released August 5, 2025
Updated: 2026-10-13
Canonical: https://llmapi.ai/models/anthropic-claude-opus-4-1-20250805/

- Input: $15 per 1M tokens
- Output: $75 per 1M tokens
- Cache read: $1.5 per 1M tokens
- Context: 200K tokens
- Max output: 4K tokens

## Pricing

Served by AWS Bedrock, the only provider.

| Price | Amount | Per |
| --- | --- | --- |
| Input | $15 | per 1M tokens |
| Output | $75 | per 1M tokens |
| Cache read | $1.5 | per 1M tokens |
| Web search | $0.01 | per search |

**Volume pricing.** At higher monthly volume, Claude Opus 4.1 may cost less. Book a call and sales will quote a price for your usage. [Book a call with sales](https://meetings.hubspot.com/julia-andriienko/llmapi) or [Create an account first](https://app.llmapi.ai/signup).

## Features

- Tools: Yes
- Parallel tool calls: No
- Image input: Yes
- Reasoning: Yes
- Prompt caching: Yes
- Structured outputs: Yes
- JSON mode: Yes
- Streaming: Yes
- Web search: No
- Also accepts: claude-opus-4.1

## Call Claude Opus 4.1

### Anthropic Messages (`POST /v1/messages`)

Set LLMAPI_KEY to your LLM API key.

```python
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-1-20250805",
    max_tokens=4096,
    messages=[{"role": "user", "content": "Hello"}],
)
for block in message.content:
    if block.type == "text":
        print(block.text)
```

Docs: [Anthropic Messages docs](https://docs.llmapi.ai/api/v1/messages)

### Chat Completions (`POST /v1/chat/completions`)

Set LLMAPI_KEY to your LLM API key.

```python
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-1-20250805",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)
```

Docs: [Chat Completions docs](https://docs.llmapi.ai/api/v1/chat/completions)

## More from Anthropic

- [Claude Fable 5.2](https://llmapi.ai/models/claude-fable-5-2/): $8 / $40 per 1M input / output
- [Claude Opus 5.5](https://llmapi.ai/models/anthropic-claude-opus-5-5/): $4 / $20 per 1M input / output
- [Claude Sonnet 5.5](https://llmapi.ai/models/claude-sonnet-5-5/): $2 / $10 per 1M input / output

Prices synced 2026-11-09.

Next step: [Get API key](https://app.llmapi.ai/signup)
