Qwen2.5 0.5B

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

chat

In short

The cheapest hardware in the US that runs Qwen2.5 0.5B fully in memory at 64k context is the Intel Arc B570, $304 at eBay, at about 142 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 64k context, about 142 tok/sest.

$304

In stock, checked

What to run it on in the US

Fully in memory at 64k 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_0fits142 tok/s$304467.8
NVIDIA RTX PRO 4000 BlackwellQ8_0fits312 tok/s$339919.8
NVIDIA GeForce RTX 5050Q8_0fits149 tok/s$359413.6
NVIDIA GeForce RTX 3060 12GBQ8_0fits167 tok/s$388430.2
NVIDIA GeForce RTX 4060Q8_0fits126 tok/s$400315.5
Intel Arc B580Q8_0fits171 tok/s$425401.4
NVIDIA GeForce RTX 5060Q8_0fits208 tok/s$435477.7
NVIDIA Tesla P40Q8_0fits161 tok/s$449357.5
Mac mini M4 16GBQ8_0fits58 tok/s$490119.3
NVIDIA GeForce RTX 3080 10GBQ8_0fits353 tok/s$500705.2
NVIDIA GeForce RTX 5060 Ti 8GBQ8_0fits208 tok/s$511406.3
NVIDIA GeForce RTX 4060 Ti 8GBQ8_0fits134 tok/s$536249.2
NVIDIA GeForce RTX 4070Q8_0fits234 tok/s$570410.4
Intel Arc Pro B50Q8_0fits84 tok/s$600139.7
NVIDIA GeForce RTX 5060 Ti 16GBQ8_0fits208 tok/s$618336.3
AMD Radeon RX 9060 XT 16GBQ8_0fits132 tok/s$720182.9
Intel Arc A770 16GBQ8_0fits210 tok/s$745281.2
AMD Radeon RX 7800 XTQ8_0fits257 tok/s$757339.1
NVIDIA RTX PRO 2000 BlackwellQ8_0fits134 tok/s$795168.1
NVIDIA GeForce RTX 4070 SuperQ8_0fits234 tok/s$800292.3
AMD Radeon RX 9070 XTQ8_0fits263 tok/s$810325.2
AMD Radeon RX 9070Q8_0fits263 tok/s$860306.3
AMD Radeon RX 7900 XTQ8_0fits329 tok/s$880374.1
Intel Arc Pro B60Q8_0fits171 tok/s$899189.7
NVIDIA GeForce RTX 5070Q8_0fits312 tok/s$900346.5
NVIDIA GeForce RTX 4060 Ti 16GBQ8_0fits134 tok/s$918145.5
AMD Radeon RX 7600 XTQ8_0fits119 tok/s$959123.6
NVIDIA GeForce RTX 4070 Ti SuperQ8_0fits312 tok/s$1,140273.5
Mac mini M4 32GBQ8_0fits58 tok/s$1,19948.7
NVIDIA GeForce RTX 5070 TiQ8_0fits416 tok/s$1,300319.8
AMD Radeon RX 7900 XTXQ8_0fits395 tok/s$1,400282.2
NVIDIA GeForce RTX 4080 SuperQ8_0fits342 tok/s$1,469232.5
AMD Radeon AI PRO R9700Q8_0fits263 tok/s$1,700154.9
Intel Arc Pro B70Q8_0fits228 tok/s$1,800126.4
NVIDIA GeForce RTX 5080Q8_0fits445 tok/s$1,900234.4
NVIDIA GeForce RTX 3090Q8_0fits434 tok/s$1,979219.4
Mac mini M4 Pro 48GBQ8_0fits133 tok/s$2,02565.6
NVIDIA GeForce RTX 3090 TiQ8_0fits468 tok/s$2,033230.0
NVIDIA GeForce RTX 4090Q8_0fits468 tok/s$2,073225.6
Mac mini M4 Pro 64GBQ8_0fits133 tok/s$2,39955.4
NVIDIA RTX PRO 4000 Blackwell SFF EditionQ8_0fits200 tok/s$2,98067.2
GMKtec EVO-X2 Ryzen AI Max+ 395 128GBQ8_0fits105 tok/s$3,50030.1
Mac Studio M4 Max 64GBQ8_0fits266 tok/s$3,50075.9
Beelink GTR9 Pro Ryzen AI Max+ 395 128GBQ8_0fits105 tok/s$3,80027.7
Minisforum MS-S1 Max Ryzen AI Max+ 395 128GBQ8_0fits105 tok/s$3,95926.6
NVIDIA RTX PRO 4500 BlackwellQ8_0fits416 tok/s$4,000103.9
AMD Radeon PRO W7900Q8_0fits356 tok/s$4,00088.9
Mac Studio M3 Ultra 96GBQ8_0fits398 tok/s$4,75883.7
Mac Studio M4 Max 128GBQ8_0fits266 tok/s$5,40049.2
NVIDIA RTX A6000Q8_0fits356 tok/s$5,98959.5
ASUS Ascent GX10 128GBQ8_0fits127 tok/s$6,10020.8
NVIDIA GeForce RTX 5090Q8_0fits831 tok/s$6,495128.0
NVIDIA RTX PRO 5000 Blackwell 48GBQ8_0fits624 tok/s$6,99989.1
NVIDIA DGX Spark 128GBQ8_0fits127 tok/s$7,80016.2
NVIDIA RTX 6000 Ada GenerationQ8_0fits445 tok/s$8,49552.4
NVIDIA RTX PRO 5000 Blackwell 72GBQ8_0fits624 tok/s$8,49973.4
Mac Studio M3 Ultra 256GBQ8_0fits398 tok/s$9,50041.9
NVIDIA RTX PRO 6000 BlackwellQ8_0fits831 tok/s$16,00052.0
Mac Studio M3 Ultra 512GBQ8_0fits398 tok/s$30,00013.3
Framework Desktop Ryzen AI Max+ 395 128GBQ8_0fits105 tok/s––
Framework Desktop Ryzen AI Max+ 395 64GBQ8_0fits105 tok/s––
Lenovo ThinkStation PGX GB10 128GBQ8_0fits127 tok/s––
Dell Pro Max with GB10 128GBQ8_0fits127 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 the US that runs Qwen2.5 0.5B fully in memory at 64k context is the Intel Arc B570, $304 at eBay, at about 142 tok/s (estimated). The best value is the NVIDIA RTX PRO 4000 Blackwell (about 312 tok/s for $339). 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 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 64k context, at about 142 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.

More hardware for local AI