# Anthropic: claude-4-opus

claude-4-opus is a language model from Anthropic. It reads and writes text.

- **Model id:** `opencheap/claude-4-opus`
- **Price per 1M tokens:** $17.33 input / $86.67 output
- **Cached input:** $17.33 per 1M tokens
- **Context:** 200K tokens

## Providers

1 provider. Prices are per 1M tokens. As of 2026-12-04 12:06 UTC.

| Provider | Input price | Cache price | Output price | Context |
| --- | --- | --- | --- | --- |
| Unnamed provider · quantization unknown | $17.33 | $17.33 | $86.67 | 200K |

A request picks by price (`:floor`) or by speed (`provider.sort`, `:nitro`), or sets a floor on tokens per second. [How routing works](https://docs.opencheap.si/speed)

## Price history

Each provider's price over the last 24 hours, 7 days and 30 days is charted on [the page](https://opencheap.si/models/claude-4-opus#price-history).

## API

Point the OpenAI SDK at OpenCheap and pass the model id `opencheap/claude-4-opus`; the rest of your code stays the same.

```bash
curl https://api.opencheap.si/v1/chat/completions \
  -H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
  -d '{ "model": "opencheap/claude-4-opus", "messages": [{ "role": "user", "content": "Hi" }] }'
```

```python
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/claude-4-opus",
    messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)
```

```javascript
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.opencheap.si/v1", apiKey: process.env.OPENCHEAP_API_KEY });
const r = await client.chat.completions.create({ model: "opencheap/claude-4-opus",
  messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);
```

## About claude-4-opus

claude-4-opus costs from $17.33 per 1M input tokens and $86.67 per 1M output tokens on OpenCheap. It has no public list price to compare with. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.26, and 1,000 such requests about $260.02. Prices as of 2026-12-04 12:01 UTC.

One provider serves claude-4-opus on OpenCheap today. Each request goes to the cheapest healthy provider of the model, and every answer reports what it cost in `usage.cost`. Its context window is 200K tokens (200,000), room for roughly 150,000 words of English in one request.

claude-4-opus is one of [26 Anthropic models](https://opencheap.si/models/lab/anthropic) on OpenCheap. Every model on OpenCheap is called with one key at the same OpenAI-compatible endpoint, `https://api.opencheap.si/v1`.

## Pricing questions

### How much does the claude-4-opus API cost per 1M tokens?

claude-4-opus costs from $17.33 per 1M input tokens and $86.67 per 1M output tokens on OpenCheap. Prices as of 2026-12-04 12:01 UTC.

### What does one claude-4-opus request cost?

A request with 10,000 input tokens and 1,000 output tokens costs about $0.26, and 1,000 such requests about $260.02. Every answer reports its own cost in usage.cost.

### Which providers serve claude-4-opus?

One provider serves claude-4-opus on OpenCheap today. Each request goes to the cheapest healthy provider of the model; the table on this page lists every provider with its price, speed and uptime.

### What is the context window of claude-4-opus?

Its context window is 200K tokens (200,000), room for roughly 150,000 words of English in one request.

### How do I call the claude-4-opus API?

Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/claude-4-opus. One OpenCheap key works for every model; the rest of your code stays the same.

## More from Anthropic

- [Claude Sonnet 5](https://opencheap.si/models/claude-sonnet-5) (`claude-sonnet-5`): $1.00 / $5.00 per 1M · 1M context
- [Claude Opus 5.5](https://opencheap.si/models/claude-opus-5.5) (`claude-opus-5.5`): $2.16 / $10.80 per 1M · 1M context
- [claude-4-sonnet](https://opencheap.si/models/claude-4-sonnet) (`claude-4-sonnet`): $3.46 / $17.30 per 1M · 200K context
- [Claude Fable 5](https://opencheap.si/models/claude-fable-5) (`claude-fable-5`): $6.90 / $34.50 per 1M · 1M context
- [Claude Fable 5.1](https://opencheap.si/models/claude-fable-5.1) (`claude-fable-5.1`): $7.00 / $35.00 per 1M · 1M context
- [Claude Fable 5.2](https://opencheap.si/models/claude-fable-5.2) (`claude-fable-5.2`): $5.20 / $26.00 per 1M · 1M context
- [Claude Haiku 4.5](https://opencheap.si/models/claude-haiku-4.5) (`claude-haiku-4.5`): $0.40 / $2.00 per 1M · 200K context
- [claude-haiku-4.5-20251001](https://opencheap.si/models/claude-haiku-4.5-20251001) (`claude-haiku-4.5-20251001`): $1.05 / $5.26 per 1M · 200K context

[All 26 Anthropic models](https://opencheap.si/models/lab/anthropic)

## Similar models

- [O1](https://opencheap.si/models/o1): OpenAI · 200K context · $15.00 / $60.00 per 1M, 30 % cheaper · [Compare with claude-4-opus](https://opencheap.si/compare/claude-4-opus-vs-o1)
- [GPT 5 Pro](https://opencheap.si/models/gpt-5-pro): OpenAI · 400K context · $15.00 / $120.00 per 1M · [Compare with claude-4-opus](https://opencheap.si/compare/claude-4-opus-vs-gpt-5-pro)
- [Fugu Ultra](https://opencheap.si/models/fugu-ultra): Sakana AI · 1M context · $5.00 / $30.00 per 1M, 66 % cheaper · [Compare with claude-4-opus](https://opencheap.si/compare/claude-4-opus-vs-fugu-ultra)
- [Fugu Ultra v1.1](https://opencheap.si/models/fugu-ultra-v1.1): Sakana AI · 1M context · $5.00 / $30.00 per 1M, 66 % cheaper · [Compare with claude-4-opus](https://opencheap.si/compare/claude-4-opus-vs-fugu-ultra-v1.1)
- [Sonar Pro](https://opencheap.si/models/sonar-pro): Perplexity · 200K context · $3.15 / $15.75 per 1M, about 6× cheaper · [Compare with claude-4-opus](https://opencheap.si/compare/claude-4-opus-vs-sonar-pro)
- [Grok 4](https://opencheap.si/models/grok-4): xAI · 256K context · $3.15 / $15.76 per 1M, about 5× cheaper · [Compare with claude-4-opus](https://opencheap.si/compare/claude-4-opus-vs-grok-4)

[Compare claude-4-opus with any model](https://opencheap.si/compare)

---

Source: https://opencheap.si/models/claude-4-opus · All models: https://opencheap.si/models · Prices as JSON: https://api.opencheap.si/v1/prices · Index for agents: https://opencheap.si/llms.txt
