AI Hub
← All models

Gemma 4 31B vs Grok-4 Heavy

Google vs xAI — benchmarks, pricing, and capabilities side by side.

  • Grok-4 Heavy has the higher intelligence index (89.3 vs 85.7)
Gemma 4 31BGrok-4 Heavy
Intelligence index85.789.3
DeveloperGooglexAI
TypeMultimodalMultimodal
AccessOpen weightsAPI only
Context window262,144 tokens
Input price$0.12 / 1M
Output price$0.37 / 1M
Speed36 tok/s
ReleasedApril 2, 2026July 9, 2025
Parameters
Input modalitiesImage, Text, Video
Output modalitiesText

Shared benchmarks

Gemma 4 31B
Grok-4 Heavy
GPQA Diamond
85.7
88.4
Humanity’s Last Exam
22.7
50.7