Opus 4.6 是 Anthropic 最強的模型,適用於編寫程式碼和長時間執行的專業任務。它專為能跨整個工作流程而非單一提示運作的代理程式所設計,使其特別有效...
相容 OpenAI——沿用你現有的 SDK
https://api.orcarouter.ai/v1https://api.orcarouter.aifrom openai import OpenAI
client = OpenAI(
base_url="https://api.orcarouter.ai/v1",
api_key="$ORCAROUTER_API_KEY",
)
response = client.chat.completions.create(
model="anthropic/claude-opus-4.6",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)include_reasoningmax_tokensoutput_configreasoningresponse_formatstopstreamstructured_outputstemperaturethinkingtool_choicetoolstop_p| 輸入 / 1M tokens | $5.00 |
| 輸出 / 1M tokens | $25.00 |
| 快取讀取 / 1M | $0.500 |
| 快取寫入 / 1M | $6.25 |
| 貨幣 | USD |
基於標價的估算
僅為估算——實際 Token 數取決於供應商的分詞器。
@misc{orcarouter_claude_opus_4_6,
title = {Claude Opus 4.6 API},
author = {Anthropic},
year = {2026},
howpublished = {OrcaRouter},
url = {https://www.orcarouter.ai/models/anthropic/claude-opus-4.6}
}Anthropic. (2026). Claude Opus 4.6 API. OrcaRouter. https://www.orcarouter.ai/models/anthropic/claude-opus-4.6