corehu

OPEN MODELS

Llama-3.1-8B-Instruct vs Llama-3.1-Swallow-8B-Instruct-v0.3

Llama-3.1-8B-Instruct and Llama-3.1-Swallow-8B-Instruct-v0.3 need about the same GPU memory (21 GB). Cheapest way to run them today: Llama-3.1-8B-Instruct from $0.25 per hour on Tesla P40, Llama-3.1-Swallow-8B-Instruct-v0.3 from $0.25 per hour on Tesla P40.

Llama-3.1-8B-InstructLlama-3.1-Swallow-8B-Instruct-v0.3
Developermeta-llamatokyotech-llm
Parameters8B8B
WeightsBF16BF16
Licensellama3.1llama3.1
GPU memory needed≈ 21 GB≈ 21 GB
Memory at 4-bit≈ 7 GB≈ 7 GB
Cheapest GPU that fitsTesla P40 · $0.25Tesla P40 · $0.25
Speed (est.)≈ 10 tok/s · $6.87/1M≈ 10 tok/s · $6.87/1M
Downloads3,888,7675,417

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-Instruct or Llama-3.1-Swallow-8B-Instruct-v0.3?
Llama-3.1-8B-Instruct and Llama-3.1-Swallow-8B-Instruct-v0.3 need about the same GPU memory (21 GB).
Which is cheaper to run, Llama-3.1-8B-Instruct or Llama-3.1-Swallow-8B-Instruct-v0.3?
Cheapest way to run them today: Llama-3.1-8B-Instruct from $0.25 per hour on Tesla P40, Llama-3.1-Swallow-8B-Instruct-v0.3 from $0.25 per hour on Tesla P40.