Home/Models/Phi-3 Mini 128K
Microsoft / Phi-3

Phi-3 Mini 128K

A compact long-context model suited to laptops, small GPUs, and low-cost endpoints.

3.8B parameters
ArchitectureDense transformer
Native context128K tokens
LicenseMIT
Q4 · 8K estimate7.1 GiB
Memory envelope

What changes the fit.

Weights establish the floor. Context, concurrent sequences, cache precision, and runtime overhead determine whether the deployment remains stable.

Efficient

4-bit · 8K

7.1 GiB

Useful starting point for local evaluation and cost-sensitive inference.

Quality-first

BF16 · 8K

12.3 GiB

Preserves original weight precision and establishes a conservative serving baseline.

Interactive plan

Tune Phi-3.

The worksheet starts with this model selected. Adjust context, precision, cache, and GPU count for your workload.

Deployment worksheetMODEL / GPU FIT
Calculated estimate
01
MicrosoftDense transformerDetails ↗
02
03

FP8 halves cache memory where supported.

Recommended VRAM
8.3 GiBper GPU × 1

Includes 15% operating headroom for the selected runtime profile.

Estimated allocation per GPU7.1 GiB each
Weights 2.1 GiBKV cache 3.0 GiBRuntime 2.0 GiB

Sample planning rates only—not live Flatkey quotes or availability.

Command template · vLLMvllm serve YOUR_COMPATIBLE_QUANTIZED_MODEL_ID --tensor-parallel-size 1 --max-model-len 8192 --quantization YOUR_MATCHING_BACKEND

4-bit is a memory assumption, not a checkpoint choice. Replace both placeholders with a compatible quantized artifact and its vLLM backend.