Llama 3.3 70B
70.6B parameters · 128k context · llama3.3 · released 2024-11-26
chatcoding
In short
Llama 3.3 70B is an open model from Meta with 70.6B parameters. At Q4_K_M, Llama 3.3 70B needs about 43 GB of memory at 8k context and 81 GB at 128k, counting the weights, the KV cache and runtime buffers. Nothing we price in Canada runs Llama 3.3 70B fully in memory at 128k context at a usable speed; see the table for what comes closest.
Updated . Speeds are estimates; how they are worked out.
Cheapest way to run it in Canada today
Nothing in stock in Canada today runs Llama 3.3 70B fully in memory at 128k context at 15 tok/s or more. A shorter context needs less memory; the table below shows what comes closest.
What to run it on in Canada
Fully in memory at 128k context, priced at retailers today.
Something we price holds it fully in memory, but none reaches 15 tok/s, our bar for recommending it. The table below has the speeds.
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 |
|---|---|---|---|---|---|
| GMKtec EVO-X2 Ryzen AI Max+ 395 128GB | Q5_K_M | fits | 2 tok/s | $5,289 | 0.3 |
| ASUS Ascent GX10 128GB | Q8_0 | fits | 1 tok/s | $8,500 | 0.2 |
| NVIDIA DGX Spark 128GB | Q8_0 | fits | 1 tok/s | $11,150 | 0.1 |
| Mac Studio M3 Ultra 512GB | Q8_0 | fits | 5 tok/s | $28,000 | 0.2 |
| Mac Studio M4 Max 128GB | Q5_K_M | fits | 4 tok/s | – | – |
| Framework Desktop Ryzen AI Max+ 395 128GB | Q5_K_M | fits | 2 tok/s | – | – |
| Mac Studio M3 Ultra 256GB | Q8_0 | fits | 5 tok/s | – | – |
| NVIDIA RTX PRO 6000 Blackwell | Q5_K_M | fits | 12 tok/s | – | – |
| Minisforum MS-S1 Max Ryzen AI Max+ 395 128GB | Q5_K_M | fits | 2 tok/s | – | – |
| Lenovo ThinkStation PGX GB10 128GB | Q8_0 | fits | 1 tok/s | – | – |
| Dell Pro Max with GB10 128GB | Q8_0 | fits | 1 tok/s | – | – |
| Beelink GTR9 Pro Ryzen AI Max+ 395 128GB | Q5_K_M | fits | 2 tok/s | – | – |
| NVIDIA RTX PRO 5000 Blackwell 72GB | Q4_K_M | offload | 4 tok/s | $20,650 | 0.2 |
50 other cards and machines we price cannot hold it at this context.
Memory needed
Weights, KV cache and runtime buffers at each context length (KV cache at fp16).
| Quant | File | @8k | @32k | @64k | @128k |
|---|---|---|---|---|---|
| Q4_K_Mgguf | 39.6 GB | 42.8 GB | 50.5 GB | 60.7 GB | 81.1 GB |
| mlx-4bitmlx | 37.0 GB | 40.2 GB | 47.9 GB | 58.0 GB | 78.4 GB |
| Q5_K_Mgguf | 46.5 GB | 49.8 GB | 57.4 GB | 67.6 GB | 88.0 GB |
| mlx-8bitmlx | 69.8 GB | 73.1 GB | 80.7 GB | 90.9 GB | 111.3 GB |
| Q8_0gguf | 69.8 GB | 73.1 GB | 80.7 GB | 90.9 GB | 111.3 GB |
Run it
Copy a command for the runtime you use.
- Q4_K_M
- Ollama
ollama run hf.co/unsloth/Llama-3.3-70B-Instruct-GGUF:Q4_K_M - LM Studio
lms get unsloth/Llama-3.3-70B-Instruct-GGUF@q4_k_m - llama.cpp
llama-server -hf unsloth/Llama-3.3-70B-Instruct-GGUF:Q4_K_M
- Ollama
- mlx-4bit
- LM Studio
lms get mlx-community/Llama-3.3-70B-Instruct-4bit - MLX
mlx_lm.server --model mlx-community/Llama-3.3-70B-Instruct-4bit
- LM Studio
- Q5_K_M
- Ollama
ollama run hf.co/unsloth/Llama-3.3-70B-Instruct-GGUF:Q5_K_M - LM Studio
lms get unsloth/Llama-3.3-70B-Instruct-GGUF@q5_k_m - llama.cpp
llama-server -hf unsloth/Llama-3.3-70B-Instruct-GGUF:Q5_K_M
- Ollama
- mlx-8bit
- LM Studio
lms get mlx-community/Llama-3.3-70B-Instruct-8bit - MLX
mlx_lm.server --model mlx-community/Llama-3.3-70B-Instruct-8bit
- LM Studio
- Q8_0
- Ollama
ollama run hf.co/unsloth/Llama-3.3-70B-Instruct-GGUF:Q8_0 - LM Studio
lms get unsloth/Llama-3.3-70B-Instruct-GGUF@q8_0 - llama.cpp
llama-server -hf unsloth/Llama-3.3-70B-Instruct-GGUF:Q8_0
- Ollama
Questions
- How much VRAM does Llama 3.3 70B need?
- At Q4_K_M, Llama 3.3 70B needs about 43 GB of memory at 8k context and 81 GB at 128k, counting the weights, the KV cache and runtime buffers.
- Can I run Llama 3.3 70B on a 16 GB GPU?
- No: it does not fit in 16 GB at 128k context, even with system RAM.
- Can I run Llama 3.3 70B on a 24 GB GPU?
- No: it does not fit in 24 GB at 128k context, even with system RAM.
- How do I run Llama 3.3 70B locally?
- With Ollama: ollama run hf.co/unsloth/Llama-3.3-70B-Instruct-GGUF:Q4_K_M (the Q4_K_M build). LM Studio and llama.cpp commands are on this page.
- What licence is Llama 3.3 70B released under?
- llama3.3, which allows commercial use.