Spark X2.5 4B

4.1B parameters · 1024k context · Apache 2.0 License · released 2026-08-24

chatcodingagenticreasoning

In short

Spark X2.5 4B is an open model from XHToken with 4.1B parameters. At mlx-4bit, Spark X2.5 4B needs about 4 GB of memory at 8k context and 6 GB at 64k, counting the weights, the KV cache and runtime buffers. The cheapest hardware in Germany that runs Spark X2.5 4B fully in memory at 64k context is the Intel Arc B570, 282 € at eBay, at about 35 tok/s (estimated).

Updated . Speeds are estimates; how they are worked out.

Cheapest way to run it in Germany today

Intel Arc B570, new at eBay

Runs Spark X2.5 4B at mlx-4bit fully in memory at 64k context, about 35 tok/sest.

282 €

In stock, checked

What to run it on in Germany

Fully in memory at 64k context, priced at retailers today.

All hardware that runs it

Everything we price, best value first. Two cards split the model by layers.

HardwareQuantFitsDecodePricetok/s per 1,000
Intel Arc B570mlx-4bitfits35 tok/s282 €122.4
NVIDIA Tesla P40mlx-4bitfits39 tok/s389 €100.0
NVIDIA GeForce RTX 3060 12GBmlx-4bitfits41 tok/s415 €97.6
NVIDIA GeForce RTX 5050mlx-4bitfits36 tok/s428 €84.1
NVIDIA GeForce RTX 5060mlx-4bitfits50 tok/s469 €107.5
Intel Arc B580mlx-4bitfits41 tok/s498 €83.2
NVIDIA GeForce RTX 3080 10GBmlx-4bitfits86 tok/s518 €165.1
NVIDIA GeForce RTX 5060 Ti 8GBmlx-4bitfits50 tok/s520 €96.9
NVIDIA GeForce RTX 4060mlx-4bitfits31 tok/s556 €55.0
NVIDIA GeForce RTX 4060 Ti 16GBmlx-4bitfits32 tok/s625 €51.8
Intel Arc Pro B50mlx-4bitfits20 tok/s648 €31.3
AMD Radeon RX 9060 XT 16GBmlx-4bitfits32 tok/s650 €49.1
Mac mini M4 16GBmlx-4bitfits14 tok/s690 €20.4
NVIDIA GeForce RTX 4070 Supermlx-4bitfits57 tok/s700 €81.0
Intel Arc A770 16GBmlx-4bitfits51 tok/s787 €64.5
NVIDIA GeForce RTX 5060 Ti 16GBmlx-4bitfits50 tok/s799 €63.1
AMD Radeon RX 9070mlx-4bitfits64 tok/s807 €79.2
AMD Radeon RX 7600 XTmlx-4bitfits29 tok/s833 €34.4
NVIDIA GeForce RTX 4070mlx-4bitfits57 tok/s843 €67.3
NVIDIA GeForce RTX 5070mlx-4bitfits76 tok/s877 €86.2
NVIDIA GeForce RTX 4060 Ti 8GBmlx-4bitfits32 tok/s878 €36.9
NVIDIA RTX PRO 2000 Blackwellmlx-4bitfits32 tok/s880 €36.8
AMD Radeon RX 9070 XTmlx-4bitfits64 tok/s903 €70.7
AMD Radeon RX 7900 XTmlx-4bitfits80 tok/s999 €79.9
AMD Radeon RX 7800 XTmlx-4bitfits62 tok/s1.069 €58.3
Intel Arc Pro B60mlx-4bitfits41 tok/s1.184 €35.0
Mac mini M4 32GBmlx-4bitfits14 tok/s1.330 €10.6
NVIDIA GeForce RTX 5070 Timlx-4bitfits101 tok/s1.389 €72.6
NVIDIA GeForce RTX 4070 Ti Supermlx-4bitfits76 tok/s1.500 €50.4
AMD Radeon RX 7900 XTXmlx-4bitfits96 tok/s1.555 €61.6
Intel Arc Pro B70mlx-4bitfits55 tok/s1.749 €31.5
NVIDIA GeForce RTX 5080mlx-4bitfits108 tok/s1.889 €57.2
AMD Radeon AI PRO R9700mlx-4bitfits64 tok/s2.300 €27.8
Mac mini M4 Pro 48GBmlx-4bitfits32 tok/s2.549 €12.6
NVIDIA GeForce RTX 3090mlx-4bitfits105 tok/s2.790 €37.7
Mac mini M4 Pro 64GBmlx-4bitfits32 tok/s2.934 €11.0
NVIDIA GeForce RTX 4080 Supermlx-4bitfits83 tok/s3.263 €25.4
NVIDIA RTX PRO 4000 Blackwellmlx-4bitfits76 tok/s3.339 €22.6
GMKtec EVO-X2 Ryzen AI Max+ 395 128GBmlx-4bitfits26 tok/s3.850 €6.6
NVIDIA GeForce RTX 3090 Timlx-4bitfits113 tok/s4.284 €26.5
Mac Studio M4 Max 64GBmlx-4bitfits64 tok/s4.299 €15.0
NVIDIA GeForce RTX 4090mlx-4bitfits113 tok/s4.790 €23.7
NVIDIA RTX PRO 4500 Blackwellmlx-4bitfits101 tok/s4.878 €20.7
Mac Studio M4 Max 128GBmlx-4bitfits64 tok/s5.499 €11.7
Mac Studio M3 Ultra 96GBmlx-4bitfits97 tok/s5.999 €16.1
NVIDIA GeForce RTX 5090mlx-4bitfits202 tok/s6.888 €29.3
ASUS Ascent GX10 128GBmlx-4bitfits31 tok/s7.306 €4.2
Dell Pro Max with GB10 128GBmlx-4bitfits31 tok/s8.063 €3.8
NVIDIA RTX PRO 5000 Blackwell 48GBmlx-4bitfits151 tok/s8.866 €17.1
NVIDIA DGX Spark 128GBmlx-4bitfits31 tok/s9.091 €3.4
Mac Studio M3 Ultra 256GBmlx-4bitfits97 tok/s15.555 €6.2
Mac Studio M3 Ultra 512GBmlx-4bitfits97 tok/s17.995 €5.4
NVIDIA RTX PRO 6000 Blackwellmlx-4bitfits202 tok/s18.327 €11.0
Framework Desktop Ryzen AI Max+ 395 128GBmlx-4bitfits26 tok/s––
Framework Desktop Ryzen AI Max+ 395 64GBmlx-4bitfits26 tok/s––
NVIDIA RTX PRO 4000 Blackwell SFF Editionmlx-4bitfits49 tok/s––
Minisforum MS-S1 Max Ryzen AI Max+ 395 128GBmlx-4bitfits26 tok/s––
NVIDIA RTX 6000 Ada Generationmlx-4bitfits108 tok/s––
NVIDIA RTX A6000mlx-4bitfits86 tok/s––
Lenovo ThinkStation PGX GB10 128GBmlx-4bitfits31 tok/s––
NVIDIA RTX PRO 5000 Blackwell 72GBmlx-4bitfits151 tok/s––
AMD Radeon PRO W7900mlx-4bitfits86 tok/s––
Beelink GTR9 Pro Ryzen AI Max+ 395 128GBmlx-4bitfits26 tok/s––

Memory needed

Weights, KV cache and runtime buffers at each context length (KV cache at fp16).

QuantFile@8k@32k@64k@128k
mlx-4bitmlx2.8 GB3.9 GB4.9 GB6.2 GB8.8 GB

Run it

Copy a command for the runtime you use.

  • mlx-4bit
    • LM Studiolms get mlx-community/Spark-X2.5-4B-OptiQ-4bit
    • MLXmlx_lm.server --model mlx-community/Spark-X2.5-4B-OptiQ-4bit

Notes

Native llama.cpp support requires b10828 or later; Ollama needs v0.34.1+. The 1M-token context needs substantial device memory, so reduce --context-length when necessary.

Questions

How much VRAM does Spark X2.5 4B need?
At mlx-4bit, Spark X2.5 4B needs about 4 GB of memory at 8k context and 6 GB at 64k, counting the weights, the KV cache and runtime buffers.
What is the best GPU for running Spark X2.5 4B locally?
The cheapest hardware in Germany that runs Spark X2.5 4B fully in memory at 64k context is the Intel Arc B570, 282 € at eBay, at about 35 tok/s (estimated). The best value is the NVIDIA GeForce RTX 3080 10GB (about 86 tok/s for 518 €). The fastest we price is the NVIDIA GeForce RTX 5090, at about 202 tok/s.
What is the cheapest way to run Spark X2.5 4B in Germany today?
The Intel Arc B570, 282 € new at eBay, in stock: it runs Spark X2.5 4B at mlx-4bit fully in memory at 64k context, at about 35 tok/s (estimated).
Can I run Spark X2.5 4B on a 16 GB GPU?
Yes: at mlx-4bit it fits fully in 16 GB at 64k context. On the NVIDIA GeForce RTX 5080 it runs at about 108 tok/s (estimated).
Can I run Spark X2.5 4B on a 24 GB GPU?
Yes: at mlx-4bit it fits fully in 24 GB at 64k context. On the NVIDIA GeForce RTX 3090 Ti it runs at about 113 tok/s (estimated).
What licence is Spark X2.5 4B released under?
Apache 2.0 License, which allows commercial use.

More hardware for local AI