# Claude Opus 4.8

> Claude Opus 4.8 是 Anthropic Opus 系列中功能最强大的通用型号。它支持文本、图像和文件输入以及文本输出，并具有推理支持和 1M 令牌上下文窗口。它适用于高度自主的代理、长期代理工作、知识工作和记忆驱动的任务，在这些任务中，长时间会话的一致性很重要。

- Model ID: `anthropic/claude-opus-4-8`
- Manufacturer: Anthropic
- Context length: 1M tokens
- Max output: 128K tokens
- Input: text, image, file
- Output: text
- Capabilities: tools, reasoning, structuredOutput, streaming, vision, caching
- Released: 2026-05-28
- Page: https://amux.ai/zh/models/anthropic/claude-opus-4-8

## Providers and prices

Prices in USD, base tier. Route to a specific provider with `model: "<model id>:<provider slug>"`; without a suffix Amux AI picks among healthy providers (weighted random by default; a price-first strategy can be set per API key) and fails over to the next one on errors. Long-context and time-of-day tiers, where they apply, are listed on the page.

- **Amazon Bedrock** (`amazon-bedrock`): cache_read $0.5/1M tokens · input_text $5/1M tokens · output_text $25/1M tokens
- **Anthropic** (`anthropic`) (promotion): cache_read $0.35/1M tokens · input_text $3.5/1M tokens · output_text $17.5/1M tokens
- **Amazon Kiro** (`amazon-kiro`) (promotion): cache_read $0.025/1M tokens · input_text $0.25/1M tokens · output_text $1.25/1M tokens
- **Amux Special** (`amux-special`) (promotion): cache_read $0.075/1M tokens · input_text $0.75/1M tokens · output_text $3.75/1M tokens
- **Amux AI** (`amuxai`) (promotion): cache_read $0.15/1M tokens · input_text $1.5/1M tokens · output_text $7.5/1M tokens

## Example request

`POST https://gateway.amux.ai/v1/responses`

```bash
curl https://gateway.amux.ai/v1/responses \
  -H "Authorization: Bearer $AMUX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "anthropic/claude-opus-4-8",
    "input": "Hello!"
  }'
```

## Popular apps (all, through 2026-12-05)

Top client apps routing traffic to this model on Amux AI (share of model traffic):

- #1 [Claude Code](https://amux.ai/zh/apps/claude-code.md) — 60.8%: Anthropic 官方编程智能体，支持终端 CLI、IDE 与桌面端协同完成端到端软件工程。
