ModelsCompareBest forBenchmarksStatusPricingAPI
Compare / head-to-head

ERNIE 5.1vsGemma 4 31B

ERNIE 5.1 leads 1 of 1 shared benchmark. Gemma 4 31B has the larger context window (256K tokens).

Benchmarks from cited public sources; pricing from official pages; status from official provider feeds.

Shared benchmarks
1 – 0
ERNIE 5.1 leads
Cheaper per token
list price, input + output
Larger context
Gemma 4 31B
256K tokens
Provider uptime (30d)
— · 100%
Baidu · Google
ERNIE 5.1
Baidu · released 2026-05-09
text
Context
128K
Max out
66K
Input /1M
Output /1M
Cached /1M
Scores
2 · 2 core
Gemma 4 31B
Google · released 2026-04-02
textvision
Context
256K
Max out
Input /1M
Output /1M
Cached /1M
Scores
6 · 5 core
Quality

Benchmark matrix

BenchmarkERNIE 5.1Gemma 4 31BΔEdge
Reported by both · 1
LMArena Elo1468.2 1441.7 +26.5ERNIE 5.1
Only ERNIE 5.1 reports · 1
AIME 2026 (with tools)99.6% not reported
Only Gemma 4 31B reports · 5
GPQA Diamondnot reported84.3%
MMLU-Pronot reported85.2%
AIME 2026not reported89.2%
Humanity's Last Exam (no tools)not reported19.5%
LiveCodeBench v6not reported80%
Scores tagged "epoch" or "matharena" are independent runs, used only where the lab has not published its own; ⚠ marks rows MathArena flags as released after the competition. Higher is better on every row. Δ is ERNIE 5.1 minus Gemma 4 31B in the benchmark's own unit. "Not reported" means the lab has not published that figure; it is not a zero. ↗ opens the source.
Specs & pricing

Side by side

SpecERNIE 5.1Gemma 4 31BEdge
Context window128K tokens256K tokensGemma 4 31B
Max output66K tokens
Input price / 1M
Output price / 1M
Cached input / 1M
Input + output / 1M
Lower is cheaper. List prices; batch, tool and regional fees excluded.
Modalitiestexttext · visionGemma 4 31B
Released2026-05-092026-04-02
Cited benchmark scores26
Reliability

Provider status

All providers
More matchups

ERNIE 5.1 vs …

Built by Respan
Which one wins on your data?

Public benchmarks are a starting point. Run ERNIE 5.1 and Gemma 4 31B on your own prompts with Respan evals, or route to either through one gateway key with automatic failover.