GPT-5 vs Grok 4

Grok 4 is cheaper on input ($5.00 vs $10.00 per 1M tokens).

SpecGPT-5Grok 4
ProviderOpenAIxAI
ModalityText + VisionText + Vision
Context window256K256K
Input / 1M$10.00$5.00best
Output / 1M$30.00$15.00best
ReleasedDec 2025Dec 2025
Best forChat / Assistant, Code generation, Image / VisionChat / Assistant, Code generation, Image / Vision

FAQ

Is GPT-5 cheaper than Grok 4?
Grok 4 is cheaper, at $5.00 per 1M input tokens versus $10.00.
Which has the larger context window, GPT-5 or Grok 4?
Both support 256K tokens of context.

More comparisons