GPT-4.1 Mini
OpenAI · 1M input + 1M output tokens · USD
Choose a model
Prices use one fixed workload so the gateway totals are directly comparable.
Model
Same model · same workloadGPT-4.1 MiniOfficial API baseline$2
OpenRouter1M input + 1M output$2.11Model usage$2Credit purchase fee estimate+$0.115.5% when purchasing credits, not per request
Vercel AI GatewayLowest gateway cost1M input + 1M output$2Model usage$2Gateway markup$0No token markup
Cloudflare AI Gateway1M input + 1M output$2.1Model usage$2Unified Billing fee estimate+$0.15% unified billing fee
Portkey1M input + 1M output$2 + planModel usage$2Platform planSeparate planProvider usage plus a separate platform planEstimated total uses 1 million input tokens plus 1 million output tokens. OpenRouter's funding estimate applies 5.5% to this amount for comparison; the real charge occurs when credits are purchased and has a $0.80 minimum per purchase. Taxes, payment charges, discounts, and monthly plans are excluded.