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 61 GB at 64k, counting the weights, the KV cache and runtime buffers. Nothing we price in the UK runs Llama 3.3 70B fully in memory at 64k 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 the UK today

Nothing in stock in the UK today runs Llama 3.3 70B fully in memory at 64k 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 the UK

Fully in memory at 64k 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.

HardwareQuantFitsDecodePricetok/s per 1,000
GMKtec EVO-X2 Ryzen AI Max+ 395 128GBQ8_0fits2 tok/s£3,5000.4
Mac Studio M3 Ultra 96GBQ5_K_Mfits8 tok/s£4,9491.5
ASUS Ascent GX10 128GBQ8_0fits2 tok/s£5,2990.3
Lenovo ThinkStation PGX GB10 128GBQ8_0fits2 tok/s£5,9440.3
Mac Studio M3 Ultra 256GBQ8_0fits6 tok/s£8,2490.7
NVIDIA RTX PRO 6000 BlackwellQ8_0fits12 tok/s£13,5870.8
Mac Studio M4 Max 128GBQ8_0fits4 tok/s––
Framework Desktop Ryzen AI Max+ 395 128GBQ8_0fits2 tok/s––
Mac Studio M3 Ultra 512GBQ8_0fits6 tok/s––
NVIDIA DGX Spark 128GBQ8_0fits2 tok/s––
Minisforum MS-S1 Max Ryzen AI Max+ 395 128GBQ8_0fits2 tok/s––
NVIDIA RTX PRO 5000 Blackwell 72GBQ5_K_Mfits12 tok/s––
Dell Pro Max with GB10 128GBQ8_0fits2 tok/s––
Beelink GTR9 Pro Ryzen AI Max+ 395 128GBQ8_0fits2 tok/s––
AMD Radeon PRO W7900Q4_K_Moffload3 tok/s£5,7850.5
NVIDIA RTX PRO 5000 Blackwell 48GBQ4_K_Moffload3 tok/s£7,3000.4
NVIDIA RTX A6000Q4_K_Moffload3 tok/s£9,0000.3
NVIDIA RTX 6000 Ada GenerationQ4_K_Moffload3 tok/s£11,2630.3

45 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).

QuantFile@8k@32k@64k@128k
Q4_K_Mgguf39.6 GB42.8 GB50.5 GB60.7 GB81.1 GB
mlx-4bitmlx37.0 GB40.2 GB47.9 GB58.0 GB78.4 GB
Q5_K_Mgguf46.5 GB49.8 GB57.4 GB67.6 GB88.0 GB
mlx-8bitmlx69.8 GB73.1 GB80.7 GB90.9 GB111.3 GB
Q8_0gguf69.8 GB73.1 GB80.7 GB90.9 GB111.3 GB

Run it

Copy a command for the runtime you use.

  • Q4_K_M
    • Ollamaollama run hf.co/unsloth/Llama-3.3-70B-Instruct-GGUF:Q4_K_M
    • LM Studiolms get unsloth/Llama-3.3-70B-Instruct-GGUF@q4_k_m
    • llama.cppllama-server -hf unsloth/Llama-3.3-70B-Instruct-GGUF:Q4_K_M
  • mlx-4bit
    • LM Studiolms get mlx-community/Llama-3.3-70B-Instruct-4bit
    • MLXmlx_lm.server --model mlx-community/Llama-3.3-70B-Instruct-4bit
  • Q5_K_M
    • Ollamaollama run hf.co/unsloth/Llama-3.3-70B-Instruct-GGUF:Q5_K_M
    • LM Studiolms get unsloth/Llama-3.3-70B-Instruct-GGUF@q5_k_m
    • llama.cppllama-server -hf unsloth/Llama-3.3-70B-Instruct-GGUF:Q5_K_M
  • mlx-8bit
    • LM Studiolms get mlx-community/Llama-3.3-70B-Instruct-8bit
    • MLXmlx_lm.server --model mlx-community/Llama-3.3-70B-Instruct-8bit
  • Q8_0
    • Ollamaollama run hf.co/unsloth/Llama-3.3-70B-Instruct-GGUF:Q8_0
    • LM Studiolms get unsloth/Llama-3.3-70B-Instruct-GGUF@q8_0
    • llama.cppllama-server -hf unsloth/Llama-3.3-70B-Instruct-GGUF:Q8_0

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 61 GB at 64k, 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 64k 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 64k 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.

More hardware for local AI