Meta-Llama-3.1-8B-Instruct-4bit vs Meta-Llama-3.1-8B-Instruct-8bit
Meta-Llama-3.1-8B-Instruct-4bit and Meta-Llama-3.1-8B-Instruct-8bit need about the same GPU memory (21 GB). Cheapest way to run them today: Meta-Llama-3.1-8B-Instruct-4bit from $0.47 per hour on RTX PRO 4000, Meta-Llama-3.1-8B-Instruct-8bit from $0.47 per hour on RTX PRO 4000.
| Meta-Llama-3.1-8B-Instruct-4bit | Meta-Llama-3.1-8B-Instruct-8bit | |
|---|---|---|
| Developer | mlx-community | mlx-community |
| Parameters | 8B | 8B |
| Weights | U32 | U32 |
| License | llama3.1 | llama3.1 |
| GPU memory needed | ≈ 21 GB | ≈ 21 GB |
| Memory at 4-bit | ≈ 7 GB | ≈ 7 GB |
| Cheapest GPU that fits | RTX PRO 4000 · $0.47 | RTX PRO 4000 · $0.47 |
| Speed (est.) | ≈ 23 tok/s · $5.66/1M | ≈ 23 tok/s · $5.66/1M |
| Downloads | 6,207 | 3,428 |
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.1-8B-Instruct-4bit or Meta-Llama-3.1-8B-Instruct-8bit?
- Meta-Llama-3.1-8B-Instruct-4bit and Meta-Llama-3.1-8B-Instruct-8bit need about the same GPU memory (21 GB).
- Which is cheaper to run, Meta-Llama-3.1-8B-Instruct-4bit or Meta-Llama-3.1-8B-Instruct-8bit?
- Cheapest way to run them today: Meta-Llama-3.1-8B-Instruct-4bit from $0.47 per hour on RTX PRO 4000, Meta-Llama-3.1-8B-Instruct-8bit from $0.47 per hour on RTX PRO 4000.