P

Phi 4

Phiv4Current
byMicrosoft(enterprise)
Released January 10, 2025
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

Efficiency
M
Microsoftenterprise
2 Models
View full profile

AI Models by Microsoft

Large language models from the same organization.

ModelContext WindowPrice (In / Out per M)
WizardLM-2 8x22BCurrent66K$0.62 / $0.62