Across 6 comparable benchmarks, Spark-X2.5-4B and Gemma 4 31B are evenly matched at 3 apiece.
Moderate evidence6 of 6 shared results countedHow we compare
Price basis: Listed rates vs standard rates. The price section below shows the applicable periods.
| Fact | Spark-X2.5-4B | Gemma 4 31B |
|---|---|---|
| Context window | 1M tokens | 256K tokens |
| Input / 1M | — | Free |
| Output / 1M | — | Free |
| Blended (4:1) | — | Free |
| Status | Available | Available |
| Released | September 1, 2026 | April 2, 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 Spark-X2.5-4B relative to Gemma 4 31B. Reading the results
| Benchmark | Spark-X2.5-4B | Gemma 4 31B | Gap |
|---|---|---|---|
| AIME 2026Mathematics · Accuracy | 90.7Thinking · no tools | 89.2Thinking · no tools | +1.5 pts#40 vs #41 of 46 |
| SciCodeScientific Computing · Score | 34.7Thinking · no tools | 45.5Thinking · no tools | 0.76×#87 vs #62 of 98 |
| MCP-AtlasTool Orchestration · Pass rate / claim coverage | 54.6Thinking · tools | 54.2Thinking · tools | +0.4 pts#51 vs #52 of 55 |
| BrowseCompFact Finding · Accuracy | 40.9Thinking · tools + web | 37.0≠Thinking · tools | +3.9 pts#54 vs #56 of 61 |
| τ²-BenchService Workflows · Accuracy | 75.1Thinking · tools | 76.9Thinking · tools | −1.8 pts#22 vs #20 of 40 |
| HLEKnowledge Exams · Accuracy | 12.3Thinking · no tools | 26.5≠Thinking · tools + web | −14.2 pts#121 vs #91 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 | Spark-X2.5-4B | Gemma 4 31B |
|---|---|---|
| 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.
Spark-X2.5-4B: Listed text rates; pricing tier not confirmed.
Gemma 4 31B: Standard pricing. Google Gemini Developer API Free Tier verified 2026-11-13; Free of charge (Paid Tier N/A)
| Price / 1M tokens | Spark-X2.5-4B | Gemma 4 31B | 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 | Spark-X2.5-4B | Gemma 4 31B |
|---|---|---|
| AutomationBench | Not reported | |
| LiveBench 2.0 | Not reported | $0.0712 / task Average · Overall score (equal-weight mean of 7 suite scores, 0-100): 41.5 Max (task-specific tools) |
| SAGE | Not reported |
| Attribute | Spark-X2.5-4B | Gemma 4 31B |
|---|---|---|
| Availability | Available | Available |
| Provider | iFLYTEK | Google Deep Mind |
| Model type | Reasoning model | Chat model |
| First release | September 1, 2026 | April 2, 2026 |
| Context window | 1M tokens | 256K tokens |
| Max output | — | 32K tokens |
| Total parameters | 4.1B | 30.7B |
| Active parameters | 4.1B | — |
| Architecture | Dense | Dense |
| Documented capabilities | Reasoning, Multilingual, Tool use, Function calling, Coding, Long context | Reasoning, Function calling, Structured output, Long context |
| Knowledge cutoff | — | 2025-01 |
| Input modalities | Text | Text, Image |
| 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 Spark-X2.5-4B vs Gemma 4 31B.
No community comments on either model yet.
Alternatives with the most benchmark overlap for this matchup.