Phi-3-mini-128k-instruct vs Phi-3-mini-4k-instruct-iMat-GGUF
Phi-3-mini-4k-instruct-iMat-GGUF needs about 7 GB less GPU memory than Phi-3-mini-128k-instruct (4 GB vs 11 GB). Cheapest way to run them today: Phi-3-mini-128k-instruct from $0.11 per hour on RTX 2060, Phi-3-mini-4k-instruct-iMat-GGUF from $0.10 per hour on GTX 1070.
| Phi-3-mini-128k-instruct | Phi-3-mini-4k-instruct-iMat-GGUF | |
|---|---|---|
| Developer | microsoft | qwp4w3hyb |
| Parameters | 3.8B | 3.8B |
| Weights | BF16 | GGUF |
| License | mit | mit |
| GPU memory needed | ≈ 11 GB | ≈ 4 GB |
| Memory at 4-bit | ≈ 4 GB | — |
| Cheapest GPU that fits | RTX 2060 · $0.11 | GTX 1070 · $0.10 |
| Speed (est.) | ≈ 25 tok/s · $1.24/1M | ≈ 59 tok/s · $0.47/1M |
| Downloads | 178,713 | 3,248 |
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-3-mini-128k-instruct or Phi-3-mini-4k-instruct-iMat-GGUF?
- Phi-3-mini-4k-instruct-iMat-GGUF needs about 7 GB less GPU memory than Phi-3-mini-128k-instruct (4 GB vs 11 GB).
- Which is cheaper to run, Phi-3-mini-128k-instruct or Phi-3-mini-4k-instruct-iMat-GGUF?
- Cheapest way to run them today: Phi-3-mini-128k-instruct from $0.11 per hour on RTX 2060, Phi-3-mini-4k-instruct-iMat-GGUF from $0.10 per hour on GTX 1070.