corehu

OPEN MODELS

Meta-Llama-3-8B-Instruct vs Llama-3.1-8B-4bit

Llama-3.1-8B-4bit needs about 10 GB less GPU memory than Meta-Llama-3-8B-Instruct (11 GB vs 21 GB). Cheapest way to run them today: Meta-Llama-3-8B-Instruct from $0.23 per hour on RTX 2080 Ti, Llama-3.1-8B-4bit from $0.17 per hour on RTX 3060.

Meta-Llama-3-8B-InstructLlama-3.1-8B-4bit
Developermeta-llamaNynaeveProj
Parameters8B8B
WeightsBF16U8
Licensellama3—
GPU memory needed≈ 21 GB≈ 11 GB
Memory at 4-bit≈ 7 GB≈ 7 GB
Cheapest GPU that fitsRTX 2080 Ti · $0.23RTX 3060 · $0.17
Speed (est.)≈ 22 tok/s · $2.93/1M≈ 28 tok/s · $1.70/1M
Downloads454,0016,346

Memory figures are our estimates for inference; real use depends on resolution, batch size and context length. Speed is an estimate for one request at a time from the GPU's memory bandwidth; serving many requests at once raises total throughput and lowers the cost per token.

Questions

Which needs less GPU memory, Meta-Llama-3-8B-Instruct or Llama-3.1-8B-4bit?
Llama-3.1-8B-4bit needs about 10 GB less GPU memory than Meta-Llama-3-8B-Instruct (11 GB vs 21 GB).
Which is cheaper to run, Meta-Llama-3-8B-Instruct or Llama-3.1-8B-4bit?
Cheapest way to run them today: Meta-Llama-3-8B-Instruct from $0.23 per hour on RTX 2080 Ti, Llama-3.1-8B-4bit from $0.17 per hour on RTX 3060.