Skip to main content

text model comparison

Gemma 4 31B vs GPT-5.4

Gemma 4 31B and GPT-5.4 are both current text models, from Google and OpenAI. On Arena Text, Gemma 4 31B scores 1443 Elo and GPT-5.4 1469 Elo (Arena, measured November 22, 2026). On the Epoch Capabilities Index, which combines more than 50 benchmarks, GPT-5.4 scores 157.9 and Gemma 4 31B 144.1, a gap wider than their 90% credible intervals. GPT-5.4 has the larger context window, 1,050,000 vs 262,144 tokens.

Higher Arena Text
GPT-5.41469 Elo against 1443 Elo
Longer context window
GPT-5.41.05M tokens against 262K tokens
Newer release
Gemma 4 31BApr 2026 against Mar 2026

Data verified November 23, 2026 · Dataset 2026-11-23

Share this

Side by side

Gemma 4 31B and GPT-5.4, line by line

Prices in effect today, compared at the same tier wherever both list one. The better value in each row is highlighted.

FactGemma 4 31BGPT-5.4
Price
Price per 1M input tokensNot listed$2.50
Price per 1M output tokensNot listed$15
Independent benchmarks
Arena Text1443 Elo (#31 of 57)Range 1435 to 14501469 Elo (#18 of 57) (better)Range 1465 to 1473
Arena WebDev1371 Elo (#50 of 53)Range 1365 to 13771400 Elo (#47 of 53) (better)Range 1390 to 1410
Epoch Capabilities Index144.1 points (#42 of 46)Range 141.7 to 146.6157.9 points (#22 of 46) (better)Range 156 to 160
GPQA Diamond75.8% (#40 of 44)93.3% (#19 of 44) (better)
SimpleQA Verified10.4% (#39 of 40)45.1% (#27 of 40) (better)
FrontierMath Tiers 1-3 (v2)Not measured78.6% (#19 of 42)
LiveBench OverallNot measured77.97 points (#2 of 2)
Specs
ProviderGoogleOpenAI
Release dateApril 2, 2026March 5, 2026
Accessopen weightsAPI only
Context window262,144 tokens1,050,000 tokens
Max outputNot reported128,000 tokens
Inputtext, imagetext, image
Outputtexttext

Ranges under the scores are the publishers' own: published rating ranges from Arena and 90% credible intervals from Epoch AI. Where two ranges overlap, the gap is inside the measurement's own uncertainty, so the row says too close to call and neither score is highlighted or counted as a lead.

Scores:Arena · 2026-11-23Epoch AI · 2026-11-23LiveBench · 2026-06-25

Open both in the interactive comparison

Charts

Against every current text model

Where Gemma 4 31B and GPT-5.4 land among the current models of their task, on every independent benchmark, on price and on context.

Where each stands

On Arena Text, Gemma 4 31B ranks #31 and GPT-5.4 #18 of 57 current models. Each bar is the share of current models it beats: on score, price and context.

Gemma 4 31B and GPT-5.4 among the current text models, one row per benchmark, price and context window.

Independent benchmarks

Arena Text

Gemma 4 31B:#31of 57

1,443 Elo · ahead of 46%

Published rating range 1,435 to 1,450

GPT-5.4:#18of 57

1,469 Elo · ahead of 68%

Published rating range 1,465 to 1,473

Arena WebDev

Gemma 4 31B:#50of 53

1,371 Elo · ahead of 6%

Published rating range 1,365 to 1,377

GPT-5.4:#47of 53

1,400 Elo · ahead of 10%

Published rating range 1,390 to 1,410

Epoch Capabilities Index

Gemma 4 31B:#42of 46

144.1 · ahead of 9%

90% credible interval 141.7 to 146.6

GPT-5.4:#22of 46

157.9 · ahead of 53%

90% credible interval 156 to 160

GPQA Diamond

Gemma 4 31B:#40of 44

75.8% · ahead of 9%

GPT-5.4:#19of 44

93.3% · ahead of 56%

FrontierMath Tiers 1-3 (v2)

Gemma 4 31B: Not scored

GPT-5.4:#19of 42

78.6% · ahead of 56%

Price and context

Price per 1M input tokens

Gemma 4 31B: Not listed

GPT-5.4:#52of 66

$2.50 · cheaper than 22%

Price per 1M output tokens

Gemma 4 31B: Not listed

GPT-5.4:#52of 66

$15 · cheaper than 18%

Context window

Gemma 4 31B:#69of 80

262K tokens · longer than 10%

GPT-5.4:#1of 80

1.05M tokens · longer than 82%

Quality against price

Arena Text · measured November 22, 2026

GPT-5.4 scores 1,469 at $5.63 (blended price per 1M tokens). The line joins the current models no other beats on both price and Arena Text score; hover any point to name it.

Quality against priceArena Text score against price for 47 text models, Gemma 4 31B and GPT-5.4 marked.1,2501,3001,3501,4001,4501,5001,5501,600$0.30$1$3$10MOST ATTRACTIVE QUADRANTMedian price $3Median 1,450Blended price per 1M tokens (3 input : 1 output), log scaleArena Text (Elo)GPT-5.4
Quality against price: the data
Arena Text score against price for 47 text models, Gemma 4 31B and GPT-5.4 marked.
ModelProviderBlended price per 1M tokensArena Text (Elo)
Gemini 4 CarbonGoogle$41,539
Gemini 4 ArgonGoogle$41,528
Gemini 4 NeonGoogle$61,523
Claude Opus 5.5Anthropic$81,514
Muse WonderMeta$81,504
Gemini 4 HydrogenGoogle$31,502
Gemini 3.8 FlashGoogle$1.501,501
Muse Spark 1.3Meta$21,493
MiMo-V2.6-ProXiaomi MiMo$0.541,493
Qwen3.8-MaxAlibaba Qwen$31,485
Gemini 3.6 FlashGoogle$31,479
Claude Fable 5.2Anthropic$161,477
Kimi K3Moonshot Kimi$61,475
GLM-5.3Z.ai$2.151,475
GLM-5.3-FlashZ.ai$0.241,472
GPT-5.5OpenAI$111,471
GPT-5.4OpenAI$5.631,469
Claude Sonnet 5.5Anthropic$41,469
Gemini 3 Flash PreviewGoogle$1.131,466
DeepSeek-V4.1-FlashDeepSeek$0.521,463
Kimi K3.1 ProMoonshot Kimi$41,459
GPT-5.6 SolOpenAI$81,457
Grok 4.20xAI$1.561,451
MiMo-V2.6-FlashXiaomi MiMo$0.181,450
GPT-5.6 TerraOpenAI$4.501,449
Grok 4.5xAI$31,448
GPT-6.1 SolOpenAI$41,446
DeepSeek-V4-ProDeepSeek$1.981,445
Step 5 PreviewStepFun$1.431,444
GPT-6 AstraOpenAI$201,441
Gemini 3.5 Flash-LiteGoogle$0.851,435
GPT-5.6 LunaOpenAI$0.451,431
Grok 4.6xAI$31,430
Mistral Large 4Mistral AI$1.051,414
GPT-6.2 SolOpenAI$41,414
GPT-6.2 AstraOpenAI$161,413
Inkling 2 SmallThinking Machines Lab$0.471,403
Grok 4.7xAI$31,401
Claude Haiku 5.5Anthropic$0.201,398
GPT-6 SolOpenAI$41,398
Grok 4.3xAI$1.561,397
GPT-6 LunaOpenAI$0.201,391
Solar Pro 4Upstage$0.521,388
GPT-4.1OpenAI$3.501,383
Inkling 2 MiniThinking Machines Lab$0.241,344
GPT-4.1 miniOpenAI$0.701,340
GPT-4.1 nanoOpenAI$0.181,285

Cost

What each costs

Example workloads at each provider's listed rates, then every other rate either one lists. The cheaper figure in each row is highlighted.

Workload or rateGemma 4 31BGPT-5.4
Other listed rates
1M input tokens, cachedNot listed$0.25

Your own bill will differ. These figures use list prices and example workloads. The AI Model Cost Audit reviews your real usage, shortlists models that score as well for each task for less, and estimates the savings.

Launch price $100, regular price $150

See the cost audit

Verdict

When to choose each

Gemma 4 31B

Where it leads

  • Open weights you can run yourself

Best for

  • Self-hosted chat and reasoning on one GPU
  • Fine-tuning an Apache 2.0 dense base

Watch out for

  • Self-hosted only here: no first-party per-token price is recorded
  • No audio input (the smaller Gemma 4 models have it), and the context is 256K tokens
  • Epoch AI ran it only at minimal reasoning: 75.8% on GPQA Diamond, against Google's 84.3%, and 10.4% on SimpleQA Verified; Arena places it well below Qwen3.8-27B on WebDev (1371 against 1590)

GPT-5.4

Where it leads

  • Higher Arena Text score, 1469 Elo vs 1443 Elo
  • Higher Arena WebDev score, 1400 Elo vs 1371 Elo
  • Higher Epoch Capabilities Index score, 157.9 points vs 144.1 points
  • Higher GPQA Diamond score, 93.3% vs 75.8%
  • Higher SimpleQA Verified score, 45.1% vs 10.4%
  • Larger context window 1,050,000 vs 262,144 tokens
  • A cached-input rate, $0.25 per 1M tokens

Best for

  • Long-context coding and professional-work evaluations

Watch out for

  • Prompts above the provider long-context threshold use higher token rates; reproduce cost and quality on the target workload

From benchmark to production

Building on Gemma 4 31B or GPT-5.4?

Public scores rarely hold on your own data. We test both models on your real tasks, then build the agent or pipeline around the one that wins.

AI Model Cost AuditLaunch price $100, regular price $150

FAQ

Gemma 4 31B vs GPT-5.4 FAQ

Do Gemma 4 31B and GPT-5.4 discount cached input?

GPT-5.4 lists a cached-input rate of $0.25 per 1M tokens, 90% below its standard input rate. No cached-input rate is listed for Gemma 4 31B.

Which scores higher on independent benchmarks, Gemma 4 31B or GPT-5.4?

GPT-5.4 leads on Arena Text, 1469 Elo to 1443 Elo; GPT-5.4 leads on Arena WebDev, 1400 Elo to 1371 Elo; GPT-5.4 leads on the Epoch Capabilities Index, 157.9 points to 144.1 points. Scores are independent evaluations, not either vendor's launch figures.

Which has the larger context window, Gemma 4 31B or GPT-5.4?

GPT-5.4 has the larger context window, 1,050,000 vs 262,144 tokens.

Can I run Gemma 4 31B or GPT-5.4 myself?

Gemma 4 31B is released as open weights you can run yourself; GPT-5.4 is available through its provider's API only.

AI Model Brief

The AI models worth knowing, once a week

What shipped, how it scores on independent benchmarks, what it costs per million tokens and what was deprecated, from the data behind our AI model benchmarks.

One email a week. We send a confirmation link first, and every issue has a one-click unsubscribe.

We use your address only to send the brief. See our privacy policy.

See this week’s brief

Production evaluation

Choosing between Gemma 4 31B and GPT-5.4?

Public benchmarks narrow the shortlist. We run both on your own tasks, data and cost limits, then build the routing and review controls to run the winner in production.

  • A head-to-head evaluation on your real workload
  • Routing between models by cost and difficulty