GPT-4.1
OpenAI · chat model
GPT-4.1 is listed here as a chat model from OpenAI. This page shows simple API pricing, token limits, and capability flags so you can compare it with similar options.
Input
$2.0000 / 1M tokens
Output
$8.0000 / 1M tokens
Cached input
$0.5000 / 1M tokens
Context
32.8K
Quick read
Best for
Use this page when you need a fast view of cost, context size, and supported features before testing the model in your own workload.
Things to verify
Always check the provider page for discounts, cache pricing, region rules, and any model limits that may not appear in public metadata.
Pricing
| Item | Price |
|---|---|
| Input | $2.0000 / 1M tokens |
| Output | $8.0000 / 1M tokens |
| Cached input | $0.5000 / 1M tokens |
| Embedding | $2.0000 / 1M tokens |
| Batch input | $1.0000 / 1M tokens |
| Batch output | $4.0000 / 1M tokens |
| Priority input | $3.5000 / 1M tokens |
| Priority output | $14.0000 / 1M tokens |
Token limits
Context window
32.8K
Max input tokens
1.0M
Max output tokens
32.8K
Max tokens
32.8K
Capabilities
| Capability | Supported |
|---|---|
| Vision | ✅ |
| Function calling | ✅ |
| Parallel function calling | ✅ |
| Tool choice | ✅ |
| Prompt caching | ✅ |
| Reasoning | — |
| Response schema | ✅ |
| System messages | ✅ |
| Audio input | — |
| Audio output | — |
| Web search | ✅ |
| PDF input | ✅ |
| Video input | — |
Benchmarks
Most benchmark rows are attached to the base model family rather than this provider route. Open benchmark explorer
| Benchmark | Score | Metric | Scope | Checked | Source |
|---|---|---|---|---|---|
| SWE-bench Verified | 54.6% | accuracy (%) | Base model: gpt-4.1 (GPT-4.1) | 2026-05-31 | Link |
| Aider Polyglot | 51.6% | accuracy (%) | Base model: gpt-4.1 (GPT-4.1) | 2026-05-31 | Link |
| Aider Polyglot | 52.9% | accuracy (%) | Base model: gpt-4.1 (GPT-4.1) | 2026-05-31 | Link |
| IFEval | 87.4% | accuracy (%) | Base model: gpt-4.1 (GPT-4.1) | 2026-05-31 | Link |
| OpenAI-MRCR: 2 needle 128k | 57.2% | accuracy (%) | Base model: gpt-4.1 (GPT-4.1) | 2026-05-31 | Link |
| SWE-bench Verified | 54.6% | accuracy | Base model: GPT-4.1 (gpt-4.1) | 2026-05-31 | Link |
| MultiChallenge | 38.3% | accuracy | Base model: GPT-4.1 (gpt-4.1) | 2026-05-31 | Link |
| Video-MME | 72.0% | accuracy | Base model: GPT-4.1 (gpt-4.1) | 2026-05-31 | Link |
| Aider Polyglot Diff | 52.9% | pass rate | Base model: GPT-4.1 (gpt-4.1) | 2026-05-31 | Link |
Sources
| Source links | |
| Pricing data | LiteLLM model cost map |
| Synced at | 2026-05-28 |
Docs
| Official docs |
Similar models
This list is ranked by overall similarity. Use filters to emphasize the lens that matters most for the replacement you are making.
Comparing from
| Model | Cost | Input shape | Features | Context | Why it is close |
|---|---|---|---|---|---|
| GPT-4.1 OpenAI | In $2.0000 / 1M tokens Out $8.0000 / 1M tokens | imagepdftext
Output: text | VisionFunction callingParallel function callingTool choice | 32.8K | Current model Reference row |
| Model | Cost | Input shape | Features | Context | Why it is close |
|---|---|---|---|---|---|
| gpt-4.1-2025-04-14 OpenAI | In $2.0000 / 1M tokens Out $8.0000 / 1M tokens | imagepdftext
Output: text | VisionFunction callingParallel function callingTool choice | 32.8K | Same provider Overall 100% |
| gpt-4.1 Azure | In $2.0000 / 1M tokens Out $8.0000 / 1M tokens | imagepdftext
Output: text | VisionFunction callingParallel function callingTool choice | 32.8K | Text + image covered Overall 94% |
| gpt-4.1-2025-04-14 Azure | In $2.0000 / 1M tokens Out $8.0000 / 1M tokens | imagepdftext
Output: text | VisionFunction callingParallel function callingTool choice | 32.8K | Text + image covered Overall 94% |
| gpt-4.1 OpenRouter | In $2.0000 / 1M tokens Out $8.0000 / 1M tokens | imagepdftext file
Output: text | VisionFunction callingParallel function callingTool choice | 32.8K | Text + image covered Overall 86% |
| gpt-4.1 vercel_ai_gateway | In $2.0000 / 1M tokens Out $8.0000 / 1M tokens | imagepdftext
Output: text | VisionFunction callingTool choiceResponse schema | 32.8K | Text + image covered Overall 86% |
| gpt-4o OpenAI | In $2.5000 / 1M tokens Out $10.0000 / 1M tokens | imagepdftext
Output: text | VisionFunction callingParallel function callingTool choice | 16.4K | Same provider Overall 86% |
| gpt-4o-2024-08-06 OpenAI | In $2.5000 / 1M tokens Out $10.0000 / 1M tokens | imagepdftext
Output: text | VisionFunction callingParallel function callingTool choice | 16.4K | Same provider Overall 86% |
| gpt-4o-2024-11-20 OpenAI | In $2.5000 / 1M tokens Out $10.0000 / 1M tokens | imagepdftext
Output: text | VisionFunction callingParallel function callingTool choice | 16.4K | Same provider Overall 86% |
| gpt-5.2-chat-latest OpenAI | In $1.7500 / 1M tokens Out $14.0000 / 1M tokens | imagepdftext
Output: text | VisionFunction callingParallel function callingTool choice | 16.4K | Same provider Overall 84% |
| gpt-5.3-chat-latest OpenAI | In $1.7500 / 1M tokens Out $14.0000 / 1M tokens | imagepdftext
Output: text | VisionFunction callingParallel function callingTool choice | 16.4K | Same provider Overall 84% |
| GPT-4.1 mini OpenAI | In $0.4000 / 1M tokens Out $1.6000 / 1M tokens | imagepdftext
Output: text | VisionFunction callingParallel function callingTool choice | 32.8K | Same provider Overall 84% |
| gpt-4.1-mini-2025-04-14 OpenAI | In $0.4000 / 1M tokens Out $1.6000 / 1M tokens | imagepdftext
Output: text | VisionFunction callingParallel function callingTool choice | 32.8K | Same provider Overall 84% |
| gpt-5 OpenAI | In $1.2500 / 1M tokens Out $10.0000 / 1M tokens | imagepdftext
Output: text | VisionFunction callingParallel function callingTool choice | 128.0K | Same provider Overall 81% |
| gpt-5.1 OpenAI | In $1.2500 / 1M tokens Out $10.0000 / 1M tokens | imagepdftext
Output: text | VisionFunction callingParallel function callingTool choice | 128.0K | Same provider Overall 81% |
| gpt-5.1-2025-11-13 OpenAI | In $1.2500 / 1M tokens Out $10.0000 / 1M tokens | imagepdftext
Output: text | VisionFunction callingParallel function callingTool choice | 128.0K | Same provider Overall 81% |
| gpt-5.4 azure_ai | In $2.5000 / 1M tokens Out $15.0000 / 1M tokens | imagepdftext
Output: text | VisionFunction callingParallel function callingTool choice | 128.0K | Text + image covered Overall 79% |
| gpt-5.4-2026-03-05 azure_ai | In $2.5000 / 1M tokens Out $15.0000 / 1M tokens | imagepdftext
Output: text | VisionFunction callingParallel function callingTool choice | 128.0K | Text + image covered Overall 79% |
| gpt-5.4-mini azure_ai | In $0.7500 / 1M tokens Out $4.5000 / 1M tokens | imagepdftext
Output: text | VisionFunction callingParallel function callingTool choice | 128.0K | Text + image covered Overall 76% |
| azure Azure | In $2.0000 / 1M tokens Out $8.0000 / 1M tokens | imagepdftext
Output: text | VisionFunction callingTool choicePrompt caching | 100.0K | Partial I/O overlap Overall 53% Missing text, image |
| o3-2025-04-16 Azure | In $2.0000 / 1M tokens Out $8.0000 / 1M tokens | imagepdftext
Output: text | VisionFunction callingTool choicePrompt caching | 100.0K | Partial I/O overlap Overall 53% Missing text, image |
| ai21.jamba-1-5-large-v1:0 Bedrock | In $2.0000 / 1M tokens Out $8.0000 / 1M tokens | imagepdftext
Output: text | Low overlap | 256.0K | Partial I/O overlap Overall 50% Missing image |
No models match this filter.