ModelsCompareBest forBenchmarksStatusPricingAPI
Compare / head-to-head

ERNIE 5.0vsGemma 4 31B

Gemma 4 31B leads 2 of 3 shared benchmarks. 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 – 2
Gemma 4 31B leads
Cheaper per token
list price, input + output
Larger context
Gemma 4 31B
256K tokens
Provider uptime (30d)
— · 100%
Baidu · Google
ERNIE 5.0
Baidu · released 2026-02-06
textvision
Context
128K
Max out
66K
Input /1M
Output /1M
Cached /1M
Scores
21 · 5 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.0Gemma 4 31BΔEdge
Reported by both · 3
GPQA Diamond86.36% 84.3% +2.1 ptERNIE 5.0
MMLU-Pro83.8% 85.2% -1.4 ptGemma 4 31B
LiveCodeBench v676.21% 80% -3.8 ptGemma 4 31B
Only ERNIE 5.0 reports · 18
AIME 202589.06% not reported
ACEBench Chinese89.6% not reported
ACEBench English87.7% not reported
BBEH66.63% not reported
BFCL v466.47% not reported
BrowseComp-ZH64.71% not reported
ChineseSimpleQA86.03% not reported
HMMT 202579.58% not reported
HumanEval+94.48% not reported
Humanity's Last Exam25.81% not reported
IFEval93.35% not reported
MBPP+82.54% not reported
Multi-IF85.56% not reported
MultiChallenge65.98% not reported
SimpleQA74.01% not reported
SpreadsheetBench40.08% not reported
Tau2-Bench78.79% not reported
ZebraLogic96.5% not reported
Only Gemma 4 31B reports · 3
AIME 2026not reported89.2%
Humanity's Last Exam (no tools)not reported19.5%
LMArena Elonot reported1441.7
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.0 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.0Gemma 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.
Modalitiestext · visiontext · visionTie
Released2026-02-062026-04-02
Cited benchmark scores216
Reliability

Provider status

All providers
Built by Respan
Which one wins on your data?

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