Model Comparison

Grok Code Fast 1 vs Grok-2

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

Performance Benchmarks

Comparative analysis across standard metrics

No common benchmarks found

Grok Code Fast 1 and Grok-2 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 Code Fast 1 ($0.20/1M tokens) is 10.0x cheaper than Grok-2 ($2.00/1M tokens).

For output processing, Grok Code Fast 1 ($1.50/1M tokens) is 6.7x cheaper than Grok-2 ($10.00/1M tokens).

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

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

Lowest available price from all providers
Sun Apr 05 2026 • llm-stats.com
xAI
Grok Code Fast 1
Input tokens$0.20
Output tokens$1.50
Best providerxAI
xAI
Grok-2
Input tokens$2.00
Output tokens$10.00
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 Grok-2's 128,000 tokens. Grok Code Fast 1 can generate longer responses up to 10,000 tokens, while Grok-2 is limited to 8,000 tokens.

xAI
Grok Code Fast 1
Input256,000 tokens
Output10,000 tokens
xAI
Grok-2
Input128,000 tokens
Output8,000 tokens
Sun Apr 05 2026 • llm-stats.com

Input Capabilities

Supported data types and modalities

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

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

Grok Code Fast 1

Text
Images
Audio
Video

Grok-2

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 Code Fast 1

Proprietary

Closed source

Grok-2

Proprietary

Closed source

Release Timeline

When each model was launched

Grok Code Fast 1 was released on 2025-08-28, while Grok-2 was released on 2024-08-13.

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

Grok Code Fast 1

Aug 28, 2025

7 months ago

1.0yr newer
Grok-2

Aug 13, 2024

1.6 years ago

Knowledge Cutoff

When training data ends

Neither model specifies a knowledge cutoff date.

Unable to compare the recency of their training data.

No cutoff dates available

Provider Availability

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

Grok Code Fast 1

xai logo
xAI
Input Price:Input: $0.20/1MOutput Price:Output: $1.50/1M

Grok-2

xai logo
xAI
Input Price:Input: $2.00/1MOutput Price:Output: $10.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)
Less expensive input tokens
Less expensive output tokens
Supports multimodal inputs

Detailed Comparison

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

FAQ

Common questions about Grok Code Fast 1 vs Grok-2

Grok Code Fast 1 (xAI) and Grok-2 (xAI) each have strengths in different areas. Compare their benchmark scores, pricing, context windows, and capabilities above to determine which fits your needs.
Grok Code Fast 1 scores SWE-Bench Verified: 70.8%. Grok-2 scores DocVQA: 93.6%, HumanEval: 88.4%, MMLU: 87.5%, MATH: 76.1%, MMLU-Pro: 75.5%.
Grok Code Fast 1 is 10.0x cheaper for input tokens. Grok Code Fast 1 costs $0.20/M input and $1.50/M output via xai. Grok-2 costs $2.00/M input and $10.00/M output via xai.
Grok Code Fast 1 supports 256K tokens and Grok-2 supports 128K tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.
Key differences include context window (256K vs 128K), input pricing ($0.20 vs $2.00/M), multimodal support (no vs yes). See the full comparison above for benchmark-by-benchmark results.