Microsofts small but mighty language model. Designed for on-device and edge deployment. Punches well above its weight class on reasoning tasks.
Context Window
16K tokens
≈ 12K words
Input Price
$0.07
per 1M tokens
Output Price
$0.14
per 1M tokens
Released
December 2024
On-device inference, edge computing, mobile apps requiring local AI
API identifier
phi-4Compare Phi-4 side-by-side with any other model
Compare models →