AGENTKERNEL
  1. Home
  2. All models
  3. Phi 4

Phi 4: price, performance and context

Open Phi 4 by Microsoft costs $0.07 per 1M input and $0.14 per 1M output tokens, handles up to 16.4K tokens in one request (≈ 49 pages of text) and scores 5.9 points on the AgentKernel performance index, rank 200 of 212.

Privacy: zero data retention with one provider, not in the EU. Availability over the last 24 h: 100%.

Updated Oct 09, 2026, 16:49 UTC · microsoft/phi-4

Open in the interactive comparison

Key facts

Licence
Open weights: free to download and self-host
Input / 1M tokens
$0.07
Output / 1M tokens
$0.14
Context window
16.4K tokens
Max. output
14.7K tokens
Performance index
5.9 points · rank 200 of 212
Coding index
n/a
Agentic index
n/a
Cost at your usage
$0.105 / month
Knowledge cutoff
Jun 2024
In the catalog since
Jan 10, 2025
Capabilities
Text

What do you get for $10.00?

Rules of thumb from the cost calculator, base rates without caching or taxes.

TaskCost per taskFor $10.00
Chat repliesA question with a short history, a detailed answer$0.00110,000
Email draftsBullet points in, a finished email out$0.00136,000
Document summariesRead 10 pages, write a one-page summary$0.0033,000
Code reviewsReview and comment on 500 lines of code$0.00119,000
Book analysesAnalyse a 300-page book in one go–does not fit the context

Cheaper with similar performance

ModelLicencePerformanceYour cost / month
Ling 3.1 FlashinclusionAIProprietary41.1$0.00
Ling 3.0 Flash VLinclusionAIOpen24.6$0.036
Ling 3.0 FlashinclusionAIOpen20.1$0.037

Stronger models

ModelLicencePerformanceYour cost / month
Ministral 3 14B 2512MistralOpen6$0.25
Reka Flash 3RekaaiOpen6.4$0.15
SabaMistralProprietary6.5$0.35