Phi-4 Mini Instruct API Pricing

Microsoft · released 2024-02-26

Also searched as: Phi 4 Mini Instruct pricing · 4 Mini Instruct price

Phi-4 Mini Instruct price

$0.075
input / 1M tokens
< 0.01¢ / 1K
$0.30
output / 1M tokens
0.030¢ / 1K
$0.131
blended / 1M tokens
0.013¢ / 1K

What it actually costs

WorkloadTokensCost
Short chat reply500 in / 300 out0.0127¢
RAG query4,000 in / 500 out0.045¢
Long document summary50,000 in / 1,000 out0.405¢
Code review of a 2k-line file30,000 in / 2,000 out0.285¢
1,000 chat replies/day for 30 days30,000 × (500 in / 300 out)$3.82

Cost = (input tokens ÷ 1,000,000 × $0.075) + (output tokens ÷ 1,000,000 × $0.30).

Benchmarks

6.3
Intelligence
#437 of 547
3.8
Coding
#189 of 195
6.7
Math
#221 of 249
47
Tokens/sec
0.33s
Time to first token

Similar intelligence, lower price

ModelIntelligenceBlended $/1M
Gemma 4 E4B (Reasoning)8.9$0.04
Llama 3.1 Instruct 8B6.9$0.043
Sarvam 30B (High)6.6$0.047
Granite 4.2 3B9.1$0.052
Mistral Small 36.7$0.058

Leaderboard neighbours

ModelIntelligenceBlended $/1M
Celeris-16.3$0.325
EXAONE 4.0 32B (Non-reasoning)6.3—
Grok-16.3—
Phi-4 Mini Instruct6.3$0.131
Qwen2 Instruct 72B6.3—
Gemini 1.5 Flash-8B6.2—
DeepHermes 3 - Mistral 24B Preview (Non-reasoning)6.1—

More from Microsoft

ModelIntelligenceBlended $/1M
Phi-45.9$0.219
Phi-3 Mini Instruct 3.8B5.8—
Phi-4 Multimodal Instruct5.8$0.14

Count tokens & estimate cost for Phi-4 Mini Instruct See Phi-4 Mini Instruct on the leaderboard

Source: Artificial Analysis · last synced 2026-10-15

FAQ

Who develops Phi-4 Mini Instruct?

Phi-4 Mini Instruct is developed by Microsoft, released 2024-02-26.

How much does Phi-4 Mini Instruct cost per million tokens?

Phi-4 Mini Instruct costs $0.075 per 1M input tokens and $0.30 per 1M output tokens ($0.131 blended), per Artificial Analysis's official pricing data.

What is the Phi-4 Mini Instruct API price?

The Phi-4 Mini Instruct API price is $0.075 per 1M input tokens and $0.30 per 1M output tokens ($0.131 per 1M blended).

How much does Phi-4 Mini Instruct cost for a typical request?

A short chat reply (500 in / 300 out tokens) costs about 0.0127¢ on Phi-4 Mini Instruct, at $0.075/1M input and $0.30/1M output.

Is Phi-4 Mini Instruct free?

Phi-4 Mini Instruct's official API list price is $0.075 per 1M input tokens and $0.30 per 1M output tokens. This site tracks list prices only, not free tiers or trial credits — check Microsoft's site for those.

How does Phi-4 Mini Instruct rank on benchmarks?

Phi-4 Mini Instruct scores 6.3 on the Artificial Analysis Intelligence Index, ranking #437 of 547 models we track.

Is there a cheaper model with similar intelligence to Phi-4 Mini Instruct?

Yes — Gemma 4 E4B (Reasoning) scores similar intelligence (8.9) at $0.04/1M blended, versus $0.131/1M for Phi-4 Mini Instruct.

Where does this data come from?

Pricing and benchmark data for Phi-4 Mini Instruct comes from Artificial Analysis (artificialanalysis.ai), synced daily. Last synced 2026-10-15.