Gemini 3.1 Pro vs Grok-4 Comparison

Comparing Gemini 3.1 Pro and Grok-4 across benchmarks, pricing, and capabilities.

Performance Benchmarks

Comparative analysis across standard metrics

3 benchmarks

Gemini 3.1 Pro outperforms in 3 benchmarks (ARC-AGI v2, GPQA, Humanity's Last Exam), while Grok-4 is better at 0 benchmarks.

Gemini 3.1 Pro significantly outperforms across most benchmarks.

Tue Mar 17 2026 • llm-stats.com

Arena Performance

Human preference votes

Pricing Analysis

Price comparison per million tokens

Gemini 3.1 Pro costs less

For input processing, Gemini 3.1 Pro ($2.50/1M tokens) is 1.2x cheaper than Grok-4 ($3.00/1M tokens).

For output processing, Gemini 3.1 Pro ($15.00/1M tokens) costs the same as Grok-4 ($15.00/1M tokens).

In conclusion, Grok-4 is more expensive than Gemini 3.1 Pro.*

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

Lowest available price from all providers
Tue Mar 17 2026 • llm-stats.com
Google
Gemini 3.1 Pro
Input tokens$2.50
Output tokens$15.00
Best providerGoogle
xAI
Grok-4
Input tokens$3.00
Output tokens$15.00
Best providerxAI
Notice missing or incorrect data?Start an Issue

Context Window

Maximum input and output token capacity

Gemini 3.1 Pro accepts 1,048,576 input tokens compared to Grok-4's 256,000 tokens. Gemini 3.1 Pro can generate longer responses up to 65,536 tokens, while Grok-4 is limited to 8,000 tokens.

Google
Gemini 3.1 Pro
Input1,048,576 tokens
Output65,536 tokens
xAI
Grok-4
Input256,000 tokens
Output8,000 tokens
Tue Mar 17 2026 • llm-stats.com

Input Capabilities

Supported data types and modalities

Both Gemini 3.1 Pro and Grok-4 support multimodal inputs.

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

Gemini 3.1 Pro

Text
Images
Audio
Video

Grok-4

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.

Gemini 3.1 Pro

Proprietary

Closed source

Grok-4

Proprietary

Closed source

Release Timeline

When each model was launched

Gemini 3.1 Pro was released on 2026-02-19, while Grok-4 was released on 2025-07-09.

Gemini 3.1 Pro is 8 months newer than Grok-4.

Gemini 3.1 Pro

Feb 19, 2026

3 weeks ago

7mo newer
Grok-4

Jul 9, 2025

8 months ago

Knowledge Cutoff

When training data ends

Gemini 3.1 Pro has a knowledge cutoff of 2025-01-31, while Grok-4 has a cutoff of 2024-12-31.

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

Gemini 3.1 Pro

Jan 2025

1 mo newer
Grok-4

Dec 2024

Provider Availability

Gemini 3.1 Pro is available from Google. Grok-4 is available from xAI. The availability of providers can affect quality of the model and reliability.

Gemini 3.1 Pro

google logo
Google
Input Price:Input: $2.50/1MOutput Price:Output: $15.00/1M

Grok-4

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

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Key Takeaways

Larger context window (1,048,576 tokens)
Less expensive input tokens
Higher ARC-AGI v2 score (77.1% vs 15.9%)
Higher GPQA score (94.3% vs 87.5%)
Higher Humanity's Last Exam score (51.4% vs 40.0%)
GoogleGemini 3.1 Pro
xAIGrok-4

Detailed Comparison

AI Model Comparison Table
Feature
Google
Gemini 3.1 Pro
xAI
Grok-4