Microsoft: Phi 4microsoft
Bottom Line
Microsoft: Phi 4: $0.07/1M input, $0.14/1M output, 16K context. [Microsoft Research](/microsoft) Phi-4 is designed to perform well in complex reasoning tasks and can operate efficiently in situations with limited memory or where quick responses are needed. At 14 billion...
API Pricing (per 1M tokens)
| Input | $0.07 |
| Output | $0.14 |
| Cache Read | — |
| Cache Write | — |
| Blended (3:1) | $0.09 |
Specs & Performance
| Context Length | 16K |
| Max Output | 15K |
| Intelligence | — |
| Coding | — |
| Math | — |
| Speed | — |
| TTFT | — |
| CPS Grade | — |
| Input / Output Modalities | text → text |
More from microsoft
Looking for cheaper alternatives?
Find the cheapest model by task, or compare two models head-to-head.
FAQ
How much does the Microsoft: Phi 4 API cost?
Microsoft: Phi 4 costs $0.07/1M input tokens and $0.14/1M output tokens. Blended cost at a 3:1 ratio is about $0.09/1M tokens.
What is the context window of Microsoft: Phi 4?
Microsoft: Phi 4 supports a 16K token context window with up to 15K output tokens.
Is Microsoft: Phi 4 worth it?
Microsoft: Phi 4 has a CPS grade of — (score —), intelligence index —, coding index —. Use the compare page to benchmark against rivals.