GPT-6.1 Terra 已上架。OpenAI 官方定位為快速、高效的模型,面向視覺推理、精確的電腦操作與清晰自然的寫作。RouteMux 上每百萬 token 輸入 $0.15、輸出 $0.75(官方 $1 / $5)。查看價格
Claude

Claude Sonnet 5

省 72%Official

anthropic/claude-sonnet-5

Sonnet 系列上一代——已被 Sonnet 5.5 接替。

線上模型 Playground

直接試用 Claude Sonnet 5

調整請求參數、查看目前的費用上限,並直接在模型介紹頁查看實際結果。

streamchat
1設定輸入
163 / 20,000
新增圖片

請先登入,再將圖片上傳至此視覺模型。

最高預估費用—
2即時結果範例
Claude Sonnet 5

B is telling the truth.

Work through it: assume each person is the sole truth-teller and check for consistency.

If A is the truth-teller, then B is lying, so B's claim ("C is lying") is false, meaning C tells the truth — but then we'd have two truth-tellers (A and C). Contradiction.

If C is the truth-teller, then both A and B are lying. B lying means C is not lying, which is consistent so far. But A lying means B is not lying — contradiction, since we just said B is lying.

If B is the truth-teller, then C is lying, so it's false that both A and B are lying — meaning at least one of them tells the truth, which is B. That's consistent. A is lying, so B is not lying — also consistent. Everything checks out.

B is the truth-teller. A and C are both lying.

範例結果 · 生成於 2026年10月24日 · 用時 4.7 秒 · 花費 $0.001586
上下文視窗
1M
最大輸出
128K
輸入模態
文字圖像
輸出模態
文字
功能
視覺理解 · 推理 · 工具呼叫 · 程式編碼 · 提示詞快取 · 付費快取寫入
上游發布
2026-06-30
RouteMux 名稱
anthropic/claude-sonnet-5

Claude Sonnet 5 API 定價

價格核驗於 2026-10-06

輸入官方 $2 / 百萬 tokens
$0.56/ 百萬 tokens省 72%
≈NT$18.09 / 百萬 tokens
輸出官方 $10 / 百萬 tokens
$2.8/ 百萬 tokens省 72%
≈NT$90.44 / 百萬 tokens

快取讀取 $0.056/M · 快取寫入 $0.7/M

本幣價格按固定匯率換算(1 美元 = 32.3 TWD),匯率更新於 2026-08-02,僅供參考;計費一律以美元結算。

成本估算

預估費用$0.0084

功能亮點

視覺理解推理工具呼叫程式編碼提示詞快取付費快取寫入

限時首次儲值加送 10%,最高加送 200 Credit

註冊後 72 小時內完成首次儲值即可享有。滿 $20 起,每個帳戶限一次。

註冊並領取無需訂閱,按用量計費。

介面與通訊協定

Anthropic Messages支援串流

API 呼叫時使用任一 ID 皆可。

RouteMux 名稱anthropic/claude-sonnet-5

把 ROUTEMUX_KEY 佔位符替換為你的 API Key。 建立 →

from anthropic import Anthropic

client = Anthropic(
    base_url="https://api.routemux.com/anthropic",
    api_key="<ROUTEMUX_KEY>",
)

message = client.messages.create(
    model="anthropic/claude-sonnet-5",
    max_tokens=1024,
    messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(message.content[0].text)
base_url: https://api.routemux.com/anthropic

效能數據(近 30 天)

Claude Sonnet 5 常見問題

›Claude Sonnet 5 是什麼?

Sonnet 系列上一代——已被 Sonnet 5.5 接替。

›Claude Sonnet 5 的上下文視窗有多大?

Claude Sonnet 5 支援最多 1M tokens 的上下文視窗,單次最多輸出 128K tokens。

›Claude Sonnet 5 的 API 價格是多少?

透過 RouteMux 呼叫 Claude Sonnet 5:輸入 $0.56、輸出 $2.8(USD / 1M tokens),低於官方定價。

›如何透過 API 呼叫 Claude Sonnet 5?

Claude Sonnet 5 相容 OpenAI 介面:把 base URL 換成 RouteMux、model 填 anthropic/claude-sonnet-5 即可,無需改程式碼。

›Claude Sonnet 5 支援哪些輸入輸出模態?

Claude Sonnet 5 的輸入模態:text, image;輸出模態:text。

›Claude Sonnet 5 是什麼時候發布的?

Claude Sonnet 5 發布於 2026年6月30日。