granite-switch-4.1-8b vs qwen2.5-coder-32b-bitnet-1.58b
qwen2.5-coder-32b-bitnet-1.58b needs about 11 GB less GPU memory than granite-switch-4.1-8b (12 GB vs 23 GB). Cheapest way to run them today: granite-switch-4.1-8b from $0.27 per hour on Tesla P40, qwen2.5-coder-32b-bitnet-1.58b from $0.18 per hour on RTX 2060.
| granite-switch-4.1-8b | qwen2.5-coder-32b-bitnet-1.58b | |
|---|---|---|
| Developer | ibm-granite | tzervas |
| Parameters | 8.8B | 8.7B |
| Weights | BF16 | U8 |
| License | apache-2.0 | apache-2.0 |
| GPU memory needed | ≈ 23 GB | ≈ 12 GB |
| Memory at 4-bit | ≈ 8 GB | ≈ 8 GB |
| Cheapest GPU that fits | Tesla P40 · $0.27 | RTX 2060 · $0.18 |
| Speed (est.) | ≈ 11 tok/s · $6.79/1M | ≈ 22 tok/s · $2.32/1M |
| Downloads | 5,356 | 7,422 |
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, granite-switch-4.1-8b or qwen2.5-coder-32b-bitnet-1.58b?
- qwen2.5-coder-32b-bitnet-1.58b needs about 11 GB less GPU memory than granite-switch-4.1-8b (12 GB vs 23 GB).
- Which is cheaper to run, granite-switch-4.1-8b or qwen2.5-coder-32b-bitnet-1.58b?
- Cheapest way to run them today: granite-switch-4.1-8b from $0.27 per hour on Tesla P40, qwen2.5-coder-32b-bitnet-1.58b from $0.18 per hour on RTX 2060.