corehu

OPEN MODELS

Phi-3-medium-128k-instruct vs Phi-3-medium-4k-instruct

Phi-3-medium-128k-instruct and Phi-3-medium-4k-instruct need about the same GPU memory (35 GB). Cheapest way to run them today: Phi-3-medium-128k-instruct from $0.52 per hour on Q RTX 8000, Phi-3-medium-4k-instruct from $0.52 per hour on Q RTX 8000.

Phi-3-medium-128k-instructPhi-3-medium-4k-instruct
Developermicrosoftmicrosoft
Parameters14B14B
WeightsBF16BF16
Licensemitmit
GPU memory needed≈ 35 GB≈ 35 GB
Memory at 4-bit≈ 12 GB≈ 12 GB
Cheapest GPU that fitsQ RTX 8000 · $0.52Q RTX 8000 · $0.52
Speed (est.)≈ 13 tok/s · $10.89/1M≈ 13 tok/s · $10.89/1M
Downloads7,98224,751

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