google · 1M input + 1M output tokens · USD
Same model · same workloadGemini 2.5 FlashOfficial API baseline$2.8
OpenRouter1M input + 1M output$2.954Model usage$2.8Credit purchase fee estimate+$0.1545.5% when purchasing credits, not per request
Vercel AI GatewayLowest gateway cost1M input + 1M output$2.8Model usage$2.8Gateway markup$0No token markup
Cloudflare AI Gateway1M input + 1M output$2.94Model usage$2.8Unified Billing fee estimate+$0.145% unified billing fee
Portkey1M input + 1M output$2.8 + planModel usage$2.8Platform 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.