P
Context16.4K tokens
Price (In / Out)$0.07/M / $0.14/M
CategoryLarge Language Model
Max Output16.4K tokens
About Phi 4
Phi 4 is a large language model from Microsoft. Supports up to 16,384 token context window. Available from $0.07/M input tokens.
Capabilities
textcode
Input Modalities
text
Output Modalities
text
Technical Details
- API Identifier
- microsoft/phi-4
- Category
- Large Language Model
- Context Window
- 16,384 tokens
- Max Output Tokens
- 16,384 tokens
Tags
budget-friendly
Pricing
Token pricing for Phi 4 API usage.
Input Tokens
$0.07/M
per million tokens
Output Tokens
$0.14/M
per million tokens
Pricing Calculator
Input cost$0.07
Output cost$0.07
Estimated monthly cost$0.14
Competing Models
Same pricing tier — direct alternatives to Phi 4
$0.13/M / $0.40/MCompare
$0.07/M / $0.28/MCompare
$0.03/M / $0.12/MCompare
$0.20/M / $0.60/MCompare
$0.10/M / $0.30/MCompare
$0.15/M / $0.60/MCompare
$0.02/M / $0.11/MCompare
$0.14/M / $0.57/MCompare
$0.10/M / $0.30/MCompare
$0.09/M / $0.45/MCompare
$0.07/M / $0.28/MCompare
$0.04/M / $0.15/MCompare
$0.10/M / $0.20/MCompare
$0.15/M / $0.50/MCompare
$0.04/M / $0.15/MCompare
$0.30/M / $0.30/MCompare
$0.09/M / $0.29/MCompare
$0.48/M / $0.03/MCompare
$0.05/M / $0.20/MCompare
$0.04/M / $0.14/MCompare
$0.15/M / $0.60/MCompare
M
AI Models by Microsoft
Large language models from the same organization.
| Model | Context Window | Price (In / Out per M) |
|---|---|---|
| WizardLM-2 8x22BCurrent | 66K | $0.62 / $0.62 |