Microsoft: Phi 4 (microsoft/phi-4) costs $0.07 per 1M prompt tokens and $0.14 per 1M completion tokens, has a 16,384-token context window, and supports structured outputs and response format. Data updated 2026-10-30.
- Prompt price
- $0.07 / 1M tokens
- Completion price
- $0.14 / 1M tokens
- Context
- 16,384 tokens
- Input modalities
- text
- Output modalities
- text
- Tokenizer
- Other
- Instruct type
- —
- Knowledge cutoff
- 2024-06-30
- Hugging Face
- microsoft/phi-4
Last price change: 2026-06-24
[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...