Model Comparison

Grok-4 vs Grok Code Fast 1

Comparing Grok-4 and Grok Code Fast 1 across benchmarks, pricing, and capabilities.

Performance Benchmarks

Comparative analysis across standard metrics

No common benchmarks found

Grok-4 and Grok Code Fast 1 don't have any common benchmark datasets to compare. They may have been evaluated on different testing suites.

Arena Performance

Human preference votes

Pricing Analysis

Price comparison per million tokens

Grok Code Fast 1 costs less

For input processing, Grok-4 ($3.00/1M tokens) is 15.0x more expensive than Grok Code Fast 1 ($0.20/1M tokens).

For output processing, Grok-4 ($15.00/1M tokens) is 10.0x more expensive than Grok Code Fast 1 ($1.50/1M tokens).

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

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

Lowest available price from all providers
Wed May 27 2026 • llm-stats.com
xAI
Grok-4
Input tokens$3.00
Output tokens$15.00
Best providerxAI
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

Both models have the same input context window of 256,000 tokens. Grok Code Fast 1 can generate longer responses up to 10,000 tokens, while Grok-4 is limited to 8,000 tokens.

xAI
Grok-4
Input256,000 tokens
Output8,000 tokens
xAI
Grok Code Fast 1
Input256,000 tokens
Output10,000 tokens
Wed May 27 2026 • llm-stats.com

Input Capabilities

Supported data types and modalities

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

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

Grok-4

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.

Grok-4

Proprietary

Closed source

Grok Code Fast 1

Proprietary

Closed source

Release Timeline

When each model was launched

Grok-4 was released on 2025-07-09, while Grok Code Fast 1 was released on 2025-08-28.

Grok Code Fast 1 is 2 months newer than Grok-4.

Grok-4

Jul 9, 2025

10 months ago

Grok Code Fast 1

Aug 28, 2025

9 months ago

1mo newer

Knowledge Cutoff

When training data ends

Grok-4 has a documented knowledge cutoff of 2024-12-31, while Grok Code Fast 1's cutoff date is not specified.

We can confirm Grok-4's training data extends to 2024-12-31, but cannot make a direct comparison without Grok Code Fast 1's cutoff date.

Grok-4

Dec 2024

Grok Code Fast 1

Provider Availability

Grok-4 is available from xAI. Grok Code Fast 1 is available from xAI.

Grok-4

xai logo
xAI
Input Price:Input: $3.00/1MOutput Price:Output: $15.00/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
xAIGrok-4
xAIGrok Code Fast 1

Detailed Comparison

AI Model Comparison Table
Feature
xAI
Grok-4
xAI
Grok Code Fast 1

FAQ

Common questions about Grok-4 vs Grok Code Fast 1.

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

Grok-4 (xAI) and Grok Code Fast 1 (xAI) each have strengths in different areas. Compare their benchmark scores, pricing, context windows, and capabilities above to determine which fits your needs.

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

Grok-4 scores AIME 2025: 91.7%, HMMT25: 90.0%, GPQA: 87.5%, LiveCodeBench: 79.0%, Humanity's Last Exam: 40.0%. Grok Code Fast 1 scores SWE-Bench Verified: 70.8%.

Is Grok-4 cheaper than Grok Code Fast 1?

Grok Code Fast 1 is 15.0x cheaper for input tokens. Grok-4 costs $3.00/M input and $15.00/M output via xai. Grok Code Fast 1 costs $0.20/M input and $1.50/M output via xai.

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

Grok-4 supports 256K 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 Grok-4 and Grok Code Fast 1?

Key differences include input pricing ($3.00 vs $0.20/M), multimodal support (yes vs no). See the full comparison above for benchmark-by-benchmark results.