GPT-4.1 is OpenAI's language model with a 1.0M context window and up to 33K output tokens, available from 6 providers, starting at $2.00 / 1M input and $8.00 / 1M output. An OpenAI LLM excelling at instruction following and tool calling with a 1M-token context window and low latency without a reasoning step.
Capabilities
Input3/5
Text✓
Image✓
Audio·
Video·
PDF✓
Output1/5
Text✓
Image·
Audio·
Video·
Embedding·
Capabilities6/13
Reasoning·
Adaptive Reasoning·
Function Calling✓
Parallel Function Calling✓
Structured Outputs✓
Native JSON Schema✓
Web Search✓
URL Context·
Computer Use·
Code Execution·
File Search·
Prompt Caching✓
Assistant Prefill·
Pricing by Provider
| Provider | Standard | Batch | |||||
|---|---|---|---|---|---|---|---|
| Input $ / 1M | Output $ / 1M | Cache Read $ / 1M | Web Search $ / query | Input $ / 1M | Output $ / 1M | Cache Read $ / 1M | |
OpenAI | $2.00 | $8.00 | $0.500 | N/A | $1.00 | $4.00 | $0.250 |
OpenRouter | $2.00 | $8.00 | $0.500 | $0.010 | — | — | — |
Replicate | $2.00 | $8.00 | N/A | N/A | — | — | — |
Snowflake | $2.00 | $8.00 | N/A | N/A | $1.00 | $4.00 | N/A |
Vercel AI Gateway | $2.00 | $8.00 | $0.500 | N/A | — | — | — |
Azure AI Foundry | $2.20 | $8.80 | $0.550 | N/A | $1.10 | $4.40 | N/A |
Cost Calculator
Preset:
Versions
| Version | Released | Context | Input / 1M | Output / 1M | Status |
|---|---|---|---|---|---|
| GPT-5.5 | 1.1M | $5.00 | $30.00 | Available | |
| GPT-5.4 Mini | 1.1M | $0.750 | $4.50 | Available | |
| GPT-5.4 Nano | 1.1M | $0.200 | $1.25 | Available | |
| GPT-5.4 | 1.1M | $2.50 | $15.00 | Available | |
| GPT-5.3 Codex | 400K | $1.75 | $14.00 | Available | |
| GPT-5.2 Codex | 400K | $1.75 | $14.00 | Available | |
| GPT-5.2 | 410K | $1.75 | $14.00 | Available | |
| GPT-5.1 | 410K | $1.25 | $10.00 | Available | |
| GPT-5.1 Codex | 400K | $1.25 | $10.00 | Available | |
| GPT-5.1 Codex Mini | 400K | $0.250 | $2.00 | Available | |
| GPT-4.1 | 1.0M | $2.00 | $8.00 | Current |