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.
Score within the LMArena (text) comparison set only.
$ how it compares
The LLMs ranked either side of Spark-X2.5 4B, out of 897 with a score, then more from iFLYTEK (SparkLLM).
| # | model | score | where | ||
|---|---|---|---|---|---|
| 177 | 64±1 | api $0.91/M +local | |||
| 178 | 64±1 | comparison only | |||
| 179 | 64±1 | local | |||
| 180 | 64±1 | local | |||
| 181 | 64±1 | local | |||
| more from iFLYTEK (SparkLLM) | |||||
| 135 | 67±1 | local | |||
| 271 | 58±1 | local | |||
| 362 | 54±1 | local | |||
$ what it's good at
agent tasks▁▁▃▆█▄▅▅▃▃▂▁ #138 of 319 · 36% of its score · 10 tests
Beats o3, Gemini 2.5 Pro, Gemini 3.1 Flash-Lite here, though they rank higher overall. Trails SmolLM3 3B, Jamba 1.5 Large, GPT-4o (2024-05-13) here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| SWE-bench Pro (split unspecified) lab +1 | 44.4% ✎ | ▁·▁▁▁▁▁▄█▁▁▁ beats 23/64 | 9.5% |
| SWE-bench Verified lab +1 | 41.6% ✎ | ▁▁▁▁▁▁▂▄█▆▁▁ beats 29/140 | 5.7% |
| SWE-bench Multilingual lab +1 | 53.3% ✎ | ▁··▂▂▃▆█▃▂▁▁ beats 13/69 | 4.7% |
| BrowseComp lab +1 | 40.9% ✎ | ▅···█·▃···▃▃ beats 7/7 | 3.1% |
| τ²-bench aggregate lab +1 | 75.1% ✎ | ▁▁▁·▁▁▃▃▃▄█▁ beats 17/39 | 3.1% |
| BFCL V4 (December 2025 archive) lab +1 | 65.1% ✎ | ▁▁▁▂▆▆▅▆█▂▄▃ beats 99/114 | 2.8% |
| MCP-Atlas (public set) lab | 54.6% ✎ | ▂·▁▂▂·▁▃█▆▆▃ beats 9/41 | 2.3% |
| MCPMark lab | 14.2% ✎ | ▃·····█··▃█▃ beats 3/8 | 1.9% |
2 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| Humanity's Last Exam with tools lab | 21.8% ✎ | ▁·▁▂▃▂▃▂█▅▄▁ beats 8/64 | 1.6% |
| τ³-bench lab | 30.4% ✎ | ▃·▃·█·▃··▃·▃ beats 7/7 | 1.1% |
coding▁▁▁▃▆▇█▆▆▃▃▁ #147 of 474 · 24% of its score · 4 tests
Beats Qwen3-Coder-Next (80B-A3B), Qwen3.5 Plus, Gemini 2.5 Pro here, though they rank higher overall. Trails Llama 3.1 Nemotron Ultra 253B v1, Gemma 4 12B, Seed-OSS 36B Instruct here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| SWE-bench Pro (split unspecified) lab +1 | 44.4% ✎ | ▁·▁▁▁▁▁▄█▁▁▁ beats 23/64 | 9.5% |
| SWE-bench Verified lab +1 | 41.6% ✎ | ▁▁▁▁▁▁▂▄█▆▁▁ beats 29/140 | 5.7% |
| SWE-bench Multilingual lab +1 | 53.3% ✎ | ▁··▂▂▃▆█▃▂▁▁ beats 13/69 | 4.7% |
| SciCode (level unspecified) lab +1 | 34.7% ✎ | █·····██████ beats 5/6 | 3.9% |
chat & writing▁▁▁▃▅▄▆█▇▇▇▃ #105 of 405 * · 1.3% of its score · 1 test
Beats Inkling 2 Small (594B-A17B), LongCat 2.0 (1.6T-A48B), Inkling Small (266B-A12B) here, though they rank higher overall. Trails Mistral Large 3 (675B-A41B), Gemma 4 12B, Kimi K2 Instruct (0905) here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| IFEval (aggregation unspecified) lab +1 | 93.0% ✎ | ▁▂▄▂▂▄▆██▅▂▁ beats 131/145 | 1.3% |
math▁▁▃▅█▆▅█▄▁▁▁ #99 of 440 · 23% 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, Qwen3-Next 80B-A3B Instruct here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| HMMT February 2026 lab +1 | 81.2% ✎ | █·▄··▄··▄█·▄ beats 7/7 | 10% |
| IMO-AnswerBench lab +1 | 74.2% ✎ | ▄▄···▄·▄··█▄ beats 6/6 | 7.0% |
| AIME 2026 lab +1 | 90.7% ✎ | ▁▁▁▂▂▂▆█▇▂·▁ beats 24/54 | 6.0% |
web search▅·▅▅█·▃▃▃·▅▃ #2 of 15 · 4.8% of its score · 2 tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| BrowseComp lab +1 | 40.9% ✎ | ▅···█·▃···▃▃ beats 7/7 | 3.1% |
| Humanity's Last Exam with tools lab | 21.8% ✎ | ▁·▁▂▃▂▃▂█▅▄▁ beats 8/64 | 1.6% |
other tests5 not in a task · 36% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| Humanity's Last Exam lab +1 | 12.3% ✎ | ▄▄·▄··▄·▄·▄█ beats 5/7 | 11% |
| GPQA (subset unspecified) lab +1 | 67.4% ✎ | █···▃···▅·▃▃ beats 5/7 | 10% |
| GPQA Diamond lab | 73.7% ✎ | ▁▁▁▁▂▃▅▆▇▇█▂ beats 172/336 | 7.8% |
| LongBench v2 lab | 48.7% ✎ | ▂·▁·▂▂▂▃▃▃█▃ beats 17/35 | 3.9% |
| IFBench (aggregation unspecified) lab +1 | 75.0% ✎ | ▂▆▂▃▄▄▂▃▄▆█▇ beats 66/88 | 2.7% |
$ where to run it
Memory is what a version takes in GPU memory (or a Mac's unified memory) with an 8k-token conversation. With less, it runs partly from system RAM, more slowly. Enter your machine to see what runs at full speed.
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 3.8 GB memory, 2.6 GB download · 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 3.8 GB memory, 2.6 GB download · 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 9.4 GB memory, 8.23 GB download · 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 3.5 GB memory, 2.31 GB download, 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
Model repository and documentation: huggingface.co/XHToken ↗
$ how the score was worked out · Spark-X2.6 model cards (think… 54%, XHToken/Spark-X2.5-4B model c… 46%
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 | 54% | |
| 17 | 46% | |
| prior · pull toward the middle | 0% | |
| weighted average | = 64.4 |
$ published speed measurements · 10
Reference results for the hardware, engine and settings below. They aren't verified speeds of the downloads above or predictions for your machine.
| AMD Radeon 890M (unified memory) | GSQ-RCO 3bit (pfeifferj) | 29.66 tok/s | llama.cpp 4c9233c034fc, Vulkan · llama-bench; tg128; 128 generated tokens; context depth 0; n_gpu_layers=99; flash attention=not recorded; type_k=not recorded; one sequencenoteCommunity llama-bench run pasted into Local Model Explorer on 2026-09-21 and parsed by it (row 4 of this file); it passed the explorer's plausibility checks. Self-reported. Prompt processing: 450.4 tok/s over 512 tokens. llama-bench loaded spark2_5 ?B Q3_K - Small, 1.43 GiB. A third-party GSQ-RCO quant, not a download listed on this site. The Radeon 890M is in more than one Ryzen AI 300-series chip; which one isn't recorded. | source ↗ |
| AMD Radeon 890M (unified memory) | GSQ-RCO 3.5bit (pfeifferj) | 23.32 tok/s | llama.cpp 4c9233c034fc, Vulkan · llama-bench; tg128; 128 generated tokens; context depth 0; n_gpu_layers=99; flash attention=not recorded; type_k=not recorded; one sequencenoteCommunity llama-bench run pasted into Local Model Explorer on 2026-09-21 and parsed by it (row 5 of this file); it passed the explorer's plausibility checks. Self-reported. Prompt processing: 414.2 tok/s over 512 tokens. llama-bench loaded spark2_5 ?B Q3_K - Small, 1.67 GiB. A third-party GSQ-RCO quant, not a download listed on this site. The Radeon 890M is in more than one Ryzen AI 300-series chip; which one isn't recorded. | source ↗ |
| NVIDIA H200 | GSQ-RCO 3bit (pfeifferj) | 307.76 tok/s | llama.cpp 4c9233c034fc, CUDA · llama-bench; tg128; 128 generated tokens; context depth 0; n_gpu_layers=999; flash attention=1; type_k=f16; one sequencenoteCommunity llama-bench run pasted into Local Model Explorer on 2026-09-23 and parsed by it (row 1 of this file); it passed the explorer's plausibility checks. Self-reported. Prompt processing: 8499.4 tok/s over 512 tokens. llama-bench loaded spark2_5 ?B Q3_K - Small, 1.43 GiB. A third-party GSQ-RCO quant, not a download listed on this site. | source ↗ |
| NVIDIA H200 | GSQ-RCO 3.5bit (pfeifferj) | 250.69 tok/s | llama.cpp 4c9233c034fc, CUDA · llama-bench; tg128; 128 generated tokens; context depth 0; n_gpu_layers=999; flash attention=1; type_k=f16; one sequencenoteCommunity llama-bench run pasted into Local Model Explorer on 2026-09-23 and parsed by it (row 2 of this file); it passed the explorer's plausibility checks. Self-reported. Prompt processing: 11421.6 tok/s over 512 tokens. llama-bench loaded spark2_5 ?B Q3_K - Small, 1.67 GiB. A third-party GSQ-RCO quant, not a download listed on this site. | source ↗ |
| NVIDIA GeForce RTX 3090 | GSQ-RCO 3.5bit (pfeifferj) | 167.49 tok/s | llama.cpp 4c9233c034fc, CUDA · llama-bench; tg128; 128 generated tokens; context depth 0; n_gpu_layers=999; flash attention=1; type_k=f16; one sequencenoteCommunity llama-bench run pasted into Local Model Explorer on 2026-09-23 and parsed by it (row 2 of this file); it passed the explorer's plausibility checks. Self-reported. Prompt processing: 7982.6 tok/s over 512 tokens. llama-bench loaded spark2_5 ?B Q3_K - Small, 1.67 GiB. A third-party GSQ-RCO quant, not a download listed on this site. | source ↗ |
| NVIDIA GeForce RTX 3090 | GSQ-RCO 3bit (pfeifferj) | 215.96 tok/s | llama.cpp 4c9233c034fc, CUDA · llama-bench; tg128; 128 generated tokens; context depth 0; n_gpu_layers=999; flash attention=1; type_k=f16; one sequencenoteCommunity llama-bench run pasted into Local Model Explorer on 2026-09-23 and parsed by it (row 3 of this file); it passed the explorer's plausibility checks. Self-reported. Prompt processing: 7054.9 tok/s over 512 tokens. llama-bench loaded spark2_5 ?B Q3_K - Small, 1.43 GiB. A third-party GSQ-RCO quant, not a download listed on this site. | source ↗ |
| NVIDIA GeForce RTX 2080 | GSQ-RCO 3.5bit (pfeifferj) | 103.75 tok/s | llama.cpp 4c9233c034fc, CUDA · llama-bench; tg128; 128 generated tokens; context depth 0; n_gpu_layers=999; flash attention=1; type_k=f16; one sequencenoteCommunity llama-bench run pasted into Local Model Explorer on 2026-09-23 and parsed by it (row 1 of this file); it passed the explorer's plausibility checks. Self-reported. Prompt processing: 2786.2 tok/s over 512 tokens. llama-bench loaded spark2_5 ?B Q3_K - Small, 1.67 GiB. A third-party GSQ-RCO quant, not a download listed on this site. | source ↗ |
| NVIDIA GeForce RTX 2080 | GSQ-RCO 3bit (pfeifferj) | 123.69 tok/s | llama.cpp 4c9233c034fc, CUDA · llama-bench; tg128; 128 generated tokens; context depth 0; n_gpu_layers=999; flash attention=1; type_k=f16; one sequencenoteCommunity llama-bench run pasted into Local Model Explorer on 2026-09-23 and parsed by it (row 2 of this file); it passed the explorer's plausibility checks. Self-reported. Prompt processing: 2232.6 tok/s over 512 tokens. llama-bench loaded spark2_5 ?B Q3_K - Small, 1.43 GiB. A third-party GSQ-RCO quant, not a download listed on this site. | source ↗ |
| AMD Radeon 890M (unified memory) | GSQ-RCO 3bit (pfeifferj) | 23.59 tok/s | llama.cpp 4c9233c034fc, Vulkan · llama-bench; tg128; 128 generated tokens; context depth 0; n_gpu_layers=99; flash attention=1; type_k=f16; one sequencenoteCommunity llama-bench run pasted into Local Model Explorer on 2026-09-24 and parsed by it (row 6 of this file); it passed the explorer's plausibility checks. Self-reported. Prompt processing: 319.3 tok/s over 512 tokens. llama-bench loaded spark2_5 ?B Q3_K - Small, 1.43 GiB. A third-party GSQ-RCO quant, not a download listed on this site. The Radeon 890M is in more than one Ryzen AI 300-series chip; which one isn't recorded. | source ↗ |
| AMD Radeon 890M (unified memory) | GSQ-RCO 3.5bit (pfeifferj) | 16.02 tok/s | llama.cpp 4c9233c034fc, Vulkan · llama-bench; tg128; 128 generated tokens; context depth 0; n_gpu_layers=99; flash attention=1; type_k=f16; one sequencenoteCommunity llama-bench run pasted into Local Model Explorer on 2026-09-24 and parsed by it (row 7 of this file); it passed the explorer's plausibility checks. Self-reported. Prompt processing: 276.8 tok/s over 512 tokens. llama-bench loaded spark2_5 ?B Q3_K - Small, 1.67 GiB. A third-party GSQ-RCO quant, not a download listed on this site. The Radeon 890M is in more than one Ryzen AI 300-series chip; which one isn't recorded. | source ↗ |
$ 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