Back to Models

Microsoft Phi · open weights

Phi-3-mini-128K

3.8B params128K ctx

Family
Microsoft Phi
Lab
Microsoft Phi
Parameters
3.8B
Max context
128,000 tokens

Quick answer: what should I run it on?

Cheapest popular Mac

Mac Mini M4 32GB

$999 · runs it at FP32, full quality, largest size.

Cheapest popular GPU

AMD Radeon RX 7800 XT

$599 · runs it at FP16, full quality, largest size.

Estimated at a 4096-token context. New to quantization? Read the plain-words guide.

How much memory it needs

A quantization is the same model stored with fewer bits per number. Fewer bits use less memory but lose some output quality. Each card shows the estimated memory for Phi-3-mini-128K, including KV-cache headroom at a 4096-token context.

Hatched bars are estimates. For comparison, a 24 GB GPU has about 21.6 GB usable.

Fit on popular hardware at FP4

Each bar shows how much of a device's usable memory this model takes at FP4, the format most people download first. The tick marks the usable limit, and a bar that reaches past it means the model does not fit.

Every quantization × popular device

These verdicts are estimated at a 4096-token context. How fit is calculated

All hardware →
QuantizationMac Mini M4 32GBMac Studio M5 MaxMac Studio M5 UltraMacBook Pro M4MacBook Pro M4 MaxMacBook Pro M5 Pro 24GBMacBook Pro M5 Pro 64GBMacBook Pro M5 Max 36GBMacBook Pro M5
FP32✓ Runs✓ Runs✓ Runs◐ Partial offload✓ Runs◐ Partial offload✓ Runs✓ Runs◐ Partial offload
FP16✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs
BFLOAT16✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs
FP8✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs
INT8✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs
FP4✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs
INT4✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs
NF4✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs
INT2✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs

Not seeing your device? Check every device we track

Measured throughput

No one has submitted a measured benchmark for this model yet. The fit table above is an estimate.

Other Microsoft Phi models

Similar-sized models from other families