OpenAI: GPT-4.1 Mini API pricing
Token pricing
| Model | Provider | Input / 1M | Output / 1M | Context | Modalities |
|---|---|---|---|---|---|
| OpenAI: GPT-4.1 Mini | OpenAI | $0.40 | $1.60 | 1,047,576 (1M) | image, text, filetext |
Capabilities
Context window
1,047,576 (1M)
Max output
32,768 (33K)
Input modalities
image, text, file
Output modalities
text
Supported parameters
max_completion_tokens
max_tokens
response_format
seed
structured_outputs
temperature
tool_choice
tools
top_p
Similar models
| Model | Input / 1M | Output / 1M | Context | Modalities |
|---|---|---|---|---|
| OpenAI: GPT-3.5 Turbo | $0.50 | $1.50 | 16,385 (16K) | texttext |
| OpenAI: GPT-5 Mini | $0.25 | $2.00 | 400,000 (400K) | text, image, filetext |
| OpenAI: GPT-5.1-Codex-Mini | $0.25 | $2.00 | 400,000 (400K) | image, texttext |
| OpenAI: GPT-5.4 Nano | $0.20 | $1.25 | 400,000 (400K) | file, image, texttext |
| OpenAI: GPT Audio Mini | $0.60 | $2.40 | 128,000 (128K) | text, audiotext, audio |
| OpenAI: GPT-4o-mini | $0.15 | $0.60 | 128,000 (128K) | text, image, filetext |
| OpenAI: GPT-4o-mini (2024-07-18) | $0.15 | $0.60 | 128,000 (128K) | text, image, filetext |
| OpenAI: GPT-4o-mini Search Preview | $0.15 | $0.60 | 128,000 (128K) | texttext |