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.

HardwareQuantFitsDecodePricetok/s per 1,000
GMKtec EVO-X2 Ryzen AI Max+ 395 128GBQ5_K_Mfits2 tok/s$5,2890.3
ASUS Ascent GX10 128GBQ8_0fits1 tok/s$8,5000.2
NVIDIA DGX Spark 128GBQ8_0fits1 tok/s$11,1500.1
Mac Studio M3 Ultra 512GBQ8_0fits5 tok/s$28,0000.2
Mac Studio M4 Max 128GBQ5_K_Mfits4 tok/s––
Framework Desktop Ryzen AI Max+ 395 128GBQ5_K_Mfits2 tok/s––
Mac Studio M3 Ultra 256GBQ8_0fits5 tok/s––
NVIDIA RTX PRO 6000 BlackwellQ5_K_Mfits12 tok/s––
Minisforum MS-S1 Max Ryzen AI Max+ 395 128GBQ5_K_Mfits2 tok/s––
Lenovo ThinkStation PGX GB10 128GBQ8_0fits1 tok/s––
Dell Pro Max with GB10 128GBQ8_0fits1 tok/s––
Beelink GTR9 Pro Ryzen AI Max+ 395 128GBQ5_K_Mfits2 tok/s––
NVIDIA RTX PRO 5000 Blackwell 72GBQ4_K_Moffload4 tok/s$20,6500.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).

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

More hardware for local AI