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 9 GB at 128k, counting the weights, the KV cache and runtime buffers. The cheapest hardware in the UK that runs Spark X2.5 4B fully in memory at 128k context is the Intel Arc A770 16GB, £364 at eBay, at about 35 tok/s (estimated).

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

Cheapest way to run it in the UK today

NVIDIA Tesla P40, used at eBay

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

£280

In stock, checked

What to run it on in the UK

Fully in memory at 128k 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 A770 16GBmlx-4bitfits35 tok/s£36497.1
Intel Arc B570mlx-4bitfits24 tok/s£39660.6
NVIDIA GeForce RTX 3060 12GBmlx-4bitfits28 tok/s£40070.5
NVIDIA GeForce RTX 4070mlx-4bitfits39 tok/s£56869.4
NVIDIA GeForce RTX 3080 10GBmlx-4bitfits59 tok/s£591100.6
AMD Radeon RX 9060 XT 16GBmlx-4bitfits22 tok/s£63035.2
AMD Radeon RX 9070mlx-4bitfits44 tok/s£68065.3
Mac mini M4 16GBmlx-4bitfits10 tok/s£68514.3
NVIDIA GeForce RTX 5060 Ti 16GBmlx-4bitfits35 tok/s£69050.7
Intel Arc B580mlx-4bitfits29 tok/s£70041.1
NVIDIA GeForce RTX 5070mlx-4bitfits53 tok/s£70075.0
Intel Arc Pro B50mlx-4bitfits14 tok/s£74419.0
AMD Radeon RX 9070 XTmlx-4bitfits44 tok/s£75059.2
NVIDIA Tesla P40mlx-4bitfits27 tok/s£78034.7
AMD Radeon RX 7800 XTmlx-4bitfits43 tok/s£80054.1
AMD Radeon RX 7900 XTmlx-4bitfits56 tok/s£82966.9
NVIDIA RTX PRO 2000 Blackwellmlx-4bitfits23 tok/s£85026.5
Intel Arc Pro B60mlx-4bitfits29 tok/s£94430.5
NVIDIA GeForce RTX 4060 Ti 16GBmlx-4bitfits23 tok/s£97723.0
NVIDIA GeForce RTX 4070 Supermlx-4bitfits39 tok/s£98340.1
NVIDIA GeForce RTX 5070 Timlx-4bitfits70 tok/s£1,00070.1
NVIDIA GeForce RTX 4070 Ti Supermlx-4bitfits53 tok/s£1,32939.5
NVIDIA GeForce RTX 3090mlx-4bitfits73 tok/s£1,33055.0
AMD Radeon RX 7900 XTXmlx-4bitfits67 tok/s£1,39947.6
Intel Arc Pro B70mlx-4bitfits38 tok/s£1,42226.9
NVIDIA GeForce RTX 4080 Supermlx-4bitfits58 tok/s£1,43040.3
NVIDIA GeForce RTX 5080mlx-4bitfits75 tok/s£1,47051.1
AMD Radeon AI PRO R9700mlx-4bitfits44 tok/s£1,60027.8
Mac mini M4 32GBmlx-4bitfits10 tok/s£1,6495.9
NVIDIA GeForce RTX 3090 Timlx-4bitfits79 tok/s£2,19935.8
Mac Studio M4 Max 64GBmlx-4bitfits45 tok/s£3,29913.6
Mac mini M4 Pro 64GBmlx-4bitfits22 tok/s£3,3496.7
GMKtec EVO-X2 Ryzen AI Max+ 395 128GBmlx-4bitfits18 tok/s£3,5005.1
NVIDIA RTX PRO 4500 Blackwellmlx-4bitfits70 tok/s£4,58715.3
Mac Studio M3 Ultra 96GBmlx-4bitfits67 tok/s£4,94913.6
NVIDIA GeForce RTX 5090mlx-4bitfits140 tok/s£5,00028.0
NVIDIA GeForce RTX 4090mlx-4bitfits79 tok/s£5,09115.5
ASUS Ascent GX10 128GBmlx-4bitfits21 tok/s£5,2994.0
AMD Radeon PRO W7900mlx-4bitfits60 tok/s£5,78510.4
Lenovo ThinkStation PGX GB10 128GBmlx-4bitfits21 tok/s£5,9443.6
NVIDIA RTX PRO 5000 Blackwell 48GBmlx-4bitfits105 tok/s£7,30014.4
Mac Studio M3 Ultra 256GBmlx-4bitfits67 tok/s£8,2498.1
NVIDIA RTX A6000mlx-4bitfits60 tok/s£9,0006.7
NVIDIA RTX 6000 Ada Generationmlx-4bitfits75 tok/s£11,2636.7
NVIDIA RTX PRO 6000 Blackwellmlx-4bitfits140 tok/s£13,58710.3
Mac Studio M4 Max 128GBmlx-4bitfits45 tok/s––
Framework Desktop Ryzen AI Max+ 395 128GBmlx-4bitfits18 tok/s––
Mac Studio M3 Ultra 512GBmlx-4bitfits67 tok/s––
NVIDIA DGX Spark 128GBmlx-4bitfits21 tok/s––
Mac mini M4 Pro 48GBmlx-4bitfits22 tok/s––
Framework Desktop Ryzen AI Max+ 395 64GBmlx-4bitfits18 tok/s––
AMD Radeon RX 7600 XTmlx-4bitfits20 tok/s––
NVIDIA RTX PRO 4000 Blackwellmlx-4bitfits53 tok/s––
NVIDIA RTX PRO 4000 Blackwell SFF Editionmlx-4bitfits34 tok/s––
Minisforum MS-S1 Max Ryzen AI Max+ 395 128GBmlx-4bitfits18 tok/s––
NVIDIA RTX PRO 5000 Blackwell 72GBmlx-4bitfits105 tok/s––
Dell Pro Max with GB10 128GBmlx-4bitfits21 tok/s––
Beelink GTR9 Pro Ryzen AI Max+ 395 128GBmlx-4bitfits18 tok/s––
NVIDIA GeForce RTX 4060mlx-4bitoffload15 tok/s£37939.6
NVIDIA GeForce RTX 5050mlx-4bitoffload16 tok/s£38043.2
NVIDIA GeForce RTX 5060mlx-4bitoffload19 tok/s£40048.5
NVIDIA GeForce RTX 4060 Ti 8GBmlx-4bitoffload16 tok/s£40738.1
NVIDIA GeForce RTX 5060 Ti 8GBmlx-4bitoffload19 tok/s£47540.8

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 9 GB at 128k, 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 the UK that runs Spark X2.5 4B fully in memory at 128k context is the Intel Arc A770 16GB, £364 at eBay, at about 35 tok/s (estimated). The best value is the NVIDIA GeForce RTX 3080 10GB (about 59 tok/s for £591). The fastest we price is the NVIDIA GeForce RTX 5090, at about 140 tok/s.
What is the cheapest way to run Spark X2.5 4B in the UK today?
The NVIDIA Tesla P40, £280 used at eBay, in stock: it runs Spark X2.5 4B at mlx-4bit fully in memory at 128k context, at about 27 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 128k context. On the NVIDIA GeForce RTX 5080 it runs at about 75 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 128k context. On the NVIDIA GeForce RTX 3090 Ti it runs at about 79 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