GPT-4.1
Vercel Ai GatewayText
GPT-4.1 is a text model from Vercel Ai Gateway with a context window of 1.0M tokens and max output of 33K tokens. Pricing starts at $2.00 per million input tokens and $8.00 per million output tokens (cheapest at Azure OpenAI).
Specifications
| Model Key | vercel_ai_gateway/openai/gpt-4.1 |
| Provider | Vercel Ai Gateway |
| LiteLLM Provider | vercel_ai_gateway |
| Mode | Text |
| Canonical Name | gpt-4.1 |
| Context Window | 1.0M tokens |
| Max Output | 33K tokens |
Capabilities
✓ Vision✓ Function Calling✗ Reasoning✓ JSON Schema✗ System Messages✗ Web Search✗ Prompt Caching✗ Audio Input✗ Audio Output
Pricing
| Type | Per 1K Tokens | Per 1M Tokens |
|---|---|---|
| Input Tokens | $0.0020 | $2.00 |
| Output Tokens | $0.0080 | $8.00 |
| Cache Read (Input) | $0.000500 | $0.500 |
Price Comparison by Provider
Compare prices for GPT-4.1 across different providers. The same model may be available through multiple providers at different price points.
Provider | Model Key | Input Price | Output Price |
|---|---|---|---|
| Azure OpenAI | azure/gpt-4.1 | $2.00 | $8.00 |
| Github Copilot | github_copilot/gpt-4.1-2025-04-14 | N/A | N/A |
| OpenAI | gpt-4.1 | $2.00 | $8.00 |
| OpenRouter | openrouter/openai/gpt-4.1 | $2.00 | $8.00 |
| Replicate | replicate/openai/gpt-4.1 | $2.00 | $8.00 |
| Vercel Ai Gateway | vercel_ai_gateway/openai/gpt-4.1 | $2.00 | $8.00 |
Similar Models
Models with similar capabilities and context window size.
Model | Provider | Mode | Input Price | Output Price | Context | Max Output | Vision | Functions |
|---|---|---|---|---|---|---|---|---|
| Ft:gpt 4.1 Nano | OpenAI | Text | $0.200 | $0.800 | 1.0M | 33K | no | yes |
| GPT-4.1 mini | Vercel Ai Gateway | Text | $0.400 | $1.60 | 1.0M | 33K | yes | yes |
| GPT-4.1 nano | Azure OpenAI | Text | $0.100 | $0.400 | 1.0M | 33K | yes | yes |
| GPT-4.1 nano | Azure OpenAI | Text | $0.100 | $0.400 | 1.0M | 33K | yes | yes |
| GPT-4.1 nano | Azure OpenAI | Text | $0.110 | $0.440 | 1.0M | 33K | yes | yes |
| GPT-4.1 nano | OpenAI | Text | $0.100 | $0.400 | 1.0M | 33K | yes | yes |
| GPT-4.1 nano | OpenAI | Text | $0.100 | $0.400 | 1.0M | 33K | yes | yes |
| GPT-4.1 nano | OpenRouter | Text | $0.100 | $0.400 | 1.0M | 33K | yes | yes |
| GPT-4.1 nano | OpenRouter | Text | $0.100 | $0.400 | 1.0M | 33K | yes | yes |
| GPT-4.1 nano | Vercel Ai Gateway | Text | $0.100 | $0.400 | 1.0M | 33K | yes | yes |