corehu

OPEN MODELS

Llama-3.1-8B vs Llama3-Med42-8B-GGUF

Llama3-Med42-8B-GGUF needs about 14 GB less GPU memory than Llama-3.1-8B (7 GB vs 21 GB). Cheapest way to run them today: Llama-3.1-8B from $0.25 per hour on Tesla P40, Llama3-Med42-8B-GGUF from $0.13 per hour on GTX 1070.

Llama-3.1-8BLlama3-Med42-8B-GGUF
Developermeta-llamaQuantFactory
Parameters8B8B
WeightsBF16GGUF
Licensellama3.1llama3
GPU memory needed≈ 21 GB≈ 7 GB
Memory at 4-bit≈ 7 GB—
Cheapest GPU that fitsTesla P40 · $0.25GTX 1070 · $0.13
Speed (est.)≈ 12 tok/s · $5.75/1M≈ 28 tok/s · $1.29/1M
Downloads421,1712,784

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, Llama-3.1-8B or Llama3-Med42-8B-GGUF?
Llama3-Med42-8B-GGUF needs about 14 GB less GPU memory than Llama-3.1-8B (7 GB vs 21 GB).
Which is cheaper to run, Llama-3.1-8B or Llama3-Med42-8B-GGUF?
Cheapest way to run them today: Llama-3.1-8B from $0.25 per hour on Tesla P40, Llama3-Med42-8B-GGUF from $0.13 per hour on GTX 1070.