corehu

OPEN MODELS

Phi-3-small-128k-instruct vs Phi-3-small-8k-instruct

Phi-3-small-128k-instruct and Phi-3-small-8k-instruct need about the same GPU memory (19 GB). Cheapest way to run them today: Phi-3-small-128k-instruct from $0.27 per hour on RTX 3090, Phi-3-small-8k-instruct from $0.27 per hour on RTX 3090.

Phi-3-small-128k-instructPhi-3-small-8k-instruct
Developermicrosoftmicrosoft
Parameters7.4B7.4B
WeightsBF16BF16
Licensemitmit
GPU memory needed≈ 19 GB≈ 19 GB
Memory at 4-bit≈ 7 GB≈ 7 GB
Cheapest GPU that fitsRTX 3090 · $0.27RTX 3090 · $0.27
Speed (est.)≈ 38 tok/s · $1.97/1M≈ 38 tok/s · $1.97/1M
Downloads2,0218,263

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-small-128k-instruct or Phi-3-small-8k-instruct?
Phi-3-small-128k-instruct and Phi-3-small-8k-instruct need about the same GPU memory (19 GB).
Which is cheaper to run, Phi-3-small-128k-instruct or Phi-3-small-8k-instruct?
Cheapest way to run them today: Phi-3-small-128k-instruct from $0.27 per hour on RTX 3090, Phi-3-small-8k-instruct from $0.27 per hour on RTX 3090.