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