Qwen2.5 0.5B

494M parameters · 32k context · Apache License 2.0 · released 2024-09-16

chat

In short

The cheapest hardware in Canada that runs Qwen2.5 0.5B fully in memory at 128k context is the NVIDIA GeForce RTX 3060 12GB, $563 at Amazon, at about 104 tok/s (estimated).

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

Cheapest way to run it in Canada today

NVIDIA GeForce RTX 3060 12GB, used at eBay

Runs Qwen2.5 0.5B at Q8_0 fully in memory at 128k context, about 104 tok/sest.

$499

In stock, checked

What to run it on in Canada

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
NVIDIA GeForce RTX 3060 12GBQ8_0fits104 tok/s$563185.1
NVIDIA GeForce RTX 5050Q8_0fits93 tok/s$570162.5
NVIDIA GeForce RTX 5060 Ti 8GBQ8_0fits130 tok/s$590219.8
NVIDIA GeForce RTX 5060Q8_0fits130 tok/s$608213.3
NVIDIA GeForce RTX 4060Q8_0fits79 tok/s$675116.6
Intel Arc B570Q8_0fits89 tok/s$801110.7
NVIDIA GeForce RTX 3080 10GBQ8_0fits220 tok/s$860255.8
NVIDIA GeForce RTX 4060 Ti 8GBQ8_0fits83 tok/s$86496.5
AMD Radeon RX 9060 XT 16GBQ8_0fits82 tok/s$87094.5
Mac mini M4 16GBQ8_0fits36 tok/s$1,00036.4
NVIDIA GeForce RTX 5060 Ti 16GBQ8_0fits130 tok/s$1,130114.8
NVIDIA RTX PRO 2000 BlackwellQ8_0fits83 tok/s$1,14972.6
AMD Radeon RX 9070Q8_0fits164 tok/s$1,200137.0
NVIDIA GeForce RTX 5070Q8_0fits195 tok/s$1,206161.3
AMD Radeon RX 9070 XTQ8_0fits164 tok/s$1,285128.0
NVIDIA GeForce RTX 4070Q8_0fits146 tok/s$1,300112.3
AMD Radeon RX 7800 XTQ8_0fits160 tok/s$1,422112.7
AMD Radeon RX 7900 XTQ8_0fits205 tok/s$1,437142.9
AMD Radeon RX 7600 XTQ8_0fits74 tok/s$1,44551.2
NVIDIA GeForce RTX 5070 TiQ8_0fits259 tok/s$1,890137.2
AMD Radeon RX 7900 XTXQ8_0fits247 tok/s$2,041120.8
Intel Arc Pro B60Q8_0fits107 tok/s$2,07951.2
NVIDIA GeForce RTX 4070 SuperQ8_0fits146 tok/s$2,09669.6
NVIDIA GeForce RTX 3090 TiQ8_0fits292 tok/s$2,500116.7
NVIDIA GeForce RTX 4080 SuperQ8_0fits213 tok/s$2,50085.2
NVIDIA RTX PRO 4000 BlackwellQ8_0fits195 tok/s$2,81069.2
AMD Radeon AI PRO R9700Q8_0fits164 tok/s$2,86957.3
NVIDIA GeForce RTX 5080Q8_0fits278 tok/s$2,99992.7
NVIDIA GeForce RTX 3090Q8_0fits271 tok/s$3,30082.1
Intel Arc Pro B70Q8_0fits142 tok/s$4,08834.7
AMD Radeon PRO W7900Q8_0fits222 tok/s$4,90045.3
GMKtec EVO-X2 Ryzen AI Max+ 395 128GBQ8_0fits66 tok/s$5,28912.4
NVIDIA RTX PRO 4500 BlackwellQ8_0fits259 tok/s$6,59939.3
ASUS Ascent GX10 128GBQ8_0fits79 tok/s$8,5009.3
NVIDIA GeForce RTX 4090Q8_0fits292 tok/s$9,16031.9
NVIDIA DGX Spark 128GBQ8_0fits79 tok/s$11,1507.1
NVIDIA RTX A6000Q8_0fits222 tok/s$11,47819.4
NVIDIA GeForce RTX 5090Q8_0fits519 tok/s$12,30042.2
NVIDIA RTX PRO 5000 Blackwell 48GBQ8_0fits389 tok/s$13,43729.0
NVIDIA RTX 6000 Ada GenerationQ8_0fits278 tok/s$15,13618.4
NVIDIA RTX PRO 5000 Blackwell 72GBQ8_0fits389 tok/s$20,65018.8
Mac Studio M3 Ultra 512GBQ8_0fits249 tok/s$28,0008.9
Mac Studio M4 Max 128GBQ8_0fits166 tok/s––
Mac mini M4 Pro 64GBQ8_0fits83 tok/s––
Framework Desktop Ryzen AI Max+ 395 128GBQ8_0fits66 tok/s––
Mac Studio M3 Ultra 256GBQ8_0fits249 tok/s––
Mac mini M4 Pro 48GBQ8_0fits83 tok/s––
NVIDIA GeForce RTX 4060 Ti 16GBQ8_0fits83 tok/s––
Mac Studio M4 Max 64GBQ8_0fits166 tok/s––
NVIDIA GeForce RTX 4070 Ti SuperQ8_0fits195 tok/s––
Mac Studio M3 Ultra 96GBQ8_0fits249 tok/s––
NVIDIA RTX PRO 6000 BlackwellQ8_0fits519 tok/s––
Framework Desktop Ryzen AI Max+ 395 64GBQ8_0fits66 tok/s––
Intel Arc B580Q8_0fits107 tok/s––
Mac mini M4 32GBQ8_0fits36 tok/s––
NVIDIA Tesla P40Q8_0fits100 tok/s––
Intel Arc A770 16GBQ8_0fits131 tok/s––
NVIDIA RTX PRO 4000 Blackwell SFF EditionQ8_0fits125 tok/s––
Intel Arc Pro B50Q8_0fits52 tok/s––
Minisforum MS-S1 Max Ryzen AI Max+ 395 128GBQ8_0fits66 tok/s––
Lenovo ThinkStation PGX GB10 128GBQ8_0fits79 tok/s––
Dell Pro Max with GB10 128GBQ8_0fits79 tok/s––
Beelink GTR9 Pro Ryzen AI Max+ 395 128GBQ8_0fits66 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

What is the best GPU for running Qwen2.5 0.5B locally?
The cheapest hardware in Canada that runs Qwen2.5 0.5B fully in memory at 128k context is the NVIDIA GeForce RTX 3060 12GB, $563 at Amazon, at about 104 tok/s (estimated). The best value is the NVIDIA GeForce RTX 3080 10GB (about 220 tok/s for $860). The fastest we price is the NVIDIA GeForce RTX 5090, at about 519 tok/s.
What is the cheapest way to run Qwen2.5 0.5B in Canada today?
The NVIDIA GeForce RTX 3060 12GB, $499 used at eBay, in stock: it runs Qwen2.5 0.5B at Q8_0 fully in memory at 128k context, at about 104 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 128k context. On the NVIDIA GeForce RTX 5080 it runs at about 278 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 128k context. On the NVIDIA GeForce RTX 3090 Ti it runs at about 292 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