Phi-4 Mini
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.0400 per million input tokens and $0.1600 per million output tokens (blended $0.0760/M), with a 128,000-token context window.
RatesUSD per million tokens. Blend is 70% input, 30% output, our calculation.
Hand-maintained from Microsoft's published pricing; no check date on record.
- Edge / consumer-GPU friendly
- Open weights (MIT)
- Strong math for 4B
- On-device reasoning
- Cheap STEM tutoring
Benchmarks
More from Microsoft
See all 8 →Frequently asked questions
How much does Phi-4 Mini cost?
Phi-4 Mini costs $0.0400 per million input tokens and $0.1600 per million output tokens, for a blended reference rate of $0.0760 per million tokens.
What is Phi-4 Mini's context window?
Phi-4 Mini supports up to 128,000 tokens of context in a single request.
What is Phi-4 Mini best for?
Phi-4 Mini is well suited to Edge / consumer-GPU friendly, Open weights (MIT) and Strong math for 4B.
Who makes Phi-4 Mini?
Phi-4 Mini is developed and served by Microsoft. It was released in Feb 2025.
