// head_to_head

Gemma 4 31B vs GPT-6 Luna

Published LiveBench scores across all seven categories, live list pricing, context windows, and the measured cost of a point of capability — for both models, side by side.

OpenRouter + LiveBenchAll comparisonsFull leaderboard

Gemma 4 31B is the cheaper of the two; neither can be ranked on quality here.

Neither model has a published LiveBench run, so this comparison covers price, context and declared capabilities only. A missing score means "not evaluated", not "worse" — the right way to separate these two is an eval on your own workload.

google

Gemma 4 31B

Blended / 1M
$0.152
Context
262K
Released
Apr 2, 2026
Overall score
Not evaluated
reasoningtool callingimage inputvideo inputprompt caching

openai

GPT-6 Luna

Blended / 1M
$0.200
Context
1.1M
Released
Sep 22, 2026
Overall score
Not evaluated
reasoningtool callingfile inputimage inputprompt caching

Specs and pricing

MetricGemma 4 31BGPT-6 Luna
LiveBench overall

Mean of the seven LiveBench category scores, 0–100. Higher is better.

Cost per point

Measured benchmark spend divided by overall score — dollars per point of capability.

Blended price / 1M

3:1 input:output mix, the usual shape of production traffic.

$0.152win$0.200
Input price / 1M$0.090win$0.100
Output price / 1M$0.340win$0.500
Cached input / 1M

Price of an input token served from the prompt cache, where the provider publishes one.

$0.050$0.010win
Context window262K1.1Mwin
Max output tokens16K128Kwin

What each one costs to run

Per-token prices are hard to feel. These are monthly list costs for both models across five workload shapes, using each provider's published cached-input rate where there is one.

WorkloadGemma 4 31BGPT-6 Luna
Support chatbot

1.2K in / 400 out × 200K requests

$45.92/mo$57.52/mo
RAG assistant

8K in / 600 out × 100K requests

$76.40/mo$74.00/mo
Coding agent

40K in / 4K out × 20K requests

$76.80/mo$69.60/mo
Document extraction

20K in / 1.5K out × 50K requests

$113.50/mo$133.00/mo
Bulk classification

500 in / 20 out × 5M requests

$239.00/mo$255.00/mo
Run these two through the cost calculator

Which should you pick?

You need to fit large documents in one call

GPT-6 Luna

Wider context window — 1.1M against 262K.

You are cost-constrained

Gemma 4 31B

Cheaper on blended list price at $0.152 per million tokens.

Gemma 4 31B vs GPT-6 Luna FAQ

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

Gemma 4 31B is the cheaper of the two; neither can be ranked on quality here. Neither model has a published LiveBench run, so this comparison covers price, context and declared capabilities only. A missing score means "not evaluated", not "worse" — the right way to separate these two is an eval on your own workload.

Is Gemma 4 31B cheaper than GPT-6 Luna?

Gemma 4 31B is cheaper. On a 3:1 input:output blend, Gemma 4 31B lists at $0.152 per million tokens and GPT-6 Luna at $0.200 — Gemma 4 31B is 31% cheaper. Input and output are priced separately — Gemma 4 31B charges $0.090 in and $0.340 out, GPT-6 Luna charges $0.100 and $0.500 — so the model that looks cheaper flips depending on how output-heavy your workload is.

Does Gemma 4 31B or GPT-6 Luna have a bigger context window?

GPT-6 Luna has the larger context window: 262K for Gemma 4 31B against 1.1M for GPT-6 Luna. Note that a window you can fill is not a window you should fill — retrieval quality usually degrades well before the limit, and you pay for every token you put in it.

Do Gemma 4 31B and GPT-6 Luna support prompt caching?

Both publish a cached-input rate: $0.050 per million for Gemma 4 31B and $0.010 for GPT-6 Luna, against full input rates of $0.090 and $0.100. On a workload with a long stable prefix — a system prompt, a tool schema, a retrieved corpus — that changes the economics more than the headline price does.

Related comparisons

How these numbers are produced

  • Price — provider list price from OpenRouter, refreshed every 15 minutes. “Blended” is a 3:1 input:output mix.
  • ScoresLiveBench release 2026-06-25, using their own category map. Each model shows its strongest published run. A blank means “not evaluated”, never “bad”.
  • Cost per point — the measured dollars LiveBench spent on the run, divided by the score it earned.
  • “Win” — awarded only past a threshold: one full point on a benchmark score, 10% on a price, 25% on a context window. Anything tighter reports as a tie, because effort settings alone move a LiveBench score by more than that.

Published benchmarks rank models on someone else's tasks. Before committing, see LLM & agent evaluation for building an eval on your own.