This model is 18 months old. The same company has since released something newer: MAI Code 1.1 Flash (2026-08-12). The details below are still accurate for this model — it just is not what we would recommend today.

Phi-4-mini

Microsoft🇺🇸 United States
active

Compact multimodal Phi model optimized for mobile and edge deployment.

Context window128K tokens
Input / 1M tokens$0.07
Output / 1M tokens$0.07

Version History

phi-4-minimajor

Phi-4-mini adds vision and long context to the Phi-4 family. Optimized for edge and on-device scenarios. Apache 2.0 license.

Benchmark Scores

Full leaderboard →
23.5%
Hallucination (Summarization)