whatmodel.sh / Spark-X2.5 4B
Spark-X2.5 4B
↗ share
+ contribute
Spark-X2.5 4B is an open-weights language model from iFLYTEK (SparkLLM), released August 2026. Its published size is 4.11B parameters and a 1M-token context window. Licence: apache-2.0.
Catalogue identity notes
XHToken/Spark-X2.5-4B @0bcb356 (created 2026-08-24, licence apache-2.0). SparkLLM (XHToken org; links to the SparkLLM channels) compact agentic model, Aug 2026; hybrid full/sliding-window attention with a native 1M context. Lab rows plus the authors' own runs of six catalogued comparators in the card table.
Model information sources
Release date ↗ · Weights licence ↗
HF safetensors metadata 4,112,079,360 parameters.
$ how it compares
The LLMs ranked either side of Spark-X2.5 4B, out of 828 with a score, then more from iFLYTEK (SparkLLM).
| # | model | score | where | ||
|---|---|---|---|---|---|
| 151 | 66±1 | api $2.40/M | |||
| 152 | 66±1 | api $0.42/M +local | |||
| 153 | 66±1 | local | |||
| 154 | 66±1 | local | |||
| 155 | 66±1 | local | |||
| more from iFLYTEK (SparkLLM) | |||||
| 320 | 55±1 | local | |||
$ what it's good at
agent tasks▁▁▃▆█▆▅▅▅▄▃▁ #112 of 300 · 43% of its score · 9 tests
Beats o3-pro, Qwen3.6 Plus, o3 here, though they rank higher overall. Trails SmolLM3 3B, Jamba 1.5 Large, Nova 2 Pro (Preview) here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| SWE-bench Verified lab | 41.6% ✎ | ▁▁▁▁▁▁▂▄█▆▁▁ beats 29/131 | 7.8% |
| SWE-bench Pro (split unspecified) lab | 44.4% ✎ | ▃·▁▁▁▂▂▃█▇▃▁ beats 22/55 | 7.7% |
| MCP-Atlas (public set) lab | 54.6% ✎ | ▂·▁▂▁·▁▃█▆▆▂ beats 8/37 | 5.7% |
| SWE-bench Multilingual lab | 53.3% ✎ | ▁··▁▃▂▅▇█▃▃▁ beats 12/60 | 5.4% |
| MCPMark lab | 14.2% ✎ | ▃·····█··▃█▃ beats 3/8 | 4.5% |
| τ²-bench aggregate lab | 75.1% ✎ | ▁▁▁·▂▂▄▃▃▅█▂ beats 17/37 | 3.8% |
| BrowseComp lab | 40.9% ✎ | ▅···█·▃···▃▃ beats 7/7 | 2.7% |
| τ³-bench lab | 30.4% ✎ | ▃·▃·█·▃··▃·▃ beats 7/7 | 2.6% |
1 more test
| test | result | vs the others in its run | counts |
|---|---|---|---|
| BFCL V4 (December 2025 archive) lab | 65.1% ✎ | ▁▁▁▂▇▆▆▆█▂▄▂ beats 97/111 | 2.5% |
coding▁▁▁▃▆██▇▆▄▃▁ #136 of 458 · 25% of its score · 4 tests
Beats Qwen3.5 Plus, Gemini 2.5 Pro, Gemini 3.1 Flash-Lite here, though they rank higher overall. Trails Devstral Small 2 24B, Llama 3.1 Nemotron Ultra 253B v1, Nemotron 3.5 Lightning 30B-A3B here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| SWE-bench Verified lab | 41.6% ✎ | ▁▁▁▁▁▁▂▄█▆▁▁ beats 29/131 | 7.8% |
| SWE-bench Pro (split unspecified) lab | 44.4% ✎ | ▃·▁▁▁▂▂▃█▇▃▁ beats 22/55 | 7.7% |
| SWE-bench Multilingual lab | 53.3% ✎ | ▁··▁▃▂▅▇█▃▃▁ beats 12/60 | 5.4% |
| SciCode (level unspecified) lab | 34.7% ✎ | █·····██████ beats 5/6 | 3.6% |
chat & writing▁▁▁▃▅▄▅█▆▆▇▃ #98 of 393 * · 0.3% of its score · 1 test
Beats LongCat 2.0 (1.6T-A48B), Inkling Small (266B-A12B), GPT-5.4 nano here, though they rank higher overall. Trails Mistral Large 3 (675B-A41B), Gemma 4 12B, Qwen3-VL 235B-A22B Instruct here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| IFEval (aggregation unspecified) lab | 93.0% ✎ | ▁▁▃▁▂▄▄▆█▃▃▁ beats 130/141 | 0.3% |
math▁▂▃▅▆▅▄█▄▁▁▁ #87 of 398 · 27% of its score · 3 tests
Beats Claude Sonnet 4.6, Claude Opus 4.5, MiniMax-M3 here, though they rank higher overall. Trails Gemini 2.5 Flash, Granite 4.2 30B, INTELLECT-3 here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| HMMT February 2026 lab | 81.2% ✎ | █·▄··▄··▄█·▄ beats 7/7 | 14% |
| IMO-AnswerBench lab | 74.2% ✎ | ▄▄···▄·▄··█▄ beats 6/6 | 7.8% |
| AIME 2026 lab | 90.7% ✎ | ▁▁▁▂▁▂▆█▆▂·▁ beats 23/49 | 5.7% |
web search█·█▄██·▄▄·▄▄ #1 of 13 * · 2.7% of its score · 1 test
| test | result | vs the others in its run | counts |
|---|---|---|---|
| BrowseComp lab | 40.9% ✎ | ▅···█·▃···▃▃ beats 7/7 | 2.7% |
other tests3 not in a task · 25% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| Humanity's Last Exam lab | 12.3% ✎ | ▄▄·▄··▄·▄·▄█ beats 5/7 | 15% |
| GPQA (subset unspecified) lab | 67.4% ✎ | █···▃···▅·▃▃ beats 5/7 | 8.0% |
| IFBench (aggregation unspecified) lab | 75.0% ✎ | ▃▇▂▄▅▅▂▄▄▆█▇ beats 62/80 | 2.4% |
$ where to run it
llama.cpp · recommended
- Install llama.cpp · Homebrew and winget installs name the commands llama-cli and llama-server instead.macOS / Linux
curl -LsSf https://llama.app/install.sh | shWindowsirm https://llama.app/install.ps1 | iex - Run Spark-X2.5 4B · needs ~2.6 GB · from huggingface.co/XHTokenchat in the terminal
llama cli -hf XHToken/Spark-X2.5-4B-GGUF:Q4_K_M - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf XHToken/Spark-X2.5-4B-GGUF:Q4_K_M
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run Spark-X2.5 4B · needs ~2.6 GB · from huggingface.co/XHToken
- Or download it in the terminal
lms get https://huggingface.co/XHToken/Spark-X2.5-4B-GGUF@Q4_K_M -y - Then run lms ls to see its name, and lms chat followed by that name
Ollama
- Install Ollama
download it (macOS / Windows) ↗
Linuxcurl -fsSL https://ollama.com/install.sh | sh - Run Spark-X2.5 4B · needs ~8.2 GB · from ollama.comchat in the terminal
ollama run SparkLLM/Spark-X2.5-4B
MLX (Mac)
version
- Install MLX (Mac) · Apple silicon Macs only, text only.with uv
uv tool install mlx-lmorpip install mlx-lm - Run Spark-X2.5 4B · needs ~2.3 GB, Mac only · from huggingface.co/abenzerpschat in the terminal
mlx_lm.chat --model abenzerps/Spark-X2.5-4B-MLX-4bit - Or start an OpenAI-compatible server at http://localhost:8080/v1
mlx_lm.server --model abenzerps/Spark-X2.5-4B-MLX-4bit
Weights and documentation: huggingface.co/XHToken ↗
$ how the score was worked out · XHToken/Spark-X2.5-4B model c… 99%
Each result implies a score on its own, after adjusting for how hard its test is and who ran it. The score is their weighted average, with a small pull toward the middle for thinly tested models. Each test's weight is its counts column above; here it's added up by who ran the tests. How it works
| source | results | share of the score |
|---|---|---|
| 17 | 99% | |
| prior · pull toward the middle | 1% | |
| weighted average | = 65.8 |
$ improve this page
Use a short GitHub form or edit the data through a pull request. Every number needs a source; here's which ones we can use.
data updated · sources and licences · json