AI 模型情报

对比 · 2026-06-29

GPT-5 vs Grok 4

并排对比 GPT-5(OpenAI)与 Grok 4(xAI)的定价、上下文窗口与能力。 侧重:flagship。

GPT-5Grok 4
厂商OpenAIxAI
输入价格 / 1M token$1.25$3.00
输出价格 / 1M token$10.00$15.00
1M token 合计(输入 + 输出)$11.25$18.00
上下文长度400K256K
最大输出 token128K64K
工具调用
结构化输出未公开
推理
图像输入
开放权重
渠道可用性25 家渠道6 家渠道
发布日期2025-08-072025-07-09
知识截止2024-09-302025-01

一句话结论

  • GPT-5 在每百万 token(输入 + 输出合计)成本上便宜约 1.6 倍。
  • GPT-5 的上下文窗口更长(400K,对比 256K)。
  • 仅 GPT-5 支持结构化输出 / JSON 模式。
  • GPT-5 在更多提供商处可用(25 家 vs 6 家)。
GPT-5 · 查看全部 25 家渠道 →Grok 4 · 查看全部 6 家渠道 →

How to read this comparison

This page compares GPT-5 and Grok 4 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 是否比 Grok 4 便宜?

GPT-5 的输入价为 $1.25/百万 token + 输出价为 $10.00/百万 token;Grok 4 为 $3.00/百万 token(输入)+ $15.00/百万 token(输出)。综合每百万 token 成本更低的是 GPT-5。

GPT-5 与 Grok 4 谁的上下文更长?

GPT-5 的上下文窗口更长——约 400,000 token vs 256,000 token。

在哪里可以运行 GPT-5 和 Grok 4?

GPT-5 在 25 家提供商可用;Grok 4 在 6 家提供商可用。完整列表请参见各模型详情页。

最近更新:

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.