Model Comparison

GPT-4o mini vs Grok Code Fast 1

Grok Code Fast 1 significantly outperforms across most benchmarks. GPT-4o mini is 2.0x cheaper per token.

Performance Benchmarks

Comparative analysis across standard metrics

1 benchmarks

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.

Wed May 06 2026 • llm-stats.com

Arena Performance

Human preference votes

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
Wed May 06 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
Wed May 06 2026 • llm-stats.com

Input Capabilities

Supported data types and modalities

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

1.8 years ago

Grok Code Fast 1

Aug 28, 2025

8 months 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

Key Takeaways

Supports multimodal inputs
Less expensive input tokens
Less expensive output tokens
Larger context window (256,000 tokens)
Higher SWE-Bench Verified score (70.8% vs 8.7%)

Detailed Comparison

AI Model Comparison Table
Feature
OpenAI
GPT-4o mini
xAI
Grok Code Fast 1

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 significantly outperforms across most benchmarks. 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 benchmark scores, pricing, and capabilities 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 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.