OpenAI: GPT-4.1 API pricing
Token pricing
| Model | Provider | Input / 1M | Output / 1M | Context | Modalities |
|---|---|---|---|---|---|
| OpenAI: GPT-4.1 | OpenAI | $2.00 | $8.00 | 1,047,576 (1M) | image, text, filetext |
Capabilities
Context window
1,047,576 (1M)
Max output
-
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: o3 | $2.00 | $8.00 | 200,000 (200K) | image, text, filetext |
| OpenAI: o4 Mini Deep Research | $2.00 | $8.00 | 200,000 (200K) | file, image, texttext |
| OpenAI: GPT-5.2 | $1.75 | $14.00 | 400,000 (400K) | file, image, texttext |
| OpenAI: GPT-5.2-Codex | $1.75 | $14.00 | 400,000 (400K) | text, imagetext |
| OpenAI: GPT-5.3-Codex | $1.75 | $14.00 | 400,000 (400K) | text, image, filetext |
| OpenAI: GPT-5.2 Chat | $1.75 | $14.00 | 128,000 (128K) | file, image, texttext |
| OpenAI: GPT-5.3 Chat | $1.75 | $14.00 | 128,000 (128K) | text, image, filetext |
| OpenAI: GPT Audio | $2.50 | $10.00 | 128,000 (128K) | text, audiotext, audio |