# Anthropic: Claude Opus 4.8

Anthropic's Claude Opus 4.8 follows Opus 4.7 for agentic coding, computer use and knowledge work. Anthropic says it flags uncertainty more often; it takes text and images and uses adaptive thinking with selectable effort.

- **Model id:** `opencheap/claude-opus-4.8`
- **Price per 1M tokens:** $2.75 input / $13.75 output
- **Cached input:** $0.28 per 1M tokens
- **Context:** 1M tokens, 128K max output

## Providers

10 providers. Prices are per 1M tokens. As of 2026-12-04 11:57 UTC.

| Provider | Input price | Cache price | Output price | Latency | Speed | Uptime | Context | Max output |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| Surplus · quantization unknown | $2.75 | $0.28 | $13.75 | 0.82 s | 120 tok/s | 100 % (success rate) | 1M | 128K |
| AiHubMix · quantization unknown | $5.00 | $0.50 | $25.00 | — | — | — | 1M | 128K |
| NanoGPT · quantization unknown | $5.00 | $0.50 | $25.00 | — | — | — | 1M | 128K |
| Amazon Bedrock · quantization unknown | $5.25 | $0.53 | $26.25 | 0.81 s | 63 tok/s | 90.2 % | 1M | 128K |
| Anthropic · quantization unknown | $5.25 | $0.53 | $26.25 | 0.99 s | 55 tok/s | 100 % | 1M | 128K |
| Azure · quantization unknown | $5.25 | $0.53 | $26.25 | 1.24 s | 37 tok/s | 100 % | 1M | 128K |
| Claude Platform on AWS · quantization unknown | $5.25 | $0.53 | $26.25 | 0.83 s | 64 tok/s | 100 % | 1M | 128K |
| Google · quantization unknown | $5.25 | $0.53 | $26.25 | 3.28 s | 74 tok/s | 100 % | 1M | 128K |
| Qubax · quantization unknown | $20.31 | $0.75 | $81.24 | — | — | — | 1M | 128K |

1 more provider through partner hosts · from $5.25 in · $26.23 out

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)

### Supported parameters

The parameters each provider supports on this model, from its published list and our own tests of whether answers show the parameter taking effect. A test is a snapshot, not a guarantee; `provider.require_parameters` sends a request only to providers that support every parameter it sets. [Required parameters](https://docs.opencheap.si/speed#require-parameters)

- **Surplus:** `temperature`, `top_p`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`
- **AiHubMix:** `temperature`, `top_p`, `top_k`, `seed`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`
- **NanoGPT:** `temperature`, `top_p`, `seed`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **Amazon Bedrock:** `stop`, `response_format`, `tools`, `tool_choice`, `reasoning`, `include_reasoning` (temperature not confirmed)
- **Anthropic:** `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning` (temperature not confirmed)
- **Azure:** `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning` (temperature not confirmed)
- **Claude Platform on AWS:** `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning` (temperature not confirmed)
- **Google:** `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning` (temperature not confirmed)
- **Qubax:** `temperature`, `top_p`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`

## 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-opus-4.8#price-history).

## API

Point the OpenAI SDK at OpenCheap and pass the model id `opencheap/claude-opus-4.8`; 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-opus-4.8", "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-opus-4.8",
    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-opus-4.8",
  messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);
```

## About Claude Opus 4.8

Claude Opus 4.8 costs from $2.75 per 1M input tokens and $13.75 per 1M output tokens on OpenCheap, with cached input at $0.28 per 1M tokens. Its list price is $5.00 per 1M input tokens and $25.00 per 1M output tokens, so on a typical 1 : 3 input-to-output mix it costs 45 % less here. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.041, and 1,000 such requests about $41.25. Prices as of 2026-12-04 11:48 UTC.

10 providers serve Claude Opus 4.8 on OpenCheap. 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 1M tokens (1,000,000), room for roughly 750,000 words of English in one request.

Claude Opus 4.8 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 Opus 4.8 API cost per 1M tokens?

Claude Opus 4.8 costs from $2.75 per 1M input tokens and $13.75 per 1M output tokens on OpenCheap, with cached input at $0.28 per 1M tokens. Prices as of 2026-12-04 11:48 UTC.

### What does one Claude Opus 4.8 request cost?

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

### Is Claude Opus 4.8 cheaper on OpenCheap than its list price?

Its list price is $5.00 per 1M input tokens and $25.00 per 1M output tokens, so on a typical 1 : 3 input-to-output mix it costs 45 % less here.

### Which providers serve Claude Opus 4.8?

10 providers serve Claude Opus 4.8 on OpenCheap. 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 Opus 4.8?

Its context window is 1M tokens (1,000,000), room for roughly 750,000 words of English in one request.

### How do I call the Claude Opus 4.8 API?

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

## More from Anthropic

- [Claude Opus 4.8 Thinking](https://opencheap.si/models/claude-opus-4.8:thinking) (`claude-opus-4.8:thinking`): $5.00 / $25.00 per 1M · 1M context
- [Claude Sonnet 5](https://opencheap.si/models/claude-sonnet-5) (`claude-sonnet-5`): $1.10 / $5.50 per 1M · 1M context
- [Claude Opus 5.5](https://opencheap.si/models/claude-opus-5.5) (`claude-opus-5.5`): $2.00 / $10.00 per 1M · 1M context
- [claude-4-opus](https://opencheap.si/models/claude-4-opus) (`claude-4-opus`): $17.33 / $86.67 per 1M · 200K 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.51 / $27.56 per 1M · 1M context

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

## Similar models

- [GPT 5.5](https://opencheap.si/models/gpt-5.5): OpenAI · 1M context · $2.00 / $12.00 per 1M, 14 % cheaper · [Compare with Claude Opus 4.8](https://opencheap.si/compare/claude-opus-4.8-vs-gpt-5.5)
- [Ember 1](https://opencheap.si/models/ember-1): Fireworks · 1M context · $2.82 / $14.10 per 1M · [Compare with Claude Opus 4.8](https://opencheap.si/compare/claude-opus-4.8-vs-ember-1)
- [GPT 6.2 Astra](https://opencheap.si/models/gpt-6.2-astra): OpenAI · 1M context · $2.27 / $11.36 per 1M, 17 % cheaper · [Compare with Claude Opus 4.8](https://opencheap.si/compare/claude-opus-4.8-vs-gpt-6.2-astra)
- [Qwen3.8 Max Prime](https://opencheap.si/models/qwen3.8-max-prime): Qwen · 1M context · $3.76 / $11.28 per 1M, 15 % cheaper · [Compare with Claude Opus 4.8](https://opencheap.si/compare/claude-opus-4.8-vs-qwen3.8-max-prime)
- [Nova Premier 1.0](https://opencheap.si/models/nova-premier-v1): Amazon · 1M context · $2.63 / $13.13 per 1M · [Compare with Claude Opus 4.8](https://opencheap.si/compare/claude-opus-4.8-vs-nova-premier-v1)
- [OrcaCyber Ultra 1.0](https://opencheap.si/models/orcacyber-ultra-1.0): OrcaRouter · 1M context · $5.00 / $10.00 per 1M, 20 % cheaper · [Compare with Claude Opus 4.8](https://opencheap.si/compare/claude-opus-4.8-vs-orcacyber-ultra-1.0)

[Compare Claude Opus 4.8 with any model](https://opencheap.si/compare)

---

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