Price Per TokenPrice Per Token
OpenAI
OpenAI
vs
Xai
Xai

o4 Mini vs Grok 4

A detailed comparison of pricing, benchmarks, and capabilities

Get our weekly newsletter on pricing changes, new releases, and tools.

Join the Price Per Token Community

Key Takeaways

o4 Mini wins:

  • Cheaper input tokens
  • Cheaper output tokens
  • Faster response time

Grok 4 wins:

  • Larger context window
  • Higher intelligence benchmark
  • Better at coding
  • Better at math
Price Advantage
o4 Mini
Benchmark Advantage
Grok 4
Context Window
Grok 4
Speed
o4 Mini

Pricing Comparison

Benchmark Comparison

Context & Performance

Capabilities

Feature Comparison

Featureo4 MiniGrok 4
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

Propertyo4 MiniGrok 4
LicenseProprietaryProprietary
AuthorOpenAIXai
ReleasedApr 2025Jul 2025

o4 Mini Modalities

Input
imagetextfile
Output
text

Grok 4 Modalities

Input
imagetext
Output
text

Frequently Asked Questions

o4 Mini has cheaper input pricing at $0.55/M tokens. o4 Mini has cheaper output pricing at $2.20/M tokens.
Grok 4 scores higher on coding benchmarks with a score of 40.5, compared to o4 Mini's score of 25.6.
o4 Mini has a 200,000 token context window, while Grok 4 has a 256,000 token context window.
o4 Mini supports vision. Grok 4 supports vision.