Llama-3.1-8B-Instruct vs Qwen2.5-Coder-7B-Instruct
Qwen2.5-Coder-7B-Instruct needs about 1 GB less GPU memory than Llama-3.1-8B-Instruct (20 GB vs 21 GB). Cheapest way to run them today: Llama-3.1-8B-Instruct from $0.27 per hour on RTX 3090, Qwen2.5-Coder-7B-Instruct from $0.27 per hour on RTX 3090.
| Llama-3.1-8B-Instruct | Qwen2.5-Coder-7B-Instruct | |
|---|---|---|
| Developer | meta-llama | Qwen |
| Parameters | 8B | 7.6B |
| Weights | BF16 | BF16 |
| License | llama3.1 | apache-2.0 |
| GPU memory needed | ≈ 21 GB | ≈ 20 GB |
| Memory at 4-bit | ≈ 7 GB | ≈ 7 GB |
| Cheapest GPU that fits | RTX 3090 · $0.27 | RTX 3090 · $0.27 |
| Speed (est.) | ≈ 35 tok/s · $2.14/1M | ≈ 37 tok/s · $2.03/1M |
| Downloads | 3,888,767 | 1,670,199 |
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 Qwen2.5-Coder-7B-Instruct?
- Qwen2.5-Coder-7B-Instruct needs about 1 GB less GPU memory than Llama-3.1-8B-Instruct (20 GB vs 21 GB).
- Which is cheaper to run, Llama-3.1-8B-Instruct or Qwen2.5-Coder-7B-Instruct?
- Cheapest way to run them today: Llama-3.1-8B-Instruct from $0.27 per hour on RTX 3090, Qwen2.5-Coder-7B-Instruct from $0.27 per hour on RTX 3090.