GPT-5 vs Grok 4: price comparison
Real 2026 API prices side by side, with the total cost of a typical 10M-input / 3M-output monthly workload.
Price & cost at a glance
| GPT-5 | Grok 4 | |
|---|---|---|
| Input / 1M tokens | $1.25 | $3 |
| Output / 1M tokens | $10 | $15 |
| Context window | 400K | 256K |
| Cost — 10M in + 3M out | $42.5 | $75 |
Green = cheaper / larger. Prices per 1M tokens, USD. Snapshot 2026 — verify with the provider.
Which is cheaper?
Run your own token mix in the cost calculator, or see each model in depth: GPT-5 · Grok 4.
Frequently asked
Is GPT-5 or Grok 4 cheaper?
At a typical 10M input + 3M output tokens per month, GPT-5 costs about $42.5 versus $75 for Grok 4 — GPT-5 is roughly 1.8x cheaper on this workload. Your ratio of input to output tokens changes the gap.
What's the price difference between GPT-5 and Grok 4?
GPT-5 is $1.25/$10 per 1M input/output tokens; Grok 4 is $3/$15. Output tokens usually dominate a bill, so compare the output price first.
Which has the bigger context window, GPT-5 or Grok 4?
GPT-5 supports about 400K tokens and Grok 4 about 256K. A bigger window costs more per call because every token in context is billed.
Related comparisons
Educational estimates — not affiliated with any provider.