Gemma 4 31B vs GPT-6 Luna Pro

Price, context window & benchmark comparison

G

Gemma 4 31B

Google
$0.09 / $0.34
Input / Output · per 1M tokens
VS
O

GPT-6 Luna Pro

OpenAI
$0.10 / $0.50
Input / Output · per 1M tokens
Compare different models
G
O
Verdict: Gemma 4 31B is 24% cheaper than GPT-6 Luna Pro on a typical 3:1 input/output mix. GPT-6 Luna Pro has the larger context window (1.1M vs 262K).
Gemma 4 31BGPT-6 Luna Pro
Input price / 1M$0.09$0.10
Output price / 1M$0.34$0.50
Blended price (3:1)$0.15$0.20
Cached input / 1M$0.05$0.01
Context window262K1.1M
Max output16K128K
Intelligence index
Coding index43.4
Providers6
Best provider uptime (30m)100.0%
Vision inputYesYes
ReasoningYesYes
Tool callingYesYes
Released2026-04-022026-09-22
Retirement

Cost calculator

FAQ

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

Gemma 4 31B is 24% cheaper than GPT-6 Luna Pro on a typical 3:1 input/output mix.

Gemma 4 31B vs GPT-6 Luna Pro: which has a bigger context window?

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

How much would 1 million requests cost?

At 2,000 input + 500 output tokens per request: Gemma 4 31B ≈ $350.00, GPT-6 Luna Pro ≈ $450.00.

More comparisons