corehu

OPEN MODELS

Phi-3-mini-4k-instruct vs Phi-3.5-mini-instruct-bnb-4bit

Phi-3.5-mini-instruct-bnb-4bit needs about 5 GB less GPU memory than Phi-3-mini-4k-instruct (6 GB vs 11 GB). Cheapest way to run them today: Phi-3-mini-4k-instruct from $0.14 per hour on RTX 2060, Phi-3.5-mini-instruct-bnb-4bit from $0.13 per hour on GTX 1070.

Phi-3-mini-4k-instructPhi-3.5-mini-instruct-bnb-4bit
Developermicrosoftunsloth
Parameters3.8B3.8B
WeightsBF16U8
Licensemitmit
GPU memory needed≈ 11 GB≈ 6 GB
Memory at 4-bit≈ 4 GB≈ 4 GB
Cheapest GPU that fitsRTX 2060 · $0.14GTX 1070 · $0.13
Speed (est.)≈ 24 tok/s · $1.59/1M≈ 35 tok/s · $1.02/1M
Downloads328,9524,004

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-4k-instruct or Phi-3.5-mini-instruct-bnb-4bit?
Phi-3.5-mini-instruct-bnb-4bit needs about 5 GB less GPU memory than Phi-3-mini-4k-instruct (6 GB vs 11 GB).
Which is cheaper to run, Phi-3-mini-4k-instruct or Phi-3.5-mini-instruct-bnb-4bit?
Cheapest way to run them today: Phi-3-mini-4k-instruct from $0.14 per hour on RTX 2060, Phi-3.5-mini-instruct-bnb-4bit from $0.13 per hour on GTX 1070.