gpt-4.1-mini
vercel_ai_gateway · chat model
gpt-4.1-mini 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 | $0.4000 / 1M tokens |
| Output | $1.6000 / 1M tokens |
| Cached input | $0.1000 / 1M tokens |
| Cache write | N/A 0 in raw data; semantics unverified |
| Embedding | $0.4000 / 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 | 23.6% | accuracy (%) | Base model: gpt-4.1-mini (GPT-4.1 mini) | 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-mini vercel_ai_gateway | In $0.4000 / 1M tokens Out $1.6000 / 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 |
|---|---|---|---|---|---|
| gpt-4.1-mini Azure | In $0.4000 / 1M tokens Out $1.6000 / 1M tokens | imagetext
Output: text | VisionFunction callingTool choiceResponse schema | 32.8K | Text + image covered Overall 89% |
| gpt-4.1-mini-2025-04-14 Azure | In $0.4000 / 1M tokens Out $1.6000 / 1M tokens | imagetext
Output: text | VisionFunction callingTool choiceResponse schema | 32.8K | Text + image covered Overall 89% |
| 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 87% |
| GPT-4.1 mini OpenAI | In $0.4000 / 1M tokens Out $1.6000 / 1M tokens | imagetext pdf
Output: text | VisionFunction callingTool choiceResponse schema | 32.8K | Text + image covered Overall 86% |
| gpt-4.1-mini-2025-04-14 OpenAI | In $0.4000 / 1M tokens Out $1.6000 / 1M tokens | imagetext pdf
Output: text | VisionFunction callingTool choiceResponse schema | 32.8K | Text + image covered Overall 86% |
| gpt-4.1-nano vercel_ai_gateway | In $0.1000 / 1M tokens Out $0.4000 / 1M tokens | imagetext
Output: text | VisionFunction callingTool choiceResponse schema | 32.8K | Same provider Overall 85% |
| 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 84% |
| 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 84% |
| 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 | Same provider Overall 84% |
| claude-3-haiku vercel_ai_gateway | In $0.2500 / 1M tokens Out $1.2500 / 1M tokens | imagetext
Output: text | VisionFunction callingTool choiceResponse schema | 4.1K | Same provider Overall 81% |
| claude-4-opus vercel_ai_gateway | In $15.0000 / 1M tokens Out $75.0000 / 1M tokens | imagetext
Output: text | VisionFunction callingTool choiceResponse schema | 32.0K | Same provider Overall 80% |
| gpt-4o-mini vercel_ai_gateway | In $0.1500 / 1M tokens Out $0.6000 / 1M tokens | imagetext
Output: text | VisionFunction callingTool choiceResponse schema | 16.4K | Same provider Overall 80% |
| 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 77% |
| gemini-2.5-flash vercel_ai_gateway | In $0.3000 / 1M tokens Out $2.5000 / 1M tokens | imagetext audiovideo
Output: text | VisionFunction callingTool choiceResponse schema | 65.5K | Same provider Overall 74% |
| claude-3.5-haiku vercel_ai_gateway | In $0.8000 / 1M tokens Out $4.0000 / 1M tokens | imagetext file
Output: text | VisionFunction callingTool choiceResponse schema | 8.2K | Same provider Overall 70% |
| 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 69% |
| 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 67% |
| 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 67% |
| GLM-4.5 deepinfra | In $0.4000 / 1M tokens Out $1.6000 / 1M tokens | imagetext
Output: text | Function callingTool choice | 131.1K | Partial I/O overlap Overall 64% Missing image |
| Qwen3-Coder-480B-A35B-Instruct deepinfra | In $0.4000 / 1M tokens Out $1.6000 / 1M tokens | imagetext
Output: text | Function callingTool choice | 262.1K | Partial I/O overlap Overall 62% Missing image |
| qwen3-vl-235b-a22b-instruct dashscope | In $0.4000 / 1M tokens Out $1.6000 / 1M tokens | imagetext
Output: unknown | VisionFunction callingTool choice | 32.8K | Partial I/O overlap Overall 54% Missing text, image |
No models match this filter.