[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...
| Provider | microsoft |
|---|---|
| Input price | $0.070 / 1M tokens |
| Output price | $0.140 / 1M tokens |
| Context window | 16k tokens |
| Max output | 16k tokens |
| Modalities | text |
| Model ID | microsoft/phi-4 |
A 1,000-token prompt with a 500-token answer on Microsoft: Phi 4 costs roughly $0.00014. Use the OpenRouter cost calculator to price your own prompt across 400+ models, or the token counter to measure prompt length first.
PromNest stores your prompt library and lets you run any prompt on Microsoft: Phi 4 with your own OpenRouter key — including side-by-side comparison with other models. Browse 1,000+ ready-made prompt templates to start.