OpenAI

GPT-5 Mini Pricing

API pricing for GPT-5 Mini by OpenAI. Input tokens cost $0.25/1M, output tokens cost $2/1M with 400K context window.

Last updated:

ReasoningToolsVision

Input Cost

$0.25

per 1M tokens

Output Cost

$2

per 1M tokens

Context Window

400K

tokens

Cost Calculator

Estimated Cost:

$0.00

Model Details

Provider OpenAI
Model ID gpt-5-mini
Context Window 400K tokens
Max Output 128000 tokens
Cache Read Cost $0.03/1M
Release Date 2025-08-07

Compare Alternatives

Model Input Output Context
GPT-5 Mini (this model) $0.25 $2 400K
GPT-5.1 Codex mini OpenAI $0.25 $2 400K
DeepSeek V3.1 Alibaba (China) $0.574 $1.721 131K
Qwen Math Plus Alibaba (China) $0.574 $1.721 4K
Qwen2.5 72B Instruct Alibaba (China) $0.574 $1.721 131K
Qwen2.5-Math 72B Instruct Alibaba (China) $0.574 $1.721 4K

Available from Resellers

GPT-5 Mini is also available through these resellers and gateways:

Reseller Model Input Output
Abacus GPT-4.1 Mini $0.4 $1.6
Abacus GPT-4o Mini $0.15 $0.6
Abacus GPT-5 Mini $0.25 $2
AIHubMix GPT-4.1 mini $0.4 $1.6
AIHubMix GPT-5-Mini $1.5 $6
AIHubMix GPT-5.1 Codex Mini $0.25 $2
Azure GPT-4.1 mini $0.4 $1.6
Azure GPT-4o mini $0.15 $0.6
Azure GPT-5 Mini $0.25 $2
Azure GPT-5.1 Codex Mini $0.25 $2
← Back to All Models