PriceIndex

Models, measured side by side

GPT-4o mini vs Phi-4

Compare GPT-4o mini, Phi-4 by token pricing, context length, benchmark results, speed and tool support.

Monthly workload

Monthly cost breakdown

InputOutput

GPT-4o mini

$6.00 / mo

Phi-4

$2.10 / mo

Performance comparison

GPT-4o mini

6.7

Phi-4

5.9

Overview

Released
GPT-4o mini
2024-07
Phi-4
2024-12
Status
GPT-4o mini
Active
Phi-4
Active
Input formats
GPT-4o mini
textimagefile
Phi-4
text
Output formats
GPT-4o mini
text
Phi-4
text

Pricing & capacity

Input / 1M tokens
GPT-4o mini
$0.15
Phi-4
$0.07
Output / 1M tokens
GPT-4o mini
$0.60
Phi-4
$0.14
Cached input / 1M
GPT-4o mini
$0.07
Phi-4
Not listed
Monthly cost
GPT-4o mini
$6.00
Phi-4
$2.10
Context window
GPT-4o mini
128K
Phi-4
16K
Maximum output
GPT-4o mini
16K
Phi-4
15K

Benchmarks & performance

Arena Elo
GPT-4o mini
1,123
Phi-4
1,123
MMLU-Pro
GPT-4o mini
60.7%
Phi-4
60.7%
Intelligence Index
GPT-4o mini
6.7
Phi-4
5.9
GPQA
GPT-4o mini
42.6%
Phi-4
57.5%
Humanity’s Last Exam
GPT-4o mini
4.2%
Phi-4
3.8%
SciCode
GPT-4o mini
Not listed
Phi-4
Not listed

6 of 10

Tools & features

Function calling
GPT-4o mini
Supported
Phi-4
Not listed
Structured outputs
GPT-4o mini
Supported
Phi-4
Supported
JSON mode
GPT-4o mini
Supported
Phi-4
Supported
Reasoning
GPT-4o mini
Not listed
Phi-4
Not listed
Built-in web search
GPT-4o mini
Supported
Phi-4
Not listed
Log probabilities
GPT-4o mini
Supported
Phi-4
Not listed

6 of 9

API & availability

API identifier
GPT-4o mini
gpt-4o-mini
Phi-4
phi-4
API providers
GPT-4o mini
Azure, OpenAI, Azure
Phi-4
DeepInfra
Knowledge cutoff
GPT-4o mini
2023-10-31
Phi-4
2024-06-30
Prices checked
GPT-4o mini
Oct 8, 2026
Phi-4
Oct 8, 2026

About the models

GPT-4o mini

Low-cost multimodal GPT-4o variant.

Full pricing & details

Phi-4

14B small language model, great for edge and cheap tasks.

Full pricing & details

Comparison FAQ

GPT-4o mini: $0.15 input and $0.60 output per million tokens. Phi-4: $0.07 input and $0.14 output per million tokens. The cheaper choice depends on your input-to-output ratio; a model can have a lower input rate but a higher output rate.

Popular model comparisons