Qwen2.5 0.5B
494M parameters · 32k context · Apache License 2.0 · released 2024-09-16
chat
In short
Qwen2.5 0.5B is an open model from Alibaba Qwen with 494M parameters. At Q4_K_M, Qwen2.5 0.5B needs about 1 GB of memory at 8k context and 1 GB at 8k, counting the weights, the KV cache and runtime buffers. The cheapest hardware in the US that runs Qwen2.5 0.5B fully in memory at 8k context is the Intel Arc B570, $304 at eBay, at about 301 tok/s (estimated).
Updated . Speeds are estimates; how they are worked out.
Cheapest way to run it in the US today
Intel Arc B570, new at eBay
Runs Qwen2.5 0.5B at Q8_0 fully in memory at 8k context, about 301 tok/sest.
$304
In stock, checked
What to run it on in the US
Fully in memory at 8k context, priced at retailers today.
Cheapest
Intel Arc B570301tok/sest.Q8_0
$304
Best value
NVIDIA RTX PRO 4000 Blackwell660tok/sest.Q8_0
$339
Fastest
NVIDIA GeForce RTX 50901759tok/sest.Q8_0
$6,495
Mac
Mac mini M4 16GB124tok/sest.Q8_0
$490
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 B570 | Q8_0 | fits | 301 tok/s | $304 | 989.5 |
| NVIDIA RTX PRO 4000 Blackwell | Q8_0 | fits | 660 tok/s | $339 | 1945.4 |
| NVIDIA GeForce RTX 5050 | Q8_0 | fits | 314 tok/s | $359 | 874.9 |
| NVIDIA GeForce RTX 3060 12GB | Q8_0 | fits | 353 tok/s | $388 | 910.1 |
| NVIDIA GeForce RTX 4060 | Q8_0 | fits | 267 tok/s | $400 | 667.3 |
| Intel Arc B580 | Q8_0 | fits | 361 tok/s | $425 | 849.2 |
| NVIDIA GeForce RTX 5060 | Q8_0 | fits | 440 tok/s | $435 | 1010.8 |
| NVIDIA Tesla P40 | Q8_0 | fits | 340 tok/s | $449 | 756.3 |
| Mac mini M4 16GB | Q8_0 | fits | 124 tok/s | $490 | 252.3 |
| NVIDIA GeForce RTX 3080 10GB | Q8_0 | fits | 746 tok/s | $500 | 1491.8 |
| NVIDIA GeForce RTX 5060 Ti 8GB | Q8_0 | fits | 440 tok/s | $511 | 859.6 |
| NVIDIA GeForce RTX 4060 Ti 8GB | Q8_0 | fits | 283 tok/s | $536 | 527.2 |
| NVIDIA GeForce RTX 4070 | Q8_0 | fits | 495 tok/s | $570 | 868.1 |
| Intel Arc Pro B50 | Q8_0 | fits | 177 tok/s | $600 | 295.5 |
| NVIDIA GeForce RTX 5060 Ti 16GB | Q8_0 | fits | 440 tok/s | $618 | 711.5 |
| AMD Radeon RX 9060 XT 16GB | Q8_0 | fits | 279 tok/s | $720 | 387.0 |
| Intel Arc A770 16GB | Q8_0 | fits | 443 tok/s | $745 | 594.9 |
| AMD Radeon RX 7800 XT | Q8_0 | fits | 543 tok/s | $757 | 717.5 |
| NVIDIA RTX PRO 2000 Blackwell | Q8_0 | fits | 283 tok/s | $795 | 355.6 |
| NVIDIA GeForce RTX 4070 Super | Q8_0 | fits | 495 tok/s | $800 | 618.3 |
| AMD Radeon RX 9070 XT | Q8_0 | fits | 557 tok/s | $810 | 687.9 |
| AMD Radeon RX 9070 | Q8_0 | fits | 557 tok/s | $860 | 647.9 |
| AMD Radeon RX 7900 XT | Q8_0 | fits | 697 tok/s | $880 | 791.5 |
| Intel Arc Pro B60 | Q8_0 | fits | 361 tok/s | $899 | 401.3 |
| NVIDIA GeForce RTX 5070 | Q8_0 | fits | 660 tok/s | $900 | 732.8 |
| NVIDIA GeForce RTX 4060 Ti 16GB | Q8_0 | fits | 283 tok/s | $918 | 307.9 |
| AMD Radeon RX 7600 XT | Q8_0 | fits | 251 tok/s | $959 | 261.4 |
| NVIDIA GeForce RTX 4070 Ti Super | Q8_0 | fits | 660 tok/s | $1,140 | 578.5 |
| Mac mini M4 32GB | Q8_0 | fits | 124 tok/s | $1,199 | 103.0 |
| NVIDIA GeForce RTX 5070 Ti | Q8_0 | fits | 879 tok/s | $1,300 | 676.5 |
| AMD Radeon RX 7900 XTX | Q8_0 | fits | 836 tok/s | $1,400 | 597.0 |
| NVIDIA GeForce RTX 4080 Super | Q8_0 | fits | 722 tok/s | $1,469 | 491.7 |
| AMD Radeon AI PRO R9700 | Q8_0 | fits | 557 tok/s | $1,700 | 327.8 |
| Intel Arc Pro B70 | Q8_0 | fits | 481 tok/s | $1,800 | 267.3 |
| NVIDIA GeForce RTX 5080 | Q8_0 | fits | 942 tok/s | $1,900 | 495.9 |
| NVIDIA GeForce RTX 3090 | Q8_0 | fits | 919 tok/s | $1,979 | 464.1 |
| Mac mini M4 Pro 48GB | Q8_0 | fits | 281 tok/s | $2,025 | 138.7 |
| NVIDIA GeForce RTX 3090 Ti | Q8_0 | fits | 989 tok/s | $2,033 | 486.6 |
| NVIDIA GeForce RTX 4090 | Q8_0 | fits | 989 tok/s | $2,073 | 477.1 |
| Mac mini M4 Pro 64GB | Q8_0 | fits | 281 tok/s | $2,399 | 117.1 |
| NVIDIA RTX PRO 4000 Blackwell SFF Edition | Q8_0 | fits | 424 tok/s | $2,980 | 142.3 |
| GMKtec EVO-X2 Ryzen AI Max+ 395 128GB | Q8_0 | fits | 223 tok/s | $3,500 | 63.7 |
| Mac Studio M4 Max 64GB | Q8_0 | fits | 562 tok/s | $3,500 | 160.5 |
| Beelink GTR9 Pro Ryzen AI Max+ 395 128GB | Q8_0 | fits | 223 tok/s | $3,800 | 58.7 |
| Minisforum MS-S1 Max Ryzen AI Max+ 395 128GB | Q8_0 | fits | 223 tok/s | $3,959 | 56.3 |
| NVIDIA RTX PRO 4500 Blackwell | Q8_0 | fits | 879 tok/s | $4,000 | 219.9 |
| AMD Radeon PRO W7900 | Q8_0 | fits | 752 tok/s | $4,000 | 188.1 |
| Mac Studio M3 Ultra 96GB | Q8_0 | fits | 843 tok/s | $4,758 | 177.1 |
| Mac Studio M4 Max 128GB | Q8_0 | fits | 562 tok/s | $5,400 | 104.0 |
| NVIDIA RTX A6000 | Q8_0 | fits | 754 tok/s | $5,989 | 125.8 |
| ASUS Ascent GX10 128GB | Q8_0 | fits | 268 tok/s | $6,100 | 43.9 |
| NVIDIA GeForce RTX 5090 | Q8_0 | fits | 1759 tok/s | $6,495 | 270.8 |
| NVIDIA RTX PRO 5000 Blackwell 48GB | Q8_0 | fits | 1319 tok/s | $6,999 | 188.5 |
| NVIDIA DGX Spark 128GB | Q8_0 | fits | 268 tok/s | $7,800 | 34.3 |
| NVIDIA RTX 6000 Ada Generation | Q8_0 | fits | 942 tok/s | $8,495 | 110.9 |
| NVIDIA RTX PRO 5000 Blackwell 72GB | Q8_0 | fits | 1319 tok/s | $8,499 | 155.2 |
| Mac Studio M3 Ultra 256GB | Q8_0 | fits | 843 tok/s | $9,500 | 88.7 |
| NVIDIA RTX PRO 6000 Blackwell | Q8_0 | fits | 1759 tok/s | $16,000 | 109.9 |
| Mac Studio M3 Ultra 512GB | Q8_0 | fits | 843 tok/s | $30,000 | 28.1 |
| Framework Desktop Ryzen AI Max+ 395 128GB | Q8_0 | fits | 223 tok/s | – | – |
| Framework Desktop Ryzen AI Max+ 395 64GB | Q8_0 | fits | 223 tok/s | – | – |
| Lenovo ThinkStation PGX GB10 128GB | Q8_0 | fits | 268 tok/s | – | – |
| Dell Pro Max with GB10 128GB | Q8_0 | fits | 268 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
- How much VRAM does Qwen2.5 0.5B need?
- At Q4_K_M, Qwen2.5 0.5B needs about 1 GB of memory at 8k context and 1 GB at 8k, counting the weights, the KV cache and runtime buffers.
- What is the best GPU for running Qwen2.5 0.5B locally?
- The cheapest hardware in the US that runs Qwen2.5 0.5B fully in memory at 8k context is the Intel Arc B570, $304 at eBay, at about 301 tok/s (estimated). The best value is the NVIDIA RTX PRO 4000 Blackwell (about 660 tok/s for $339). The fastest we price is the NVIDIA GeForce RTX 5090, at about 1759 tok/s.
- What is the cheapest way to run Qwen2.5 0.5B in the US today?
- The Intel Arc B570, $304 new at eBay, in stock: it runs Qwen2.5 0.5B at Q8_0 fully in memory at 8k context, at about 301 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 8k context. On the NVIDIA GeForce RTX 5080 it runs at about 942 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 8k context. On the NVIDIA GeForce RTX 3090 Ti it runs at about 989 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.