phi-4 vs phi-4-gguf
phi-4-gguf needs about 25 GB less GPU memory than phi-4 (12 GB vs 37 GB). Cheapest way to run them today: phi-4 from $0.52 per hour on Q RTX 8000, phi-4-gguf from $0.13 per hour on RTX 2060.
| phi-4 | phi-4-gguf | |
|---|---|---|
| Developer | microsoft | microsoft |
| Parameters | 15B | 15B |
| Weights | BF16 | GGUF |
| License | mit | mit |
| GPU memory needed | ≈ 37 GB | ≈ 12 GB |
| Memory at 4-bit | ≈ 12 GB | — |
| Cheapest GPU that fits | Q RTX 8000 · $0.52 | RTX 2060 · $0.13 |
| Speed (est.) | ≈ 13 tok/s · $11.44/1M | ≈ 21 tok/s · $1.70/1M |
| Downloads | 169,459 | 15,287 |
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, phi-4 or phi-4-gguf?
- phi-4-gguf needs about 25 GB less GPU memory than phi-4 (12 GB vs 37 GB).
- Which is cheaper to run, phi-4 or phi-4-gguf?
- Cheapest way to run them today: phi-4 from $0.52 per hour on Q RTX 8000, phi-4-gguf from $0.13 per hour on RTX 2060.