corehu

OPEN MODELS

Phi-3-mini-4k-instruct-gptq-4bit vs Phi-3-mini-128k-instruct

Phi-3-mini-4k-instruct-gptq-4bit and Phi-3-mini-128k-instruct need about the same GPU memory (11 GB). Cheapest way to run them today: Phi-3-mini-4k-instruct-gptq-4bit from $0.13 per hour on RTX 3060, Phi-3-mini-128k-instruct from $0.13 per hour on RTX 3060.

Phi-3-mini-4k-instruct-gptq-4bitPhi-3-mini-128k-instruct
Developerkaitchupmicrosoft
Parameters3.8B3.8B
WeightsI32BF16
License—mit
GPU memory needed≈ 11 GB≈ 11 GB
Memory at 4-bit≈ 4 GB≈ 4 GB
Cheapest GPU that fitsRTX 3060 · $0.13RTX 3060 · $0.13
Speed (est.)≈ 29 tok/s · $1.24/1M≈ 29 tok/s · $1.24/1M
Downloads3,086210,883

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-gptq-4bit or Phi-3-mini-128k-instruct?
Phi-3-mini-4k-instruct-gptq-4bit and Phi-3-mini-128k-instruct need about the same GPU memory (11 GB).
Which is cheaper to run, Phi-3-mini-4k-instruct-gptq-4bit or Phi-3-mini-128k-instruct?
Cheapest way to run them today: Phi-3-mini-4k-instruct-gptq-4bit from $0.13 per hour on RTX 3060, Phi-3-mini-128k-instruct from $0.13 per hour on RTX 3060.