Across 6 comparable benchmarks, Gemma 4 31B and Spark-X2.5-4B are evenly matched at 3 apiece.
Moderate evidence6 of 6 shared results countedHow we compare
Price basis: Standard rates vs listed rates. The price section below shows the applicable periods.
| Fact | Gemma 4 31B | Spark-X2.5-4B |
|---|---|---|
| Context window | 256K tokens | 1M tokens |
| Input / 1M | Free | — |
| Output / 1M | Free | — |
| Blended (4:1) | Free | — |
| Status | Available | Available |
| Released | April 2, 2026 | September 1, 2026 |
Blended is 4:1 input to output with 90% cache hits at listed rates — set your own mix.
Mean of 4 shared benchmarks grouped by capability on a 0–100 scale. How averages are built
Spark-X2.5-4B ahead on 1 of 1 counted
Gemma 4 31B ahead on 1 of 1 counted
No fixed-scale average — see the rows in Benchmark results
Spark-X2.5-4B ahead on 1 of 1 counted
Spark-X2.5-4B ahead on 1 of 1 counted
Gemma 4 31B ahead on 1 of 1 counted
No shared comparable results for Coding, Abstract reasoning, Long context, Multimodal, Cybersecurity.
Published scores, with matching modes where available. Gaps show Gemma 4 31B relative to Spark-X2.5-4B. Reading the results
| Benchmark | Gemma 4 31B | Spark-X2.5-4B | Gap |
|---|---|---|---|
| AIME 2026Mathematics · Accuracy | 89.2Thinking · no tools | 90.7Thinking · no tools | −1.5 pts#41 vs #40 of 46 |
| SciCodeScientific Computing · Score | 45.5Thinking · no tools | 34.7Thinking · no tools | 1.31×#62 vs #87 of 98 |
| MCP-AtlasTool Orchestration · Pass rate / claim coverage | 54.2Thinking · tools | 54.6Thinking · tools | −0.4 pts#52 vs #51 of 55 |
| BrowseCompFact Finding · Accuracy | 37.0Thinking · tools | 40.9≠Thinking · tools + web | −3.9 pts#56 vs #54 of 61 |
| τ²-BenchService Workflows · Accuracy | 76.9Thinking · tools | 75.1Thinking · tools | +1.8 pts#20 vs #22 of 40 |
| HLEKnowledge Exams · Accuracy | 26.5Thinking · tools + web | 12.3≠Thinking · no tools | +14.2 pts#91 vs #121 of 151 |
Mathematics · Accuracy
Scientific Computing · Score
Tool Orchestration · Pass rate / claim coverage
Fact Finding · Accuracy
Service Workflows · Accuracy
Knowledge Exams · Accuracy
A dash means no result is available.
| Benchmark | Gemma 4 31B | Spark-X2.5-4B |
|---|---|---|
| CritPt | 1.4 | — |
| Gaokao 2026 | — | 133 |
| GPQA | — | 67.4 |
| GPQA Diamond | 84.3 | — |
| HLE-Diamond | 7.2 | — |
| HMMT Feb 2026 | — | 81.2 |
| IMO-AnswerBench | — | 74.2 |
| MMLU-Pro | 85.2 | — |
| CodeForces | 2150 | — |
| DeepSWE | 0.3 | — |
| FrontierCode 2.0 | 0.0 | — |
| LiveCodeBench | 80.0 | — |
| SWE-bench Multilingual | — | 53.3 |
| SWE-Bench Pro - Public | — | 44.4 |
| SWE-bench Verified | — | 41.6 |
| Terminal Bench Hard | 36.4 | — |
| BFCL-V4 | — | 65.1 |
| MCPMark | — | 14.2 |
| PinchBench v2 | 52.7 | — |
| ScreenSpot-Pro (no tools) | 5.9 | — |
| AA Intelligence Index v5.0.1 | 4.4 | — |
| LiveBench | 61.6 | — |
| LiveBench 2.0 | 32.4 | — |
| Creative Writing | 1369 | — |
| IF Bench | — | 75.0 |
| IFEval | — | 93.0 |
| AA-LCR | — | 56.3 |
| GDM-MRCR v2 (8-needle, 128K) | 66.4 | — |
| LongBench v2 | 52.9 | — |
| Chartography | 12.0 | — |
| GDP.pdf | 6.0 | — |
| MathVision | 85.6 | — |
| MMMU-Pro | 76.9 | — |
| OmniDocBench | 82.5 | — |
| PerceptionBench | 40.7 | — |
| ZeroBench Main | 12.0 | — |
| AutomationBench | 1.7 | — |
| GDPval-AA v2 | 627 | — |
| Harvey Lab-AA | 47.2 | — |
| JobBench | 8.2 | — |
| SAGE | 82.8 | — |
| VitaBench 2.0 | — | 25.2 |
| Workspace-Bench | — | 31.2 |
| τ³-Banking | 14.8 | — |
| τ³-Bench | — | 30.4 |
| DeepSearchQA | 61.7 | — |
Time-of-day providers use peak-hour rates; fixed-price providers use standard rates. Off-peak discounts remain in the published details.
Drag the handle above the bar for cache hits, the one below it for the input : output mix · 5% steps
Blended price = effective input rate at 90% cache hits × 80% + output rate × 20%
A blended cost needs a published input and output price on both sides, and one of these two does not have them yet.
Gemma 4 31B: Standard pricing. Google Gemini Developer API Free Tier verified 2026-11-13; Free of charge (Paid Tier N/A)
Spark-X2.5-4B: Listed text rates; pricing tier not confirmed.
| Price / 1M tokens | Gemma 4 31B | Spark-X2.5-4B | Ratio |
|---|---|---|---|
| Input | $0.00 | — | — |
| Output | $0.00 | — | — |
| Cached input | — | — | — |
| Cache write | — | — | — |
| Blended | $0.00 | — | — |
Estimates use the selected token mix. Cache writes, tool fees and long-context surcharges are excluded.
Reported cost per task, paired with the score from the same run. Settings and sources may differ; costs do not affect the verdict.
| Benchmark | Gemma 4 31B | Spark-X2.5-4B |
|---|---|---|
| AutomationBench | Not reported | |
| LiveBench 2.0 | $0.0712 / task Average · Overall score (equal-weight mean of 7 suite scores, 0-100): 41.5 Max (task-specific tools) | Not reported |
| SAGE | Not reported |
| Attribute | Gemma 4 31B | Spark-X2.5-4B |
|---|---|---|
| Availability | Available | Available |
| Provider | Google Deep Mind | iFLYTEK |
| Model type | Chat model | Reasoning model |
| First release | April 2, 2026 | September 1, 2026 |
| Context window | 256K tokens | 1M tokens |
| Max output | 32K tokens | — |
| Total parameters | 30.7B | 4.1B |
| Active parameters | — | 4.1B |
| Architecture | Dense | Dense |
| Documented capabilities | Reasoning, Function calling, Structured output, Long context | Reasoning, Multilingual, Tool use, Function calling, Coding, Long context |
| Knowledge cutoff | 2025-01 | — |
| Input modalities | Text, Image | Text |
| Output modalities | Text | Text |
| Weights | Open weights | Open weights |
| Licence | Apache 2.0 | Apache 2.0 |
| Commercial use | Commercial use allowed | Commercial use allowed |
These are reported-score comparisons, not controlled head-to-head tests.
What people found comparing these models, or using either one. Comments also appear on the models' own pages.
Sign in with Google to comment on Gemma 4 31B vs Spark-X2.5-4B.
No community comments on either model yet.
Alternatives with the most benchmark overlap for this matchup.