> ## Documentation Index
> Fetch the complete documentation index at: https://mixroute.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Claude Opus 5.5

> Claude Opus 系列模型，面向长程代理式编程和知识工作。

<link rel="alternate" hrefLang="en" href="https://mixroute.ai/docs/model-api/anthropic/claude-opus-5-5" />

<link rel="alternate" hrefLang="zh-Hans" href="https://mixroute.ai/docs/zh-hans/model-api/anthropic/claude-opus-5-5" />

<link rel="alternate" hrefLang="zh-Hant" href="https://mixroute.ai/docs/zh-hant/model-api/anthropic/claude-opus-5-5" />

<link rel="alternate" hrefLang="ja" href="https://mixroute.ai/docs/ja/model-api/anthropic/claude-opus-5-5" />

<link rel="alternate" hrefLang="x-default" href="https://mixroute.ai/docs/model-api/anthropic/claude-opus-5-5" />

Claude Opus 系列模型，面向长程代理式编程和知识工作。

## 模型信息

| 字段 | 说明 |
| - | - |
| `model` | claude-opus-5-5 |
| `context` | 1M tokens |
| `max output` | 128K tokens |
| `endpoint` | POST /v1/messages |

上下文和输出长度为模型规格；实际请求限制、可用性与计费取决于 MixRoute 路由。

## 能力与使用

* 支持文本和图像输入，返回文本或工具调用内容块。
* 始终启用自适应思考。通过 `output_config.effort` 选择 `low`、`medium`（默认）、`high`、`xhigh` 或 `max`。不要设置 `thinking.type=enabled`、`thinking.type=disabled` 或旧版 `budget_tokens`。
* `tool_choice` 支持 `auto`（默认）和 `none`。`any`、`tool` 强制工具调用会被拒绝；工具工作流请使用 `auto`。

## 请求示例

调用前设置 `MIXROUTE_API_KEY`。

```bash theme={null}
curl --request POST "https://api.mixroute.ai/v1/messages" \
  --header "Authorization: Bearer $MIXROUTE_API_KEY" \
  --header "Content-Type: application/json" \
  --header "anthropic-version: 2023-06-01" \
  --data '{
  "model": "claude-opus-5-5",
  "max_tokens": 1024,
  "messages": [
    {
      "role": "user",
      "content": "Explain the tradeoffs of database indexes."
    }
  ]
}'
```

## 请求字段

| 字段 | 说明 |
| - | - |
| `model` | 必填，使用上方完整模型 ID。 |
| `messages` | 必填，会话消息包含 role 和 content。 |
| `max_tokens` | 必填，输出 token 预算。 |
| `output_config.effort` | 可选。`low`、`medium`、`high`、`xhigh` 或 `max`，默认为 `medium`。 |
| `tool_choice` | 可选对象。使用 `{"type":"auto"}` 或 `{"type":"none"}`，不支持 `any` 和 `tool`。 |

完整请求格式见[接口说明](/docs/zh-hans/api-reference/endpoint/messages)。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.