whatmodel.sh / Spark-X2.5 4B

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.

64.4±0.7#157 of 743 LLMsfrom 34 benchmark results across 2 sources

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).

#modelscorewhereRAMreleased
177DeepSeek R1 0528 DeepSeek64±1api $0.91/M +local~187GB2025-05
178Claude 3.7 Sonnet Anthropic64±1comparison only2025-02
179Spark-X2.5 4B iFLYTEK (SparkLLM)64±1local~3.5GB2026-08
180MiniMax-M2.1 MiniMax64±1local~79GB2025-12
181Nemotron Cascade 2 30B-A3B NVIDIA64±1local~20GB2026-03
more from iFLYTEK (SparkLLM)
135Spark-X2.6 4B iFLYTEK (SparkLLM)67±1local~5.2GB2026-10
271Spark-X2.6 1.7B iFLYTEK (SparkLLM)58±1local~3.4GB2026-10
362Spark-X2.5 1.7B iFLYTEK (SparkLLM)54±1local~1.9GB2026-08

see all LLMs · find the ones that fit your machine

$ 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.

testresultvs the others in its rundifficultycountswhy
SWE-bench Pro (split unspecified) lab +144.4% ✎▁·▁▁▁▁▁▄█▁▁▁ beats 23/64very hard · avg 9.9%▇▇▇▇ 9.5%sharp · at its level · several runs
SWE-bench Verified lab +141.6% ✎▁▁▁▁▁▁▂▄█▆▁▁ beats 29/140very hard · avg 14%▇▇ 5.7%sharp · at its level · small run · several runs
SWE-bench Multilingual lab +153.3% ✎▁··▂▂▃▆█▃▂▁▁ beats 13/69hard · avg 18%▇▇ 4.7%at its level · several runs
BrowseComp lab +140.9% ✎▅···█·▃···▃▃ beats 7/7hard · avg 22%▇ 3.1%at its level · several runs
τ²-bench aggregate lab +175.1% ✎▁▁▁·▁▁▃▃▃▄█▁ beats 17/39medium · avg 55%▇ 3.1%several runs
BFCL V4 (December 2025 archive) lab +165.1% ✎▁▁▁▂▆▆▅▆█▂▄▃ beats 99/114medium · avg 41%▇ 2.8%at its level · several runs
MCP-Atlas (public set) lab54.6% ✎▂·▁▂▂·▁▃█▆▆▃ beats 9/41hard · avg 22%▇ 2.3%at its level
MCPMark lab14.2% ✎▃·····█··▃█▃ beats 3/8very hard · avg 5.6%▇ 1.9%typical
2 more tests
testresultvs the others in its rundifficultycountswhy
Humanity's Last Exam with tools lab21.8% ✎▁·▁▂▃▂▃▂█▅▄▁ beats 8/64very hard · avg 11%▇ 1.6%at its level
τ³-bench lab30.4% ✎▃·▃·█·▃··▃·▃ beats 7/7very hard · avg 13%▇ 1.1%at its level
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.

testresultvs the others in its rundifficultycountswhy
SWE-bench Pro (split unspecified) lab +144.4% ✎▁·▁▁▁▁▁▄█▁▁▁ beats 23/64very hard · avg 9.9%▇▇▇▇ 9.5%sharp · at its level · several runs
SWE-bench Verified lab +141.6% ✎▁▁▁▁▁▁▂▄█▆▁▁ beats 29/140very hard · avg 14%▇▇ 5.7%sharp · at its level · small run · several runs
SWE-bench Multilingual lab +153.3% ✎▁··▂▂▃▆█▃▂▁▁ beats 13/69hard · avg 18%▇▇ 4.7%at its level · several runs
SciCode (level unspecified) lab +134.7% ✎█·····██████ beats 5/6very hard · avg 14%▇▇ 3.9%at its level · several runs
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.

testresultvs the others in its rundifficultycountswhy
IFEval (aggregation unspecified) lab +193.0% ✎▁▂▄▂▂▄▆██▅▂▁ beats 131/145easy · avg 83%▇ 1.3%maxed out · several runs
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.

testresultvs the others in its rundifficultycountswhy
HMMT February 2026 lab +181.2% ✎█·▄··▄··▄█·▄ beats 7/7hard · avg 33%▇▇▇▇ 10%sharp · several runs
IMO-AnswerBench lab +174.2% ✎▄▄···▄·▄··█▄ beats 6/6hard · avg 33%▇▇▇ 7.0%at its level · several runs
AIME 2026 lab +190.7% ✎▁▁▁▂▂▂▆█▇▂·▁ beats 24/54medium · avg 54%▇▇ 6.0%sharp · several runs
web search▅·▅▅█·▃▃▃·▅▃ #2 of 15 · 4.8% of its score · 2 tests
testresultvs the others in its rundifficultycountswhy
BrowseComp lab +140.9% ✎▅···█·▃···▃▃ beats 7/7hard · avg 22%▇ 3.1%at its level · several runs
Humanity's Last Exam with tools lab21.8% ✎▁·▁▂▃▂▃▂█▅▄▁ beats 8/64very hard · avg 11%▇ 1.6%at its level
other tests5 not in a task · 36% of its score
testresultvs the others in its rundifficultycountswhy
Humanity's Last Exam lab +112.3% ✎▄▄·▄··▄·▄·▄█ beats 5/7very hard · avg 3.9%▇▇▇▇ 11%several runs
GPQA (subset unspecified) lab +167.4% ✎█···▃···▅·▃▃ beats 5/7hard · avg 37%▇▇▇▇ 10%sharp · at its level · several runs
GPQA Diamond lab73.7% ✎▁▁▁▁▂▃▅▆▇▇█▂ beats 172/336hard · avg 38%▇▇▇ 7.8%sharp · at its level
LongBench v2 lab48.7% ✎▂·▁·▂▂▂▃▃▃█▃ beats 17/35very hard · avg 32%▇▇ 3.9%at its level
IFBench (aggregation unspecified) lab +175.0% ✎▂▆▂▃▄▄▂▃▄▆█▇ beats 66/88medium · avg 50%▇ 2.7%at its level · several runs

$ 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

  1. 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 | sh
    Windows
    irm https://llama.app/install.ps1 | iex

    other ways to install ↗

  2. Run Spark-X2.5 4B · needs 3.8 GB memory, 2.6 GB download · from huggingface.co/XHToken
    chat in the terminal
    llama cli -hf XHToken/Spark-X2.5-4B-GGUF:Q4_K_M
  3. 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

  1. Install LM Studio · Open the app once before using the lms command.

    download it (macOS / Windows / Linux) ↗

  2. Run Spark-X2.5 4B · needs 3.8 GB memory, 2.6 GB download · from huggingface.co/XHToken

    open in LM Studio ↗

  3. Or download it in the terminal
    lms get https://huggingface.co/XHToken/Spark-X2.5-4B-GGUF@Q4_K_M -y
  4. Then run lms ls to see its name, and lms chat followed by that name

Ollama

  1. Install Ollama

    download it (macOS / Windows) ↗

    Linux
    curl -fsSL https://ollama.com/install.sh | sh
  2. Run Spark-X2.5 4B · needs 9.4 GB memory, 8.23 GB download · from ollama.com
    chat in the terminal
    ollama run SparkLLM/Spark-X2.5-4B

MLX (Mac)

version

  1. Install MLX (Mac) · Apple silicon Macs only, text only.
    with uv
    uv tool install mlx-lm
    or
    pip install mlx-lm
  2. Run Spark-X2.5 4B · needs 3.5 GB memory, 2.31 GB download, Mac only · from huggingface.co/abenzerps
    chat in the terminal
    mlx_lm.chat --model abenzerps/Spark-X2.5-4B-MLX-4bit
  3. 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

sourceresultsshare of the scorelicence
Spark-X2.6 model cards (thinking high) · maker-reported17Apache-2.0
XHToken/Spark-X2.5-4B model card · maker-reported17Apache-2.0
prior · pull toward the middle
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/sllama.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 sequence
note

Community 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/sllama.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 sequence
note

Community 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 H200GSQ-RCO 3bit (pfeifferj)307.76 tok/sllama.cpp 4c9233c034fc, CUDA · llama-bench; tg128; 128 generated tokens; context depth 0; n_gpu_layers=999; flash attention=1; type_k=f16; one sequence
note

Community 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 H200GSQ-RCO 3.5bit (pfeifferj)250.69 tok/sllama.cpp 4c9233c034fc, CUDA · llama-bench; tg128; 128 generated tokens; context depth 0; n_gpu_layers=999; flash attention=1; type_k=f16; one sequence
note

Community 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 3090GSQ-RCO 3.5bit (pfeifferj)167.49 tok/sllama.cpp 4c9233c034fc, CUDA · llama-bench; tg128; 128 generated tokens; context depth 0; n_gpu_layers=999; flash attention=1; type_k=f16; one sequence
note

Community 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 3090GSQ-RCO 3bit (pfeifferj)215.96 tok/sllama.cpp 4c9233c034fc, CUDA · llama-bench; tg128; 128 generated tokens; context depth 0; n_gpu_layers=999; flash attention=1; type_k=f16; one sequence
note

Community 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 2080GSQ-RCO 3.5bit (pfeifferj)103.75 tok/sllama.cpp 4c9233c034fc, CUDA · llama-bench; tg128; 128 generated tokens; context depth 0; n_gpu_layers=999; flash attention=1; type_k=f16; one sequence
note

Community 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 2080GSQ-RCO 3bit (pfeifferj)123.69 tok/sllama.cpp 4c9233c034fc, CUDA · llama-bench; tg128; 128 generated tokens; context depth 0; n_gpu_layers=999; flash attention=1; type_k=f16; one sequence
note

Community 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/sllama.cpp 4c9233c034fc, Vulkan · llama-bench; tg128; 128 generated tokens; context depth 0; n_gpu_layers=99; flash attention=1; type_k=f16; one sequence
note

Community 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/sllama.cpp 4c9233c034fc, Vulkan · llama-bench; tg128; 128 generated tokens; context depth 0; n_gpu_layers=99; flash attention=1; type_k=f16; one sequence
note

Community 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