CodeLlama-34b-hf vs Qwen2.5-32B-Instruct-bnb-4bit
Qwen2.5-32B-Instruct-bnb-4bit needs about 40 GB less GPU memory than CodeLlama-34b-hf (42 GB vs 82 GB). Cheapest way to run them today: CodeLlama-34b-hf from $0.81 per hour on GB10, Qwen2.5-32B-Instruct-bnb-4bit from $0.52 per hour on Q RTX 8000.
| CodeLlama-34b-hf | Qwen2.5-32B-Instruct-bnb-4bit | |
|---|---|---|
| Developer | codellama | unsloth |
| Parameters | 34B | 34B |
| Weights | BF16 | U8 |
| License | llama2 | apache-2.0 |
| GPU memory needed | ≈ 82 GB | ≈ 42 GB |
| Memory at 4-bit | ≈ 26 GB | ≈ 26 GB |
| Cheapest GPU that fits | GB10 · $0.81 | Q RTX 8000 · $0.52 |
| Speed (est.) | ≈ 2.3 tok/s · $96.40/1M | ≈ 11 tok/s · $13.16/1M |
| Downloads | 2,281 | 51,548 |
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, CodeLlama-34b-hf or Qwen2.5-32B-Instruct-bnb-4bit?
- Qwen2.5-32B-Instruct-bnb-4bit needs about 40 GB less GPU memory than CodeLlama-34b-hf (42 GB vs 82 GB).
- Which is cheaper to run, CodeLlama-34b-hf or Qwen2.5-32B-Instruct-bnb-4bit?
- Cheapest way to run them today: CodeLlama-34b-hf from $0.81 per hour on GB10, Qwen2.5-32B-Instruct-bnb-4bit from $0.52 per hour on Q RTX 8000.