The AI arena is free today

Open Superagent

GPT-4o mini vs Grok Code Fast 1

Grok Code Fast 1 leads the LLM Stats Score 20.7 to 3.6. GPT-4o mini is 2.0x cheaper per token.

OpenAI · xAI · Updated for 2026

Which is better?

Grok Code Fast 1 leads the overall LLM Stats Score 20.7 to 3.6, ranking #192 overall.

In the 1 individual benchmarks reported for both models, Grok Code Fast 1 wins 1; this is a narrower head-to-head signal than the composite indexes.

On price, GPT-4o mini is roughly 2.0x cheaper per token on a blended 3:1 input/output basis, which adds up quickly at production volume.

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

Based on current LLM Stats indexes, shared benchmarks, pricing, and model metadata for 2026.

Choose GPT-4o mini

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

Choose Grok Code Fast 1

  • overall performance matters — it scores 20.7 and ranks #192 on LLM Stats
  • your work emphasizes reasoning and coding — it leads those capability indexes
  • you value its reported benchmark strengths — it wins 1 of 1 exact shared results
  • you process long inputs — it offers a 256,000 token context window
  • you want the most recent training data — it shipped Aug 2025

At a glance

The differences that matter most.

Core performance indexes
3.6
#307
20.7
#192
4.1
#297
20.6
#185
-0.6
#244
12.9
#140
Cost, coverage & limits
Benchmark wins
0 of 1
1 of 1
Input price
$0.15 / M
$0.20 / M
Output price
$0.60 / M
$1.50 / M
Context window
128,000
256,000

Individual benchmarks

9 reported for GPT-4o mini · 1 for Grok Code Fast 1

1 shared

GPT-4o mini outperforms in 0 benchmarks, while Grok Code Fast 1 is better at 1 benchmark (SWE-Bench Verified).

Grok Code Fast 1 significantly outperforms across most benchmarks.

Mon Sep 21 2026 • llm-stats.com

Human preference

Blind head-to-head votes and playground preference scores

Pricing Analysis

Price comparison per million tokens

GPT-4o mini costs less

For input processing, GPT-4o mini ($0.15/1M tokens) is 1.3x cheaper than Grok Code Fast 1 ($0.20/1M tokens).

For output processing, GPT-4o mini ($0.60/1M tokens) is 2.5x cheaper than Grok Code Fast 1 ($1.50/1M tokens).

In conclusion, Grok Code Fast 1 is more expensive than GPT-4o mini.*

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

Lowest available price from all providers
Mon Sep 21 2026 • llm-stats.com
OpenAI
GPT-4o mini
Input tokens$0.15
Output tokens$0.60
Best providerAzure
xAI
Grok Code Fast 1
Input tokens$0.20
Output tokens$1.50
Best providerxAI
Notice missing or incorrect data?Start an Issue

Context Window

Maximum input and output token capacity

Grok Code Fast 1 accepts 256,000 input tokens compared to GPT-4o mini's 128,000 tokens. GPT-4o mini can generate longer responses up to 16,384 tokens, while Grok Code Fast 1 is limited to 10,000 tokens.

OpenAI
GPT-4o mini
Input128,000 tokens
Output16,384 tokens
xAI
Grok Code Fast 1
Input256,000 tokens
Output10,000 tokens
Mon Sep 21 2026 • llm-stats.com

Input capabilities

Documented input modalities across available providers

GPT-4o mini supports multimodal inputs, whereas Grok Code Fast 1 does not.

GPT-4o mini can handle both text and other forms of data like images, making it suitable for multimodal applications.

GPT-4o mini

Text
Images
Audio
Video

Grok Code Fast 1

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.

GPT-4o mini

Proprietary

Closed source

Grok Code Fast 1

Proprietary

Closed source

Release Timeline

When each model was launched

GPT-4o mini was released on 2024-07-18, while Grok Code Fast 1 was released on 2025-08-28.

Grok Code Fast 1 is 14 months newer than GPT-4o mini.

GPT-4o mini

Jul 18, 2024

2.2 years ago

Grok Code Fast 1

Aug 28, 2025

1.1 years ago

1.1yr newer

Knowledge Cutoff

When training data ends

GPT-4o mini has a documented knowledge cutoff of 2023-10-01, while Grok Code Fast 1's cutoff date is not specified.

We can confirm GPT-4o mini's training data extends to 2023-10-01, but cannot make a direct comparison without Grok Code Fast 1's cutoff date.

GPT-4o mini

Oct 2023

Grok Code Fast 1

Provider Availability

GPT-4o mini is available from Azure. Grok Code Fast 1 is available from xAI.

GPT-4o mini

azure logo
Azure
Input Price:Input: $0.15/1MOutput Price:Output: $0.60/1M

Grok Code Fast 1

xai logo
xAI
Input Price:Input: $0.20/1MOutput Price:Output: $1.50/1M
* Prices shown are per million tokens

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Judge for yourself.

Run your own prompts against GPT-4o mini and Grok Code Fast 1 side-by-side, then vote on the output you prefer.

GPT-4o mini
✓ Preferred
Grok Code Fast 1
Open in Playground

FAQ

Common questions about GPT-4o mini vs Grok Code Fast 1.

Which is better, GPT-4o mini or Grok Code Fast 1?

Grok Code Fast 1 leads the LLM Stats Score 20.7 to 3.6. GPT-4o mini is made by OpenAI and Grok Code Fast 1 is made by xAI. The best choice depends on your use case — compare their capability indexes, individual benchmarks, pricing, and limits above.

How does GPT-4o mini compare to Grok Code Fast 1 in benchmarks?

GPT-4o mini scores HumanEval: 87.2%, MGSM: 87.0%, MMLU: 82.0%, DROP: 79.7%, MATH: 70.2%. Grok Code Fast 1 scores SWE-Bench Verified: 70.8%.

Is GPT-4o mini cheaper than Grok Code Fast 1?

GPT-4o mini is 1.3x cheaper for input tokens. GPT-4o mini costs $0.15/M input and $0.60/M output via azure. Grok Code Fast 1 costs $0.20/M input and $1.50/M output via xai.

What are the context window sizes for GPT-4o mini and Grok Code Fast 1?

GPT-4o mini supports 128K tokens and Grok Code Fast 1 supports 256K tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.

What are the main differences between GPT-4o mini and Grok Code Fast 1?

Key differences include LLM Stats Score (3.6 vs 20.7), context window (128K vs 256K), input pricing ($0.15 vs $0.20/M), multimodal support (yes vs no). See the full comparison above for benchmark-by-benchmark results.

Who makes GPT-4o mini and Grok Code Fast 1?

GPT-4o mini is developed by OpenAI and Grok Code Fast 1 is developed by xAI.