Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Gemma 4 31B vs GPT-5.6 Luna

Google · released

Wins 0 of 7 areas

—

OpenAI · released

Wins 6 of 7 areas

Coding · Agents · Reasoning · Facts · Math · Long documents

GPT-5.6 Luna is the stronger all-rounder.Gemma 4 31B is cheaper.

Scores updated · 34 tests both models report · How we compare

What it costs

Prices per million tokens, roughly 750,000 words. The bars show the cost of a million tokens read plus a million written.

Gemma 4 31B$0.15 to read · $0.40 to write$0.55Price from Artificial Analysis
GPT-5.6 Luna$0.20 to read · $1.20 to write$1.40Price from Artificial Analysis

Gemma 4 31B costs 61% less for the same work.

The biggest differences

The tests each model wins by the widest margin, up to three each. Scores are out of 100.

Where GPT-5.6 Luna pulls ahead

  • Fixes real GitHub issues in Python projectsSWE-bench Verified+46.9points aheadGPT-5.6 Luna93Gemma 4 31B46.1
  • Finds hard-to-locate facts by browsing the webBrowseComp+46.3points aheadGPT-5.6 Luna83.3Gemma 4 31B37
  • Real work tasks from 44 professionsGDPVal+42points aheadGPT-5.6 Luna48Gemma 4 31B6

Where Gemma 4 31B pulls ahead

Every test, side by side

All 34 tests both models report. The winning score is in its model's colour; marks a score checked independently.

CodingGPT-5.6 Luna

Full coding ranking

AgentsGPT-5.6 Luna

Full agents ranking

ReasoningGPT-5.6 Luna

Full reasoning ranking

FactsGPT-5.6 Luna

Full facts ranking

Images and chartsEven

Full images and charts ranking

MathGPT-5.6 Luna

Full math ranking

Long documentsGPT-5.6 Luna

Full long documents ranking

Other results10 tests, not counted

Tests outside the eight areas. They are not counted above: several are summary scores built from other tests, or the same test under another name.

Questions people ask

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

GPT-5.6 Luna wins six of the seven areas where both have results: coding, agents, reasoning, facts, math and long documents. Gemma 4 31B wins none, but costs 61% less. They are level on images and charts.

Which is better for coding?

GPT-5.6 Luna. It wins 5 of the 5 coding tests both models report; Gemma 4 31B wins none.

Which is cheaper?

Gemma 4 31B costs $0.15 per million input tokens and $0.40 per million output tokens; GPT-5.6 Luna costs $0.20 and $1.20. That makes Gemma 4 31B about 61% cheaper for the same work.

How do you compare the two?

We use the 34 benchmark tests both models have published scores on. The verdict counts the 24 tests in the eight capability areas, and a gap under one point (ten on rating-style scales) counts as a tie. The other 10 are listed but not counted, because several are summary scores or repeat a test. Each score is the one shown on the model's own page.