← 全部模型

Claude Opus 4.8 vs Claude Sonnet 4.6

Claude Opus 4.8 vs Claude Sonnet 4.6: 并排对比 API 价格与规格——在 GetModel 用一个 OpenAI 兼容 Key 同时调用两者。

Claude Opus 4.8
Anthropic · 文本

Anthropic Claude Opus 4.8 旗舰大模型,擅长复杂推理、智能体与代码任务。在 getmodel 经 Claude Code Max 稳定号池或 Kiro 低价池调用,兼容 Anthropic 原生与 OpenAI 接口。

查看详情 →
Claude Sonnet 4.6
Anthropic · 文本

Anthropic Claude Sonnet 4.6,能力与速度均衡,性价比高,适合日常代码与通用任务。在 getmodel 经 Claude Code Max 稳定号池或 Kiro 低价池调用,兼容 Anthropic 原生与 OpenAI 接口。

查看详情 →

价格对比

Claude Opus 4.8Claude Sonnet 4.6
输入 / 百万 tokens ¥3 ¥1.8 更便宜
输出 / 百万 tokens ¥15 ¥9 更便宜

规格

供应商AnthropicAnthropic
类型文本文本
端点anthropic / openaianthropic / openai

如何调用

一个 API Key 同时调用两个模型——改 model 字段即可切换。

from openai import OpenAI
client = OpenAI(base_url="https://getmodel.ai/v1", api_key="$GETMODEL_API_KEY")

# Claude Opus 4.8
client.chat.completions.create(model="claude-opus-4-8", messages=[{"role":"user","content":"Hi"}])
# Claude Sonnet 4.6  (same key, just change "model")
client.chat.completions.create(model="claude-sonnet-4-6", messages=[{"role":"user","content":"Hi"}])

更多对比