Skip to content
llmmodels

Gemma 4 31B IT vs Grok 4.6

Grok 4.6 wins 5 of 5 benchmarks both models report and has a higher Epoch Capabilities Index (157.8 vs 144.1). Gemma 4 31B IT is slightly cheaper on a blended (3:1 input:output) token price. Grok 4.6 has the larger context window (500K vs 256K). Gemma 4 31B IT has open weights, so you can self-host and fine-tune it; Grok 4.6 is API-only.

SpecGemma 4 31B ITGrok 4.6
ProviderGoogle DeepMindxAI
ReleasedApr 2, 2026Aug 12, 2026 (better)
TypeReasoning LLMReasoning LLM
Parameters31B1.5T
Context window256K500K (better)
Max output32K500K (better)
Input price / 1MFree (better)$2
Output price / 1MFree (better)$6
Input modalitiestext, image, videotext, image, pdf, file (better)
Open weightsYesNo
Licenseapache-2.0Proprietary
Reasoning modeYesYes
Tool callingYesYes
API providers51 (better)35
Epoch Capabilities Index144.1157.8 (better)
GPQA Diamond75.8%94.0% (better)
WebDev Arena13641618 (better)
OTIS Mock AIME73.3%99.2% (better)
FrontierMath—66.0%
ARC-AGI-2—67.1%
SimpleQA Verified10.4%49.3% (better)

Cost example

For a workload of 10M input + 2M output tokens per month: Gemma 4 31B IT costs $0.00 and Grok 4.6 costs $32.00 at list price (Google DeepMind / xai pricing).

About Gemma 4 31B IT

Gemma 4 31B IT is an open-weight reasoning llm from Google DeepMind, released Apr 2, 2026. It has 31B parameters, a 256K-token context window and accepts text, image, video input. It can be used for free via API. It is available from 51 API providers. It scores 144.1 on the Epoch Capabilities Index. Full Gemma 4 31B IT specs →

About Grok 4.6

Grok 4.6 is a proprietary reasoning llm from xAI, released Aug 12, 2026. It has 1.5T parameters, a 500K-token context window and accepts text, image, pdf, file input. API pricing starts at $2 per million input tokens and $6 per million output tokens. It is available from 35 API providers. It scores 157.8 on the Epoch Capabilities Index. Full Grok 4.6 specs →

Compare other models

FAQ

Which is better, Gemma 4 31B IT or Grok 4.6?

Grok 4.6 wins 5 of 5 benchmarks both models report and has a higher Epoch Capabilities Index (157.8 vs 144.1). Gemma 4 31B IT is slightly cheaper on a blended (3:1 input:output) token price. Grok 4.6 has the larger context window (500K vs 256K). Gemma 4 31B IT has open weights, so you can self-host and fine-tune it; Grok 4.6 is API-only.

Is Gemma 4 31B IT cheaper than Grok 4.6?

Gemma 4 31B IT costs Free input / Free output per 1M tokens; Grok 4.6 costs $2 / $6. Gemma 4 31B IT is cheaper overall.

Which has a bigger context window?

Gemma 4 31B IT: 262,144 tokens. Grok 4.6: 500,000 tokens.

Are Gemma 4 31B IT and Grok 4.6 open source?

Gemma 4 31B IT is open-weight; Grok 4.6 is proprietary.