OpenAI: GPT-4o-mini (2024-07-18) API pricing
Token pricing
| Model | Provider | Input / 1M | Output / 1M | Context | Modalities |
|---|---|---|---|---|---|
| OpenAI: GPT-4o-mini (2024-07-18) | OpenAI | $0.15 | $0.60 | 128,000 (128K) | text, image, filetext |
Capabilities
Context window
128,000 (128K)
Max output
16,384 (16K)
Input modalities
text, image, file
Output modalities
text
Supported parameters
frequency_penalty
logit_bias
logprobs
max_tokens
presence_penalty
response_format
seed
stop
structured_outputs
temperature
tool_choice
tools
top_logprobs
top_p
web_search_options
Similar models
| Model | Input / 1M | Output / 1M | Context | Modalities |
|---|---|---|---|---|
| OpenAI: GPT-4o-mini | $0.15 | $0.60 | 128,000 (128K) | text, image, filetext |
| OpenAI: GPT-4o-mini Search Preview | $0.15 | $0.60 | 128,000 (128K) | texttext |
| OpenAI: GPT-5.4 Nano | $0.20 | $1.25 | 400,000 (400K) | file, image, texttext |
| OpenAI: GPT-4.1 Nano | $0.10 | $0.40 | 1,047,576 (1M) | image, text, filetext |
| OpenAI: gpt-oss-safeguard-20b | $0.075 | $0.30 | 131,072 (131K) | texttext |
| OpenAI: GPT-5 Nano | $0.05 | $0.40 | 400,000 (400K) | text, image, filetext |
| 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 |