Skip to content
LLMs
OpenAI logo

OpenAI: GPT-4.1 Mini

by OpenAI

OpenAI: GPT-4.1 Mini is a large language model from OpenAI. It costs $0.400 per million input tokens and $1.60 per million output tokens. Its context window is 1.0M tokens.

Tool callingStructured outputPrompt cachingBatch tierimage inputfile input
Input / 1M tokens
$0.400
Output / 1M tokens
$1.60
Cached input / 1M
$0.100

On repeated prefixes

Context window
1.0M

tokens

This model also charges $0.01 per search request

That is $10.00 per 1,000 requests, billed on top of the token prices above. On a typical 1,000-in / 500-out exchange the tokens cost $0.0012, so the search fee is 8.3× the token cost. Per-token rankings elsewhere ignore this entirely.

Who serves it cheapest

2 hosts serve GPT-4.1 Mini. Same weights, same API - the price difference is pure margin and routing.

Providers serving OpenAI: GPT-4.1 Mini, cheapest first
ProviderInput / 1MOutput / 1MContextThroughputUptime 24h
AzureCheapest$0.400$1.601.0M-99.9%
OpenAI$0.400$1.601.0M-99.6%

The spread between Azure and OpenAI is about the same for identical weights. Quantization and context limits differ, so check both columns before switching.

Benchmarks

Independent scores published alongside the catalogue.

Coding index
20.2

About GPT-4.1 Mini

GPT-4.1 Mini is a mid-sized model delivering performance competitive with GPT-4o at substantially lower latency and cost. It retains a 1 million token context window and scores 45.1% on hard...

Specifications

OpenAI: GPT-4.1 Mini specifications
Model IDopenai/gpt-4.1-mini
ProviderOpenAI
Context window1.0M tokens
Max output33K tokens
Input modalitiesimage, text, file
Output modalitiestext
Knowledge cutoff2024-06-30
Open weightsNo
ReleasedApril 14, 2025

Cheaper alternatives

Models that cost less than GPT-4.1 Mini while keeping at least half its context window and every input modality it supports.

Frequently asked

How much does OpenAI: GPT-4.1 Mini cost?

$0.400 per million input tokens and $1.60 per million output tokens. Cached input reads cost $0.100 per million tokens.

What is the context window of OpenAI: GPT-4.1 Mini?

1.0M tokens, with up to 33K tokens of output per request.

Does OpenAI: GPT-4.1 Mini have extra fees beyond per-token pricing?

Yes. OpenAI: GPT-4.1 Mini charges $0.01 per search request - $10.00 per 1,000 requests - on top of $0.400 per million input tokens and $1.60 per million output tokens. On a typical 1,000-input / 500-output exchange the search fee alone is 8.3× the token cost.

Which provider serves OpenAI: GPT-4.1 Mini cheapest?

Azure at $0.400 per million input tokens - about the same cheaper than OpenAI, the most expensive of the 2 hosts serving it.

Confirm against the source: OpenAI official pricing.