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 2 GB at 32k, 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 32k context is the Intel Arc B570, $304 at eBay, at about 204 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 32k context, about 204 tok/sest.

$304

In stock, checked

What to run it on in the US

Fully in memory at 32k 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 B570Q8_0fits204 tok/s$304669.4
NVIDIA RTX PRO 4000 BlackwellQ8_0fits446 tok/s$3391316.2
NVIDIA GeForce RTX 5050Q8_0fits213 tok/s$359591.9
NVIDIA GeForce RTX 3060 12GBQ8_0fits239 tok/s$388615.6
NVIDIA GeForce RTX 4060Q8_0fits181 tok/s$400451.5
Intel Arc B580Q8_0fits244 tok/s$425574.6
NVIDIA GeForce RTX 5060Q8_0fits298 tok/s$435683.9
NVIDIA Tesla P40Q8_0fits230 tok/s$449511.6
Mac mini M4 16GBQ8_0fits84 tok/s$490170.6
NVIDIA GeForce RTX 3080 10GBQ8_0fits505 tok/s$5001009.2
NVIDIA GeForce RTX 5060 Ti 8GBQ8_0fits298 tok/s$511581.6
NVIDIA GeForce RTX 4060 Ti 8GBQ8_0fits191 tok/s$536356.6
NVIDIA GeForce RTX 4070Q8_0fits335 tok/s$570587.4
Intel Arc Pro B50Q8_0fits120 tok/s$600200.0
NVIDIA GeForce RTX 5060 Ti 16GBQ8_0fits298 tok/s$618481.4
AMD Radeon RX 9060 XT 16GBQ8_0fits189 tok/s$720261.8
Intel Arc A770 16GBQ8_0fits300 tok/s$745402.6
AMD Radeon RX 7800 XTQ8_0fits368 tok/s$757485.5
NVIDIA RTX PRO 2000 BlackwellQ8_0fits191 tok/s$795240.5
NVIDIA GeForce RTX 4070 SuperQ8_0fits335 tok/s$800418.4
AMD Radeon RX 9070 XTQ8_0fits377 tok/s$810465.4
AMD Radeon RX 9070Q8_0fits377 tok/s$860438.4
AMD Radeon RX 7900 XTQ8_0fits471 tok/s$880535.5
Intel Arc Pro B60Q8_0fits244 tok/s$899271.5
NVIDIA GeForce RTX 5070Q8_0fits446 tok/s$900495.8
NVIDIA GeForce RTX 4060 Ti 16GBQ8_0fits191 tok/s$918208.2
AMD Radeon RX 7600 XTQ8_0fits170 tok/s$959176.9
NVIDIA GeForce RTX 4070 Ti SuperQ8_0fits446 tok/s$1,140391.4
Mac mini M4 32GBQ8_0fits84 tok/s$1,19969.6
NVIDIA GeForce RTX 5070 TiQ8_0fits595 tok/s$1,300457.7
AMD Radeon RX 7900 XTXQ8_0fits566 tok/s$1,400403.9
NVIDIA GeForce RTX 4080 SuperQ8_0fits489 tok/s$1,469332.7
AMD Radeon AI PRO R9700Q8_0fits377 tok/s$1,700221.8
Intel Arc Pro B70Q8_0fits326 tok/s$1,800180.9
NVIDIA GeForce RTX 5080Q8_0fits637 tok/s$1,900335.5
NVIDIA GeForce RTX 3090Q8_0fits622 tok/s$1,979314.0
Mac mini M4 Pro 48GBQ8_0fits190 tok/s$2,02593.8
NVIDIA GeForce RTX 3090 TiQ8_0fits669 tok/s$2,033329.2
NVIDIA GeForce RTX 4090Q8_0fits669 tok/s$2,073322.8
Mac mini M4 Pro 64GBQ8_0fits190 tok/s$2,39979.2
NVIDIA RTX PRO 4000 Blackwell SFF EditionQ8_0fits287 tok/s$2,98096.3
GMKtec EVO-X2 Ryzen AI Max+ 395 128GBQ8_0fits151 tok/s$3,50043.1
Mac Studio M4 Max 64GBQ8_0fits380 tok/s$3,500108.6
Beelink GTR9 Pro Ryzen AI Max+ 395 128GBQ8_0fits151 tok/s$3,80039.7
Minisforum MS-S1 Max Ryzen AI Max+ 395 128GBQ8_0fits151 tok/s$3,95938.1
NVIDIA RTX PRO 4500 BlackwellQ8_0fits595 tok/s$4,000148.8
AMD Radeon PRO W7900Q8_0fits509 tok/s$4,000127.2
Mac Studio M3 Ultra 96GBQ8_0fits570 tok/s$4,758119.8
Mac Studio M4 Max 128GBQ8_0fits380 tok/s$5,40070.4
NVIDIA RTX A6000Q8_0fits510 tok/s$5,98985.2
ASUS Ascent GX10 128GBQ8_0fits181 tok/s$6,10029.7
NVIDIA GeForce RTX 5090Q8_0fits1190 tok/s$6,495183.2
NVIDIA RTX PRO 5000 Blackwell 48GBQ8_0fits892 tok/s$6,999127.5
NVIDIA DGX Spark 128GBQ8_0fits181 tok/s$7,80023.2
NVIDIA RTX 6000 Ada GenerationQ8_0fits637 tok/s$8,49575.0
NVIDIA RTX PRO 5000 Blackwell 72GBQ8_0fits892 tok/s$8,499105.0
Mac Studio M3 Ultra 256GBQ8_0fits570 tok/s$9,50060.0
NVIDIA RTX PRO 6000 BlackwellQ8_0fits1190 tok/s$16,00074.4
Mac Studio M3 Ultra 512GBQ8_0fits570 tok/s$30,00019.0
Framework Desktop Ryzen AI Max+ 395 128GBQ8_0fits151 tok/s––
Framework Desktop Ryzen AI Max+ 395 64GBQ8_0fits151 tok/s––
Lenovo ThinkStation PGX GB10 128GBQ8_0fits181 tok/s––
Dell Pro Max with GB10 128GBQ8_0fits181 tok/s––

Memory needed

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

QuantFile@8k@32k
Q4_K_Mgguf0.4 GB1.2 GB1.6 GB
Q5_K_Mgguf0.4 GB1.2 GB1.7 GB
Q6_Kgguf0.5 GB1.3 GB1.7 GB
Q8_0gguf0.5 GB1.3 GB1.8 GB

Run it

Copy a command for the runtime you use.

  • Q4_K_M
    • Ollamaollama run hf.co/bartowski/Qwen2.5-0.5B-Instruct-GGUF:Q4_K_M
    • LM Studiolms get bartowski/Qwen2.5-0.5B-Instruct-GGUF@q4_k_m
    • llama.cppllama-server -hf bartowski/Qwen2.5-0.5B-Instruct-GGUF:Q4_K_M
  • Q5_K_M
    • Ollamaollama run hf.co/bartowski/Qwen2.5-0.5B-Instruct-GGUF:Q5_K_M
    • LM Studiolms get bartowski/Qwen2.5-0.5B-Instruct-GGUF@q5_k_m
    • llama.cppllama-server -hf bartowski/Qwen2.5-0.5B-Instruct-GGUF:Q5_K_M
  • Q6_K
    • Ollamaollama run hf.co/bartowski/Qwen2.5-0.5B-Instruct-GGUF:Q6_K
    • LM Studiolms get bartowski/Qwen2.5-0.5B-Instruct-GGUF@q6_k
    • llama.cppllama-server -hf bartowski/Qwen2.5-0.5B-Instruct-GGUF:Q6_K
  • Q8_0
    • Ollamaollama run hf.co/bartowski/Qwen2.5-0.5B-Instruct-GGUF:Q8_0
    • LM Studiolms get bartowski/Qwen2.5-0.5B-Instruct-GGUF@q8_0
    • llama.cppllama-server -hf bartowski/Qwen2.5-0.5B-Instruct-GGUF:Q8_0

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 2 GB at 32k, 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 32k context is the Intel Arc B570, $304 at eBay, at about 204 tok/s (estimated). The best value is the NVIDIA RTX PRO 4000 Blackwell (about 446 tok/s for $339). The fastest we price is the NVIDIA GeForce RTX 5090, at about 1190 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 32k context, at about 204 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 32k context. On the NVIDIA GeForce RTX 5080 it runs at about 637 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 32k context. On the NVIDIA GeForce RTX 3090 Ti it runs at about 669 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.

More hardware for local AI