OpenAI: GPT-4.1 Nano API pricing
Token pricing
| Model | Provider | Input / 1M | Output / 1M | Context | Modalities |
|---|---|---|---|---|---|
| OpenAI: GPT-4.1 Nano | OpenAI | $0.10 | $0.40 | 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-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-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 |
| OpenAI: gpt-oss-120b | $0.039 | $0.18 | 131,072 (131K) | texttext |
| OpenAI: gpt-oss-20b | $0.03 | $0.14 | 131,072 (131K) | texttext |
| OpenAI: gpt-oss-120b (free) | $0 | $0 | 131,072 (131K) | texttext |