GPT-4.1 mini

Vercel Ai GatewayText

GPT-4.1 mini 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 $0.40 per million input tokens and $1.60 per million output tokens (cheapest at Azure OpenAI).

Specifications

Model Keyvercel_ai_gateway/openai/gpt-4.1-mini
ProviderVercel Ai Gateway
LiteLLM Providervercel_ai_gateway
ModeText
Canonical Namegpt-4.1-mini
Context Window1.0M tokens
Max Output33K tokens

Capabilities

Vision Function Calling Reasoning JSON Schema System Messages Web Search Prompt Caching Audio Input Audio Output

Pricing

0
TypePer 1K TokensPer 1M Tokens
Input Tokens$0.000400$0.400
Output Tokens$0.0016$1.60
Cache Read (Input)$0.000100$0.100

Price Comparison by Provider

Compare prices for GPT-4.1 mini across different providers. The same model may be available through multiple providers at different price points.

Provider
Model Key
Input Price
Output Price
Azure OpenAIazure/gpt-4.1-mini$0.400$1.60
OpenAIgpt-4.1-mini$0.400$1.60
OpenRouteropenrouter/openai/gpt-4.1-mini$0.400$1.60
Replicatereplicate/openai/gpt-4.1-mini$0.400$1.60
Vercel Ai Gatewayvercel_ai_gateway/openai/gpt-4.1-mini$0.400$1.60

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 NanoOpenAIText$0.200$0.8001.0M33Knoyes
GPT-4.1 miniOpenAIText$0.400$1.601.0M33Kyesyes
GPT-4.1 nanoAzure OpenAIText$0.100$0.4001.0M33Kyesyes
GPT-4.1 nanoAzure OpenAIText$0.100$0.4001.0M33Kyesyes
GPT-4.1 nanoAzure OpenAIText$0.110$0.4401.0M33Kyesyes
GPT-4.1 nanoOpenAIText$0.100$0.4001.0M33Kyesyes
GPT-4.1 nanoOpenAIText$0.100$0.4001.0M33Kyesyes
GPT-4.1 nanoOpenRouterText$0.100$0.4001.0M33Kyesyes
GPT-4.1 nanoOpenRouterText$0.100$0.4001.0M33Kyesyes
GPT-4.1 nanoVercel Ai GatewayText$0.100$0.4001.0M33Kyesyes