corehu

OPEN MODELS

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-instructPhi-3-mini-4k-instruct-GGUF
Developermicrosoftsecond-state
Parameters3.8B3.8B
WeightsBF16GGUF
Licensemitmit
GPU memory needed≈ 11 GB≈ 4 GB
Memory at 4-bit≈ 4 GB—
Cheapest GPU that fitsRTX 2060 · $0.14Quadro P2000 · $0.07
Speed (est.)≈ 24 tok/s · $1.59/1M≈ 36 tok/s · $0.54/1M
Downloads210,8832,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.