Phi-4: Intelligence, Performance & Price Analysis
Analysis of Microsoft Azure's Phi-4 and comparison to other AI models across key metrics including quality, price, performance (tokens per second & time to first token), context window & more. Click on any model to compare API providers for that model. For more details including relating to our methodology, see our FAQs.
Comparison Summary
Intelligence:
Phi-4 is of lower intelligence compared to average, with Artificial Analysis Intelligence Index of 25.
Price:Phi-4 is cheaper compared to average with a price of $0.22 per 1M Tokens (blended 3:1).
Phi-4 Input token price: $0.13, Output token price: $0.50 per 1M Tokens.
Speed:Phi-4 Input token price: $0.13, Output token price: $0.50 per 1M Tokens.
Phi-4 is slower compared to average, with a output speed of 34.2 tokens per second.
Latency:Phi-4 has a lower latency compared to average, taking 0.45s to receive the first token (TTFT).
Context Window:Phi-4 has a smaller context windows than average, with a context window of 16k tokens.
Highlights
Intelligence
Artificial Analysis Intelligence Index; Higher is better
Estimate (independent evaluation forthcoming)
Speed
Output Tokens per Second; Higher is better
Price
USD per 1M Tokens; Lower is better
Parallel Queries:
Prompt Length:
Phi-4 Model Details
Comparisons to Phi-4
Phi-4
gpt-oss-120B (high)
o3
GPT-4.1
GPT-5 (high)
GPT-5 (minimal)
gpt-oss-20B (high)
Llama 4 Maverick
Gemini 2.5 Flash
Gemini 2.5 Pro
Claude 4 Sonnet
Claude 4.1 Opus
Mistral Medium 3.1
DeepSeek V3.1
DeepSeek V3.1
DeepSeek R1 0528
Grok 4
Grok Code Fast 1
Solar Pro 2
Llama Nemotron Super 49B v1.5
Kimi K2 0905
EXAONE 4.0 32B
GLM-4.5
Qwen3 235B 2507
Further details