对比 · 2026-06-29
GPT-5 vs Claude Sonnet 4.5 (latest)
并排对比 GPT-5(OpenAI)与 Claude Sonnet 4.5 (latest)(Anthropic)的定价、上下文窗口与能力。 侧重:flagship。
| GPT-5 | Claude Sonnet 4.5 (latest) | |
|---|---|---|
| 厂商 | OpenAI | Anthropic |
| 输入价格 / 1M token | $1.25 | $3.00 |
| 输出价格 / 1M token | $10.00 | $15.00 |
| 1M token 合计(输入 + 输出) | $11.25 | $18.00 |
| 上下文长度 | 400K | 200K |
| 最大输出 token | 128K | 64K |
| 工具调用 | ✓ 是 | ✓ 是 |
| 结构化输出 | ✓ 是 | 未公开 |
| 推理 | ✓ 是 | ✓ 是 |
| 图像输入 | ✓ 是 | ✓ 是 |
| 开放权重 | ✗ 否 | ✗ 否 |
| 渠道可用性 | 25 家渠道 | 21 家渠道 |
| 发布日期 | 2025-08-07 | 2025-09-29 |
| 知识截止 | 2024-09-30 | 2025-07-31 |
一句话结论
- GPT-5 在每百万 token(输入 + 输出合计)成本上便宜约 1.6 倍。
- GPT-5 的上下文窗口更长(400K,对比 200K)。
- 仅 GPT-5 支持结构化输出 / JSON 模式。
- GPT-5 在更多提供商处可用(25 家 vs 21 家)。
How to read this comparison
This page compares GPT-5 and Claude Sonnet 4.5 (latest) on the dimensions that matter most for production LLM selection: per-token cost, context window, declared capabilities (tool calling, structured output, reasoning, vision), and provider availability.
Green highlights in the table indicate which model leads on a given row. "Leads" means lower price or higher context/capability — not necessarily "better for your use case". A model that costs 3× more may still be the right choice if it unlocks a capability you need.
What this comparison does NOT tell you
- Quality / accuracy — we have no benchmark data. Declared capabilities ≠ measured performance.
- Latency — time-to-first-token varies by provider, region and load. Test with your actual traffic.
- Prompt caching savings — if you reuse system prompts, the cheaper model on headline rate may not be cheapest in practice.
- Fine-tuning availability — not all models can be fine-tuned, even if they are open-weight.
Data is refreshed daily. If a model's capabilities or pricing change, this page updates automatically on the next build cycle.
Frequently asked questions
GPT-5 是否比 Claude Sonnet 4.5 (latest) 便宜?
GPT-5 的输入价为 $1.25/百万 token + 输出价为 $10.00/百万 token;Claude Sonnet 4.5 (latest) 为 $3.00/百万 token(输入)+ $15.00/百万 token(输出)。综合每百万 token 成本更低的是 GPT-5。
GPT-5 与 Claude Sonnet 4.5 (latest) 谁的上下文更长?
GPT-5 的上下文窗口更长——约 400,000 token vs 200,000 token。
在哪里可以运行 GPT-5 和 Claude Sonnet 4.5 (latest)?
GPT-5 在 25 家提供商可用;Claude Sonnet 4.5 (latest) 在 21 家提供商可用。完整列表请参见各模型详情页。
Explore more
最近更新:
Prices in USD per 1M tokens. Unknown means the provider does not publish per-token pricing.
Pricing and capabilities are refreshed daily and reconciled against each provider's official documentation. Always verify critical production decisions with the provider directly.