Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Gemma 4 31B vs GPT-5.1

Google · released

Wins 1 of 7 areas

Following instructions

OpenAI · released

Wins 6 of 7 areas

Coding · Agents · Reasoning · Facts · Images and charts · Long documents

GPT-5.1 is the stronger all-rounder.Gemma 4 31B is cheaper and better at following instructions.

Scores updated · 35 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.17 to read · $0.40 to write$0.57Price from Artificial Analysis
GPT-5.1$1.25 to read · $10.00 to write$11Price from Artificial Analysis

Gemma 4 31B costs 95% 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.1 pulls ahead

Where Gemma 4 31B pulls ahead

  • Follows unfamiliar, precisely checkable instructionsIFBench+2.7points aheadGemma 4 31B75.6GPT-5.172.9
  • Code for real scientific research problemsSciCode+2.2points aheadGemma 4 31B45.5GPT-5.143.3

Every test, side by side

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

CodingGPT-5.1

Full coding ranking

AgentsGPT-5.1

Full agents ranking

ReasoningGPT-5.1

Full reasoning ranking

FactsGPT-5.1

Full facts ranking

Images and chartsGPT-5.1

Full images and charts ranking

Long documentsGPT-5.1
  • AA-LCRGPT-5.1 by 10.369.780+10.3

Full long documents ranking

Following instructionsGemma 4 31B
  • IFBenchGemma 4 31B by 2.775.672.9+2.7

Full following instructions ranking

Other results15 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.1?

GPT-5.1 wins six of the seven areas where both have results: coding, agents, reasoning, facts, images and charts and long documents. Gemma 4 31B wins following instructions, and costs 95% less.

Which is better for coding?

GPT-5.1. It wins 5 of the 6 coding tests both models report; Gemma 4 31B wins 1.

Which is cheaper?

Gemma 4 31B costs $0.17 per million input tokens and $0.40 per million output tokens; GPT-5.1 costs $1.25 and $10.00. That makes Gemma 4 31B about 95% cheaper for the same work.

How do you compare the two?

We use the 35 benchmark tests both models have published scores on. The verdict counts the 20 tests in the eight capability areas, and a gap under one point (ten on rating-style scales) counts as a tie. The other 15 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.