Devices
How fast a computer runs language models on its own, with nothing sent to the cloud. Every device runs the same models with the same requests, so a number means the same on every machine, and higher is always faster. Two tests are shown: Hushyar's device score, measured with a few model sizes, and llama.cpp's standard test, among the results its community has published. New devices and models are added as they are measured. Set any row as the base and every other device is shown as a multiple of it, for example a computer you are thinking of buying against your own.
Hushyar device score
The same short and long requests on one model file, with the three speeds combined into one number by LocalScore's formula. Twice the score is twice as fast. Pick the model above the table.
Loading the results...
llama.cpp's standard test
One model, Llama 2 7B (Q4_0), on every device: the test llama.cpp's community uses for its scoreboards. Rows linked to llama.cpp come from those scoreboards, rows marked Hushyar are our own runs.
| # | Source | |||||
|---|---|---|---|---|---|---|
| 1 | RTX 5090 · 32 GB / GDDR7 / 512 bit | CUDA · FA | 300.4 | 14,970 | llama.cpp 8cf6b42 | |
| 2 | RTX PRO 6000 Blackwell · 96 GB / GDDR7 / 512 bit | CUDA · FA | 281.1 | 16,619 | llama.cpp 5143fa8 | |
| 3 | H100 80 GB · 80 GB / HBM3 / 5120 bit | CUDA · FA | 280.7 | 11,263 | llama.cpp 5143fa8 | |
| 4 | Nvidia RTX 5090 | Vulkan · FA | 273.7 | 11,796 | llama.cpp ca71fb9 | |
| 5 | Instinct MI300X · 192 GB / HBM3 / 8192 bit | ROCm | 232.9 | 11,476 | llama.cpp ee3a9fc | |
| 6 | A100 80 GB · 80 GB / HBM2e / 5120 bit | CUDA · FA | 200.9 | 5,286 | llama.cpp 5143fa8 | |
| 7 | Nvidia RTX 5080 | Vulkan · FA | 192.2 | 8,055 | llama.cpp f6b533d89 | |
| 8 | RTX 4090 D · 24 GB / GDDR6X / 384 bit | CUDA · FA | 191.6 | 12,507 | llama.cpp 79c1160 | |
| 9 | AMD Radeon RX 7900 XTX | Vulkan · FA | 190.9 | 3,890 | llama.cpp 304665f | |
| 10 | Nvidia RTX 4090 | Vulkan · FA | 190.1 | 10,830 | llama.cpp 4ae88d0 | |
| 11 | RTX 4090 · 24 GB / GDDR6X / 384 bit | CUDA · FA | 189.0 | 14,771 | llama.cpp 2241453 | |
| 12 | RTX 5080 · 16 GB / GDDR7 / 256 bit | CUDA · FA | 184.7 | 9,488 | llama.cpp 8a4280c | |
| 13 | RTX 5070 Ti · 16 GB / GDDR7 / 256 bit | CUDA · FA | 182.4 | 8,420 | llama.cpp 933414c | |
| 14 | RTX 6000 Ada · 48 GB / GDDR6 / 384 bit | CUDA · FA | 179.5 | 10,577 | llama.cpp b8e09f0 | |
| 15 | M5 Ultra (80 GPU cores) · 1228 GB/s | Metal | 179.1 | 4,945 | llama.cpp c1d0e7a | |
| 16 | Nvidia RTX 5070 Ti | Vulkan · FA | 176.2 | 7,568 | llama.cpp 0d0764d | |
| 17 | RTX 3090 Ti · 24 GB / GDDR6X / 384 bit | CUDA · FA | 172.3 | 6,924 | llama.cpp 9c35706 | |
| 18 | Nvidia RTX 3090 | Vulkan · FA | 171.6 | 5,201 | llama.cpp d05fe1d | |
| 19 | Nvidia A100 | Vulkan · FA | 170.6 | 7,064 | llama.cpp 2257758 | |
| 20 | RX 7900 XTX · 24 GB / GDDR6 / 384 bit | ROCm · FA | 170.1 | 3,874 | llama.cpp 2f0c2db |
What the numbers mean
- tg128:
- answer speed, tokens a second while writing 128 tokens: the number you feel in a chat.
- pp512:
- reading speed, tokens a second while reading a 512-token prompt: it matters for long questions and documents.
- Backend:
- the software that drives the chip: CUDA for NVIDIA, ROCm for AMD, Vulkan for any graphics card, Metal for Apple.
- FA:
- flash attention, a faster way to compute inside the model. A device tested with and without it shows its faster run.
- 1.40x:
- the speed against the device set as the base: 1.40x is 40% faster, 0.50x half as fast.
- Memory:
- the graphics memory: its size in GB, its type and width; for Apple's chips how fast it is in GB/s, which sets most of the answer speed.