Model Comparison

Grok-4 vs o3Which is better in 2026?

Grok-4 significantly outperforms across most benchmarks. o3 is 1.7x cheaper per token.

Verdict: Grok-4 vs o3 — which is better?

Grok-4 (by xAI) and o3 (by OpenAI) are two of the AI models people compare most. Here is how they stack up on benchmarks, price and capabilities, and which one to pick in 2026.

Grok-4 outperforms in 4 benchmarks (AIME 2025, ARC-AGI v2, GPQA, Humanity's Last Exam), while o3 is better at 0 benchmarks. Grok-4 significantly outperforms across most benchmarks.

On price, o3 is roughly 1.7x cheaper per token on a blended 3:1 input/output basis, which adds up quickly at production volume.

Grok-4 also accepts a larger context window (256,000 input tokens), making it the stronger choice for long documents and large codebases.

Choose Grok-4 if…

  • you want the strongest raw capability — it leads on 4 of 4 shared benchmarks
  • you process long inputs — it offers a 256,000 token context window
  • you want the most recent training data — it shipped Jul 2025

Choose o3 if…

  • cost matters — it's about 1.7x cheaper per token

Performance Benchmarks

Comparative analysis across standard metrics

4 benchmarks

Grok-4 outperforms in 4 benchmarks (AIME 2025, ARC-AGI v2, GPQA, Humanity's Last Exam), while o3 is better at 0 benchmarks.

Grok-4 significantly outperforms across most benchmarks.

Sun Jul 26 2026 • llm-stats.com

Arena Performance

Human preference votes

Pricing Analysis

Price comparison per million tokens

o3 costs less

For input processing, Grok-4 ($3.00/1M tokens) is 1.5x more expensive than o3 ($2.00/1M tokens).

For output processing, Grok-4 ($15.00/1M tokens) is 1.9x more expensive than o3 ($8.00/1M tokens).

In conclusion, Grok-4 is more expensive than o3.*

* Using a 3:1 ratio of input to output tokens

Lowest available price from all providers
Sun Jul 26 2026 • llm-stats.com
xAI
Grok-4
Input tokens$3.00
Output tokens$15.00
Best providerxAI
OpenAI
o3
Input tokens$2.00
Output tokens$8.00
Best providerOpenAI
Notice missing or incorrect data?Start an Issue

Context Window

Maximum input and output token capacity

Grok-4 accepts 256,000 input tokens compared to o3's 200,000 tokens. o3 can generate longer responses up to 100,000 tokens, while Grok-4 is limited to 8,000 tokens.

xAI
Grok-4
Input256,000 tokens
Output8,000 tokens
OpenAI
o3
Input200,000 tokens
Output100,000 tokens
Sun Jul 26 2026 • llm-stats.com

Input Capabilities

Supported data types and modalities

Both Grok-4 and o3 support multimodal inputs.

They are both capable of processing various types of data, offering versatility in application.

Grok-4

Text
Images
Audio
Video

o3

Text
Images
Audio
Video

License

Usage and distribution terms

Both models are licensed under proprietary licenses.

Both models have usage restrictions defined by their respective organizations.

Grok-4

Proprietary

Closed source

o3

Proprietary

Closed source

Release Timeline

When each model was launched

Grok-4 was released on 2025-07-09, while o3 was released on 2025-04-16.

Grok-4 is 3 months newer than o3.

Grok-4

Jul 9, 2025

1.0 years ago

2mo newer
o3

Apr 16, 2025

1.3 years ago

Knowledge Cutoff

When training data ends

Grok-4 has a knowledge cutoff of 2024-12-31, while o3 has a cutoff of 2024-05-31.

Grok-4 has more recent training data (up to 2024-12-31), making it potentially better informed about events through that date compared to o3 (2024-05-31).

Grok-4

Dec 2024

7 mo newer
o3

May 2024

Provider Availability

Grok-4 is available from xAI. o3 is available from OpenAI.

Grok-4

xai logo
xAI
Input Price:Input: $3.00/1MOutput Price:Output: $15.00/1M

o3

openai logo
OpenAI
Input Price:Input: $2.00/1MOutput Price:Output: $8.00/1M
* Prices shown are per million tokens

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Key Takeaways

Larger context window (256,000 tokens)
Higher AIME 2025 score (91.7% vs 86.4%)
Higher ARC-AGI v2 score (15.9% vs 6.5%)
Higher GPQA score (87.5% vs 83.3%)
Higher Humanity's Last Exam score (40.0% vs 14.7%)
Less expensive input tokens
Less expensive output tokens

Detailed Comparison

Interactive Arena

Judge for yourself.

Run your own prompts against Grok-4 and o3 side-by-side, then vote on the output you prefer.

Grok-4
✓ Preferred
o3
Open in Playground
AI Model Comparison Table
Feature
xAI
Grok-4
OpenAI
o3

FAQ

Common questions about Grok-4 vs o3.

Which is better, Grok-4 or o3?

Grok-4 significantly outperforms across most benchmarks. Grok-4 is made by xAI and o3 is made by OpenAI. The best choice depends on your use case — compare their benchmark scores, pricing, and capabilities above.

How does Grok-4 compare to o3 in benchmarks?

Grok-4 scores AIME 2025: 91.7%, HMMT25: 90.0%, GPQA: 87.5%, LiveCodeBench: 79.0%, Humanity's Last Exam: 40.0%. o3 scores COLLIE: 98.4%, AIME 2024: 91.6%, ARC-AGI: 88.0%, MathVista: 86.8%, AIME 2025: 86.4%.

Is Grok-4 cheaper than o3?

o3 is 1.5x cheaper for input tokens. Grok-4 costs $3.00/M input and $15.00/M output via xai. o3 costs $2.00/M input and $8.00/M output via openai.

What are the context window sizes for Grok-4 and o3?

Grok-4 supports 256K tokens and o3 supports 200K tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.

What are the main differences between Grok-4 and o3?

Key differences include context window (256K vs 200K), input pricing ($3.00 vs $2.00/M). See the full comparison above for benchmark-by-benchmark results.

Who makes Grok-4 and o3?

Grok-4 is developed by xAI and o3 is developed by OpenAI.