Qwen1.5-4B vs Phi-4-mini-instruct-bnb-4bit
Phi-4-mini-instruct-bnb-4bit needs about 5 GB less GPU memory than Qwen1.5-4B (6 GB vs 11 GB). Cheapest way to run them today: Qwen1.5-4B from $0.15 per hour on RTX 3060, Phi-4-mini-instruct-bnb-4bit from $0.13 per hour on GTX 1070.
| Qwen1.5-4B | Phi-4-mini-instruct-bnb-4bit | |
|---|---|---|
| Developer | Qwen | unsloth |
| Parameters | 4B | 3.9B |
| Weights | BF16 | U8 |
| License | — | mit |
| GPU memory needed | ≈ 11 GB | ≈ 6 GB |
| Memory at 4-bit | ≈ 4 GB | ≈ 4 GB |
| Cheapest GPU that fits | RTX 3060 · $0.15 | GTX 1070 · $0.13 |
| Speed (est.) | ≈ 28 tok/s · $1.48/1M | ≈ 34 tok/s · $1.05/1M |
| Downloads | 10,757 | 2,218 |
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, Qwen1.5-4B or Phi-4-mini-instruct-bnb-4bit?
- Phi-4-mini-instruct-bnb-4bit needs about 5 GB less GPU memory than Qwen1.5-4B (6 GB vs 11 GB).
- Which is cheaper to run, Qwen1.5-4B or Phi-4-mini-instruct-bnb-4bit?
- Cheapest way to run them today: Qwen1.5-4B from $0.15 per hour on RTX 3060, Phi-4-mini-instruct-bnb-4bit from $0.13 per hour on GTX 1070.