Compact Phi-4 — 4B parameters tuned for cheap reasoning on commodity hardware.
Phi-4 Mini is a reasoning AI model from Microsoft. It costs $0.040 per million input tokens and $0.160 per million output tokens (blended $0.076/M), with a 128K-token context window.
Phi-4 Mini costs $0.040 per million input tokens and $0.160 per million output tokens, for a blended reference rate of $0.076 per million tokens.
Phi-4 Mini supports up to 128K tokens of context (128,000 tokens).
Phi-4 Mini is well suited to Edge / consumer-GPU friendly, Open weights (MIT) and Strong math for 4B.
Phi-4 Mini is developed and served by Microsoft. It was released in Feb 2025.