> ## 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-hant/api-reference/endpoint/messages)。


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