Open weights model

Released February 2024

Phi-4 Mini Instruct API Provider Benchmarking & Analysis

Model Comparison

This analysis is intended to support you in choosing the best API provider of Phi-4 Mini Instruct for your use-case.

Fastest

#1
AzureAzure
44.9 t/s

Output speed

Total 1 provider

Lowest Latency

#1
AzureAzure
0.86 s

Time to first token

Total 1 provider

Lowest Price

#1
AzureAzure
$0.00

Blended price (per 1M tokens)

Total 1 provider

Phi-4 Mini is available through Azure.

Highlights

Output tokens per second · Higher is better
Seconds · Lower is better
USD per 1M tokens (blended) · Lower is better

Update: Default performance benchmarking workload has updated to 10k input tokens to better reflect production use cases. You can still select different workloads above.

Pricing

Pricing: Cache Hit, Input, and Output

Price (USD per M Tokens) · Lower is better · 10,000 input tokens
No data available

Pricing: Blended Price

Blended at 7:2:1 (cache-input-output) · USD per 1M tokens (blended) · Lower is better
No data available

Output Speed vs. Price

Blended at 7:2:1 (cache-input-output) · Output speed: output tokens per second · USD per 1M tokens (blended)
Most attractive quadrant
No data available

Speed

Measured by Output Speed (tokens per second)

Output Speed: Phi-4 Mini Instruct

Output speed: output tokens per second · 10,000 input tokens

Latency vs. Output Speed

Latency: seconds to first token received · Output speed: output tokens per second · 10,000 input tokens
Most attractive quadrant

Latency

Measured by Time (seconds) to First Token

Time to First Token

Seconds to first token received · Lower is better · 10,000 input tokens

End-to-End Response Time

Seconds to output 500 tokens, calculated based on time to first token, 'thinking' time for reasoning models, and output speed

End-to-End Response Time

Seconds to output 500 tokens, including reasoning model 'thinking' time · Lower is better · 10,000 input tokens

Key Comparison Metrics & API Features

Microsoft Azure logoMicrosoft Azure
128k
Open
--
45
0.86
12.00
--

Frequently Asked Questions

Common questions about Phi-4 Mini Instruct providers