Qwen2.5 0.5B
494M parameters · 32k context · Apache License 2.0 · released 2024-09-16
chat
In short
The cheapest hardware in the UK that runs Qwen2.5 0.5B fully in memory at 64k context is the Intel Arc A770 16GB, £364 at eBay, at about 210 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 Qwen2.5 0.5B at Q8_0 fully in memory at 64k context, about 161 tok/sest.
£280
In stock, checked
What to run it on in the UK
Fully in memory at 64k context, priced at retailers today.
Cheapest
Intel Arc A770 16GB210tok/sest.Q8_0
£364
Best value
NVIDIA GeForce RTX 3080 10GB353tok/sest.Q8_0
£591
Fastest
NVIDIA GeForce RTX 5090831tok/sest.Q8_0
£5,000
Mac
Mac mini M4 16GB58tok/sest.Q8_0
£685
All hardware that runs it
Everything we price, best value first. Two cards split the model by layers.
| Hardware | Quant | Fits | Decode | Price | tok/s per 1,000 |
|---|---|---|---|---|---|
| Intel Arc A770 16GB | Q8_0 | fits | 210 tok/s | £364 | 576.0 |
| NVIDIA GeForce RTX 4060 | Q8_0 | fits | 126 tok/s | £379 | 333.0 |
| NVIDIA GeForce RTX 5050 | Q8_0 | fits | 149 tok/s | £380 | 390.8 |
| Intel Arc B570 | Q8_0 | fits | 142 tok/s | £396 | 359.3 |
| NVIDIA GeForce RTX 5060 | Q8_0 | fits | 208 tok/s | £400 | 519.6 |
| NVIDIA GeForce RTX 3060 12GB | Q8_0 | fits | 167 tok/s | £400 | 417.6 |
| NVIDIA GeForce RTX 4060 Ti 8GB | Q8_0 | fits | 134 tok/s | £407 | 328.3 |
| NVIDIA GeForce RTX 5060 Ti 8GB | Q8_0 | fits | 208 tok/s | £475 | 437.5 |
| NVIDIA GeForce RTX 4070 | Q8_0 | fits | 234 tok/s | £568 | 412.0 |
| NVIDIA GeForce RTX 3080 10GB | Q8_0 | fits | 353 tok/s | £591 | 596.9 |
| AMD Radeon RX 9060 XT 16GB | Q8_0 | fits | 132 tok/s | £630 | 209.1 |
| AMD Radeon RX 9070 | Q8_0 | fits | 263 tok/s | £680 | 387.4 |
| Mac mini M4 16GB | Q8_0 | fits | 58 tok/s | £685 | 85.3 |
| NVIDIA GeForce RTX 5060 Ti 16GB | Q8_0 | fits | 208 tok/s | £690 | 301.2 |
| Intel Arc B580 | Q8_0 | fits | 171 tok/s | £700 | 243.7 |
| NVIDIA GeForce RTX 5070 | Q8_0 | fits | 312 tok/s | £700 | 445.2 |
| Intel Arc Pro B50 | Q8_0 | fits | 84 tok/s | £744 | 112.6 |
| AMD Radeon RX 9070 XT | Q8_0 | fits | 263 tok/s | £750 | 351.2 |
| NVIDIA Tesla P40 | Q8_0 | fits | 161 tok/s | £780 | 205.8 |
| AMD Radeon RX 7800 XT | Q8_0 | fits | 257 tok/s | £800 | 321.0 |
| AMD Radeon RX 7900 XT | Q8_0 | fits | 329 tok/s | £829 | 397.1 |
| NVIDIA RTX PRO 2000 Blackwell | Q8_0 | fits | 134 tok/s | £850 | 157.2 |
| Intel Arc Pro B60 | Q8_0 | fits | 171 tok/s | £944 | 180.7 |
| NVIDIA GeForce RTX 4060 Ti 16GB | Q8_0 | fits | 134 tok/s | £977 | 136.7 |
| NVIDIA GeForce RTX 4070 Super | Q8_0 | fits | 234 tok/s | £983 | 237.8 |
| NVIDIA GeForce RTX 5070 Ti | Q8_0 | fits | 416 tok/s | £1,000 | 415.7 |
| NVIDIA GeForce RTX 4070 Ti Super | Q8_0 | fits | 312 tok/s | £1,329 | 234.6 |
| NVIDIA GeForce RTX 3090 | Q8_0 | fits | 434 tok/s | £1,330 | 326.5 |
| AMD Radeon RX 7900 XTX | Q8_0 | fits | 395 tok/s | £1,399 | 282.4 |
| Intel Arc Pro B70 | Q8_0 | fits | 228 tok/s | £1,422 | 160.0 |
| NVIDIA GeForce RTX 4080 Super | Q8_0 | fits | 342 tok/s | £1,430 | 238.8 |
| NVIDIA GeForce RTX 5080 | Q8_0 | fits | 445 tok/s | £1,470 | 303.0 |
| AMD Radeon AI PRO R9700 | Q8_0 | fits | 263 tok/s | £1,600 | 164.6 |
| Mac mini M4 32GB | Q8_0 | fits | 58 tok/s | £1,649 | 35.4 |
| NVIDIA GeForce RTX 3090 Ti | Q8_0 | fits | 468 tok/s | £2,199 | 212.7 |
| Mac Studio M4 Max 64GB | Q8_0 | fits | 266 tok/s | £3,299 | 80.5 |
| Mac mini M4 Pro 64GB | Q8_0 | fits | 133 tok/s | £3,349 | 39.7 |
| GMKtec EVO-X2 Ryzen AI Max+ 395 128GB | Q8_0 | fits | 105 tok/s | £3,500 | 30.1 |
| NVIDIA RTX PRO 4500 Blackwell | Q8_0 | fits | 416 tok/s | £4,587 | 90.6 |
| Mac Studio M3 Ultra 96GB | Q8_0 | fits | 398 tok/s | £4,949 | 80.5 |
| NVIDIA GeForce RTX 5090 | Q8_0 | fits | 831 tok/s | £5,000 | 166.3 |
| NVIDIA GeForce RTX 4090 | Q8_0 | fits | 468 tok/s | £5,091 | 91.9 |
| ASUS Ascent GX10 128GB | Q8_0 | fits | 127 tok/s | £5,299 | 23.9 |
| AMD Radeon PRO W7900 | Q8_0 | fits | 356 tok/s | £5,785 | 61.5 |
| Lenovo ThinkStation PGX GB10 128GB | Q8_0 | fits | 127 tok/s | £5,944 | 21.3 |
| NVIDIA RTX PRO 5000 Blackwell 48GB | Q8_0 | fits | 624 tok/s | £7,300 | 85.4 |
| Mac Studio M3 Ultra 256GB | Q8_0 | fits | 398 tok/s | £8,249 | 48.3 |
| NVIDIA RTX A6000 | Q8_0 | fits | 356 tok/s | £9,000 | 39.6 |
| NVIDIA RTX 6000 Ada Generation | Q8_0 | fits | 445 tok/s | £11,263 | 39.5 |
| NVIDIA RTX PRO 6000 Blackwell | Q8_0 | fits | 831 tok/s | £13,587 | 61.2 |
| Mac Studio M4 Max 128GB | Q8_0 | fits | 266 tok/s | – | – |
| Framework Desktop Ryzen AI Max+ 395 128GB | Q8_0 | fits | 105 tok/s | – | – |
| Mac Studio M3 Ultra 512GB | Q8_0 | fits | 398 tok/s | – | – |
| NVIDIA DGX Spark 128GB | Q8_0 | fits | 127 tok/s | – | – |
| Mac mini M4 Pro 48GB | Q8_0 | fits | 133 tok/s | – | – |
| Framework Desktop Ryzen AI Max+ 395 64GB | Q8_0 | fits | 105 tok/s | – | – |
| AMD Radeon RX 7600 XT | Q8_0 | fits | 119 tok/s | – | – |
| NVIDIA RTX PRO 4000 Blackwell | Q8_0 | fits | 312 tok/s | – | – |
| NVIDIA RTX PRO 4000 Blackwell SFF Edition | Q8_0 | fits | 200 tok/s | – | – |
| Minisforum MS-S1 Max Ryzen AI Max+ 395 128GB | Q8_0 | fits | 105 tok/s | – | – |
| NVIDIA RTX PRO 5000 Blackwell 72GB | Q8_0 | fits | 624 tok/s | – | – |
| Dell Pro Max with GB10 128GB | Q8_0 | fits | 127 tok/s | – | – |
| Beelink GTR9 Pro Ryzen AI Max+ 395 128GB | Q8_0 | fits | 105 tok/s | – | – |
Memory needed
Weights, KV cache and runtime buffers at each context length (KV cache at fp16).
| Quant | File | @8k | @32k |
|---|---|---|---|
| Q4_K_Mgguf | 0.4 GB | 1.2 GB | 1.6 GB |
| Q5_K_Mgguf | 0.4 GB | 1.2 GB | 1.7 GB |
| Q6_Kgguf | 0.5 GB | 1.3 GB | 1.7 GB |
| Q8_0gguf | 0.5 GB | 1.3 GB | 1.8 GB |
Run it
Copy a command for the runtime you use.
- Q4_K_M
- Ollama
ollama run hf.co/bartowski/Qwen2.5-0.5B-Instruct-GGUF:Q4_K_M - LM Studio
lms get bartowski/Qwen2.5-0.5B-Instruct-GGUF@q4_k_m - llama.cpp
llama-server -hf bartowski/Qwen2.5-0.5B-Instruct-GGUF:Q4_K_M
- Ollama
- Q5_K_M
- Ollama
ollama run hf.co/bartowski/Qwen2.5-0.5B-Instruct-GGUF:Q5_K_M - LM Studio
lms get bartowski/Qwen2.5-0.5B-Instruct-GGUF@q5_k_m - llama.cpp
llama-server -hf bartowski/Qwen2.5-0.5B-Instruct-GGUF:Q5_K_M
- Ollama
- Q6_K
- Ollama
ollama run hf.co/bartowski/Qwen2.5-0.5B-Instruct-GGUF:Q6_K - LM Studio
lms get bartowski/Qwen2.5-0.5B-Instruct-GGUF@q6_k - llama.cpp
llama-server -hf bartowski/Qwen2.5-0.5B-Instruct-GGUF:Q6_K
- Ollama
- Q8_0
- Ollama
ollama run hf.co/bartowski/Qwen2.5-0.5B-Instruct-GGUF:Q8_0 - LM Studio
lms get bartowski/Qwen2.5-0.5B-Instruct-GGUF@q8_0 - llama.cpp
llama-server -hf bartowski/Qwen2.5-0.5B-Instruct-GGUF:Q8_0
- Ollama
Notes
The card says the full context is 32,768 tokens and generation is up to 8192 tokens. Needs transformers 4.37.0 or later, because older versions raise KeyError: 'qwen2'.
Questions
- What is the best GPU for running Qwen2.5 0.5B locally?
- The cheapest hardware in the UK that runs Qwen2.5 0.5B fully in memory at 64k context is the Intel Arc A770 16GB, £364 at eBay, at about 210 tok/s (estimated). The best value is the NVIDIA GeForce RTX 3080 10GB (about 353 tok/s for £591). The fastest we price is the NVIDIA GeForce RTX 5090, at about 831 tok/s.
- What is the cheapest way to run Qwen2.5 0.5B in the UK today?
- The NVIDIA Tesla P40, £280 used at eBay, in stock: it runs Qwen2.5 0.5B at Q8_0 fully in memory at 64k context, at about 161 tok/s (estimated).
- Can I run Qwen2.5 0.5B on a 16 GB GPU?
- Yes: at Q8_0 it fits fully in 16 GB at 64k context. On the NVIDIA GeForce RTX 5080 it runs at about 445 tok/s (estimated).
- Can I run Qwen2.5 0.5B on a 24 GB GPU?
- Yes: at Q8_0 it fits fully in 24 GB at 64k context. On the NVIDIA GeForce RTX 3090 Ti it runs at about 468 tok/s (estimated).
- How do I run Qwen2.5 0.5B locally?
- With Ollama: ollama run hf.co/bartowski/Qwen2.5-0.5B-Instruct-GGUF:Q4_K_M (the Q4_K_M build). LM Studio and llama.cpp commands are on this page.
- What licence is Qwen2.5 0.5B released under?
- Apache License 2.0, which allows commercial use.