This model is deprecated. We only continue performance benchmarking for the default 10k input token workload. Results for other workloads are historical and no longer updated.

OpenAI has launched a newer model, GPT-5 mini (medium). We suggest considering it instead.

For more information, see comparison of GPT-5 mini (medium) to other models and API provider benchmarks for GPT-5 mini (medium).

Proprietary model

Released April 2025

GPT-4.1 mini API Provider Benchmarking & Analysis

Model Comparison

This analysis is intended to support you in choosing the best API provider of GPT-4.1 mini for your use-case.

Fastest

#1
AzureAzure
136.9 t/s
#2
OpenAIOpenAI
123.5 t/s

Output speed

Total 2 providers

Lowest Latency

#1
OpenAIOpenAI
0.84 s
#2
AzureAzure
1.25 s

Time to first token

Total 2 providers

Lowest Price

#1
OpenAIOpenAI
$0.31
#2
AzureAzure
$0.31

Blended price (per 1M tokens)

Total 2 providers

GPT-4.1 mini is available through 2 API providers, each offering different performance characteristics and pricing. Below is a comparison of the key metrics across providers.

  • For output speed, the top providers are Azure (136.9 t/s) and OpenAI (123.5 t/s).
  • For latency, OpenAI (0.84s) and Azure (1.25s) offer the lowest time to first token.
  • For pricing, OpenAI (0.31) and Azure (0.31) offer the lowest blended prices per 1M tokens.
  • OpenAI offers both the lowest latency and best pricing, making it attractive for cost-conscious applications. Azure is the fastest option for throughput-intensive workloads.

Highlights

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

Pricing

Pricing: Cache Hit, Input, and Output

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

Pricing: Blended Price

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

Pricing: Cache Discount

1 - (cache hit price / input price) · Higher is better

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

Speed

Measured by Output Speed (tokens per second)

Output Speed: GPT-4.1 mini

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
Pareto line

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

OpenAI logoOpenAI
1M
Proprietary
--
124
0.84
4.89
--
Microsoft Azure logoMicrosoft Azure
1M
Proprietary
--
137
1.25
4.90
--

Frequently Asked Questions

Common questions about GPT-4.1 mini providers