Phi-3-mini-128k-instruct vs Phi-3-mini-4k-instruct-GGUF
Phi-3-mini-4k-instruct-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.14 per hour on RTX 2060, Phi-3-mini-4k-instruct-GGUF from $0.07 per hour on Quadro P2000.
| Phi-3-mini-128k-instruct | Phi-3-mini-4k-instruct-GGUF | |
|---|---|---|
| Developer | microsoft | second-state |
| 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.14 | Quadro P2000 · $0.07 |
| Speed (est.) | ≈ 24 tok/s · $1.59/1M | ≈ 36 tok/s · $0.54/1M |
| Downloads | 210,883 | 2,535 |
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-GGUF?
- Phi-3-mini-4k-instruct-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-GGUF?
- Cheapest way to run them today: Phi-3-mini-128k-instruct from $0.14 per hour on RTX 2060, Phi-3-mini-4k-instruct-GGUF from $0.07 per hour on Quadro P2000.