← All open-weight models

Microsoft · General language

Phi-3-mini-4k-instruct

The canonical tiny Phi for phones and NPUs (also shipped as GGUF and ONNX DirectML/CUDA/CPU builds); pick it only for offline deployment where the 4K window is fine.

Open weights · Permissive (Apache, MIT, OpenMDW) · Data checked September 6, 2026 · Not a hands-on evaluation

Model ID Phi-3-mini-4k-instruct

Parameters
3.8B
Architecture
Not recorded
Context window
4,096 tokensMaximum input
Max output
4,096 tokensPer response
Input price
$0.13 per 1M tokens
Output price
$0.52 per 1M tokens
Cached input
Not published
Blended price
$0.2275 per 1M tokens3:1 input to output
Knowledge cutoff
2023-10
Released
2024-04-22
Status
deprecated
Size band
Up to 4B

License and openness

Phi-3-mini-4k-instruct is released under the MIT. This is a permissive license. It generally allows use, modification and redistribution, including commercial use, subject to attribution and notice requirements. License terms can change between versions; confirm the text published with the weights you download.

Capabilities

Input modalitiestext
Output modalitiestext

What it is for

At a three-to-one input-to-output ratio, Phi-3-mini-4k-instruct costs $0.23 per million tokens blended. A workload of one million input and 330,000 output tokens per day would run about $9.05 per month at list price, before caching or batch discounts.

Cost at list price

Input$0.13 per 1M tokens
Output$0.52 per 1M tokens
Cached inputNot published
Blended, 3:1$0.2275 per 1M tokens
Estimate a workload across all models ↗

Sources

Sources checked September 6, 2026. Specifications and prices change without notice; confirm against the provider before you commit.

Other open-weight models from Microsoft

See all 23 from Microsoft ↗

Browse all open-weight models ↗