1
42 GB
Memory for one long chat with Llama 3 70B
A single 128K-token conversation with Llama 3 70B carries 42 GB of KV cache (the model's notes on every past token). That is half an 80 GB H100 GPU.
How we got this number
320 KiB per token × 128,000 tokens ≈ 42 GB. At 8K tokens the same chat needs 2.6 GB; at 32K, 10.5 GB.
