All modelsCalculate what your real prompts cost on Phi 4
Phi 4
Microsoft model, released 10 Jan 2025.
$0.07
per 1M input tokens
$0.14
per 1M output tokens
—
per 1M cached-read tokens
Price history
Price stable since we started tracking (7 Jul 2026). History will chart here as soon as it moves.
Specifications
- Lab
- Microsoft
- Released
- 10 Jan 2025
- Context window
- 16k tokens
- Max output
- 16k tokens
- Input modalities
- text
- Output modalities
- text
- Knowledge cutoff
- 2024-06-30
- Open source
- No
Frequently asked questions
How much does Phi 4 cost?
Phi 4 costs $0.07 per 1M input tokens and $0.14 per 1M output tokens (list price, updated every 6 hours).
What is Phi 4's context window?
Phi 4 supports a 16k-token context window with up to 16k output tokens.