Skip to content
llmmodels

Gemma 4 31B IT vs GPT-5.6 Luna

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

SpecGemma 4 31B ITGPT-5.6 Luna
ProviderGoogle DeepMindOpenAI
ReleasedApr 2, 2026Jul 9, 2026 (better)
TypeReasoning LLMReasoning LLM
Parameters31B—
Context window256K1.1M (better)
Max output32K125K (better)
Input price / 1MFree (better)$0.2
Output price / 1MFree (better)$1.20
Input modalitiestext, image, videotext, image, pdf, file (better)
Open weightsYesNo
Licenseapache-2.0Proprietary
Reasoning modeYesYes
Tool callingYesYes
API providers5159 (better)
Epoch Capabilities Index144.1156.7 (better)
GPQA Diamond75.8%91.6% (better)
WebDev Arena13641519 (better)
OTIS Mock AIME73.3%98.3% (better)
FrontierMath—82.1%
ARC-AGI-2—59.5%
SimpleQA Verified10.4%41.0% (better)

Cost example

For a workload of 10M input + 2M output tokens per month: Gemma 4 31B IT costs $0.00 and GPT-5.6 Luna costs $4.40 at list price (Google DeepMind / openai 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 GPT-5.6 Luna

GPT-5.6 Luna is a proprietary reasoning llm from OpenAI, released Jul 9, 2026. It has a 1.1M-token context window and accepts text, image, pdf, file input. API pricing starts at $0.2 per million input tokens and $1.20 per million output tokens. It is available from 59 API providers. It scores 156.7 on the Epoch Capabilities Index. Full GPT-5.6 Luna specs →

Compare other models

FAQ

Which is better, Gemma 4 31B IT or GPT-5.6 Luna?

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

Is Gemma 4 31B IT cheaper than GPT-5.6 Luna?

Gemma 4 31B IT costs Free input / Free output per 1M tokens; GPT-5.6 Luna costs $0.2 / $1.20. Gemma 4 31B IT is cheaper overall.

Which has a bigger context window?

Gemma 4 31B IT: 262,144 tokens. GPT-5.6 Luna: 1,050,000 tokens.

Are Gemma 4 31B IT and GPT-5.6 Luna open source?

Gemma 4 31B IT is open-weight; GPT-5.6 Luna is proprietary.