whichllmmodel
Back to Dashboard

Google Gemini 3.1 Pro VS xAI Grok 4.5

✍️ Analysis by:the whichllmmodel Editorial Team|📅 Updated: June 2026

👑Our Take

Grok 4.5 is the superior choice here. It holds a 5.9% average lead in benchmarks while actually being more cost-effective (saving 1.5x on API costs compared to Gemini 3.1 Pro). Unless you have specific provider lock-in, go with Grok 4.5.
Was this recommendation helpful?
Model Specs

Gemini 3.1 Pro

Benchmarks & Scores

Coding (swe-bench-pro)
54.2%

excellent at multi-file repositories, autonomous agents, and industrial codebases

Reasoning (gpqa-diamond)Winner (+1.3%)
94.3%

graduate-level science QA

Cost & Performance

Cost (per 1M tokens)
$4.50Input: $2.00 | Output: $12.00
Context WindowLarger
1.05M tokens
Model Specs

Grok 4.5

Benchmarks & Scores

Coding (swe-bench-pro)Winner (+10.5%)
64.7%

excellent at multi-file repositories, autonomous agents, and industrial codebases

Reasoning (gpqa-diamond)
93%

graduate-level science QA

Cost & Performance

Cost (per 1M tokens)1.5x cheaper
$3.00Input: $2.00 | Output: $6.00
Context Window
500k tokens

Frequently Asked Questions about Gemini 3.1 Pro vs Grok 4.5 comparison

Grok 4.5 is cheaper than Gemini 3.1 Pro. Grok 4.5 has a blended cost of $3.00/1M tokens, which is about 1.5x cheaper than Gemini 3.1 Pro at $4.50/1M tokens.

Grok 4.5 is better for coding tasks on this benchmark. It scores 64.7% on swe-bench-pro (excellent at multi-file repositories, autonomous agents, and industrial codebases) compared to Gemini 3.1 Pro which scores 54.2%.