gpt-4.1
vercel_ai_gateway · chat model
gpt-4.1 is listed here as a chat model from vercel_ai_gateway. This page shows simple API pricing, token limits, and capability flags so you can compare it with similar options.
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 |
| Cache write | N/A 0 in raw data; semantics unverified |
| Embedding | $2.0000 / 1M tokens |
Token limits
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.
| Model | Cost | Input shape | Features | Context | Why it is close |
|---|---|---|---|---|---|
| gpt-4.1 vercel_ai_gateway | In $2.0000 / 1M tokens Out $8.0000 / 1M tokens | imagetext
Output: text | VisionFunction callingTool choiceResponse schema | 32.8K | Current model Reference row |
| Model | Cost | Input shape | Features | Context | Why it is close |
|---|---|---|---|---|---|
| grok-2-vision vercel_ai_gateway | In $2.0000 / 1M tokens Out $10.0000 / 1M tokens | imagetext
Output: text | VisionFunction callingTool choice | 32.8K | Same provider Overall 92% |
| openai vercel_ai_gateway | In $2.0000 / 1M tokens Out $8.0000 / 1M tokens | imagetext
Output: text | VisionFunction callingTool choiceResponse schema | 100.0K | Same provider Overall 90% |
| gpt-4.1 Azure | In $2.0000 / 1M tokens Out $8.0000 / 1M tokens | imagetext
Output: text | VisionFunction callingTool choiceResponse schema | 32.8K | Text + image covered Overall 89% |
| gpt-4.1-2025-04-14 Azure | In $2.0000 / 1M tokens Out $8.0000 / 1M tokens | imagetext
Output: text | VisionFunction callingTool choiceResponse schema | 32.8K | Text + image covered Overall 89% |
| gpt-4o vercel_ai_gateway | In $2.5000 / 1M tokens Out $10.0000 / 1M tokens | imagetext
Output: text | VisionFunction callingTool choiceResponse schema | 16.4K | Same provider Overall 89% |
| grok-2-vision xai | In $2.0000 / 1M tokens Out $10.0000 / 1M tokens | imagetext
Output: text | VisionFunction callingTool choice | 32.8K | Text + image covered Overall 88% |
| GPT-4.1 OpenAI | In $2.0000 / 1M tokens Out $8.0000 / 1M tokens | imagetext pdf
Output: text | VisionFunction callingTool choiceResponse schema | 32.8K | Text + image covered Overall 86% |
| pixtral-large-2411 Mistral | In $2.0000 / 1M tokens Out $6.0000 / 1M tokens | imagetext
Output: text | VisionFunction callingTool choiceResponse schema | 128.0K | Text + image covered Overall 86% |
| v0-1.5-md vercel_ai_gateway | In $3.0000 / 1M tokens Out $15.0000 / 1M tokens | imagetext
Output: text | VisionFunction callingTool choice | 32.8K | Same provider Overall 86% |
| v0-1.0-md vercel_ai_gateway | In $3.0000 / 1M tokens Out $15.0000 / 1M tokens | imagetext
Output: text | VisionFunction callingTool choice | 32.0K | Same provider Overall 85% |
| pixtral-large vercel_ai_gateway | In $2.0000 / 1M tokens Out $6.0000 / 1M tokens | imagetext
Output: text | VisionFunction callingTool choiceResponse schema | 4.0K | Same provider Overall 84% |
| anthropic.claude-3-5-sonnet-20240620-v1:0 Bedrock | In $3.0000 / 1M tokens Out $15.0000 / 1M tokens | imagetext
Output: text | VisionFunction callingTool choiceResponse schema | 4.1K | Text + image covered Overall 79% |
| gemini-2.5-pro vercel_ai_gateway | In $2.5000 / 1M tokens Out $10.0000 / 1M tokens | imagetext audiopdf
Output: text | VisionFunction callingTool choiceResponse schema | 65.5K | Same provider Overall 74% |
| mistral-medium-latest Mistral | In $0.4000 / 1M tokens Out $2.0000 / 1M tokens | imagetext
Output: text | VisionFunction callingTool choiceResponse schema | 131.1K | Text + image covered Overall 73% |
| Mistral Large Mistral | In $0.5000 / 1M tokens Out $1.5000 / 1M tokens | imagetext
Output: text | VisionFunction callingTool choiceResponse schema | 262.1K | Text + image covered Overall 71% |
| mistral-large-2512 Mistral | In $0.5000 / 1M tokens Out $1.5000 / 1M tokens | imagetext
Output: text | VisionFunction callingTool choiceResponse schema | 262.1K | Text + image covered Overall 71% |
| anthropic.claude-3-opus-20240229-v1:0 Bedrock | In $15.0000 / 1M tokens Out $75.0000 / 1M tokens | imagetext
Output: text | VisionFunction callingTool choiceResponse schema | 4.1K | Text + image covered Overall 69% |
| eu.anthropic.claude-3-opus-20240229-v1:0 Bedrock | In $15.0000 / 1M tokens Out $75.0000 / 1M tokens | imagetext
Output: text | VisionFunction callingTool choiceResponse schema | 4.1K | Text + image covered Overall 69% |
| azure Azure | In $2.0000 / 1M tokens Out $8.0000 / 1M tokens | imagetext
Output: text | VisionFunction callingTool choiceResponse schema | 100.0K | Partial I/O overlap Overall 58% Missing text, image |
| o3-2025-04-16 Azure | In $2.0000 / 1M tokens Out $8.0000 / 1M tokens | imagetext
Output: text | VisionFunction callingTool choiceResponse schema | 100.0K | Partial I/O overlap Overall 58% Missing text, image |
| ai21.jamba-1-5-large-v1:0 Bedrock | In $2.0000 / 1M tokens Out $8.0000 / 1M tokens | imagetext
Output: text | Low overlap | 256.0K | Partial I/O overlap Overall 50% Missing image |
No models match this filter.