# Claude Opus 4.7

Claude Opus 4.7 costs $5 per 1M input tokens and $25 per 1M output tokens on LLM API, with a 1M-token context window.

Model ID: `claude-opus-4-7` · Anthropic · Text generation · Released April 16, 2026
Updated: 2026-10-13
Canonical: https://llmapi.ai/models/anthropic-claude-opus-4-7/

- Input: $5 per 1M tokens
- Output: $25 per 1M tokens
- Cache read: $0.5 per 1M tokens
- Context: 1M tokens
- Max output: 128K tokens

## Pricing

Lowest price among 2 providers, after discounts.

| Price | Amount | Per |
| --- | --- | --- |
| Input | $5 | per 1M tokens |
| Output | $25 | per 1M tokens |
| Cache read | $0.5 | per 1M tokens |
| Cache write, 5 minutes | $6.25 | per 1M tokens |
| Cache write, 1 hour | $10 | per 1M tokens |
| Web search | $0.01 | per search |

**Volume pricing.** At higher monthly volume, Claude Opus 4.7 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).

## Providers

Prices after each provider’s discount; the lowest in bold.

| Provider | Input / 1M | Output / 1M | Cache read / 1M | Context | Max output |
| --- | --- | --- | --- | --- | --- |
| [Anthropic](https://llmapi.ai/providers/anthropic/) | $5 | $25 | $0.5 | 1M | 128K |
| [AWS Bedrock](https://llmapi.ai/providers/amazon-bedrock/) | $5 | $25 | $0.5 | 1M | 128K |

## Features

“Some providers”: not every provider of this model supports it.

- Tools: Yes
- Parallel tool calls: No
- Image input: Yes
- Reasoning: Yes (Levels: low, medium, high, max)
- Prompt caching: Yes
- Structured outputs: Some providers
- JSON mode: Yes
- Streaming: Yes
- Web search: Yes
- Also accepts: claude-opus-4.7

## Call Claude Opus 4.7

### 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-7",
    max_tokens=16000,
    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-7",
    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 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
- [Claude Haiku 5.5](https://llmapi.ai/models/claude-haiku-5-5/): $0.1 / $0.5 per 1M input / output

Prices synced 2026-11-03.

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