Best AI Model Gateways for Reducing Inference Costs 2026
Compare six AI model gateways by live 2026 pricing, cache savings, fees, and the exact workload that makes Vercel, LiteLLM, or Cloudflare win.
Vercel AI Gateway
- LLiteLLM
- CCloudflare AI Gateway
- TTrueFoundry AI Gateway
- PPortkey
- OOpenRouter
Vercel

Vercel AI Gateway is the best managed gateway for reducing inference costs right now: a monthly GPT-5.6 Sol workload with 100 million input tokens and 20 million output tokens falls from $800 at OpenAI's current direct price to $400 at Vercel's current Default-tier price. That $400 saving is a buying window, not an annual promise, because Vercel's 50% discount ends September 18, 2026.
The permanent lesson is broader than one promotion. An AI model gateway lowers a bill only when routing, response caching, or enforced budgets remove more provider spend than the gateway adds in fees and operating work. Vercel is the default no-ops pick, LiteLLM is the self-hosted pick, Cloudflare is the exact-repeat cache pick, TrueFoundry is the managed semantic-cache pick, Portkey is the $49 governance pick, and OpenRouter is the provider-marketplace pick.
Best AI model gateways at a glance
All plan names, public prices, and limits below were verified against live vendor pages on August 24, 2026. "Free trial" distinguishes a permanent free route from a timed evaluation, because a free prototype can become an expensive production dependency if its real wall is hidden.
Starting price does not reveal the winner by itself. LiteLLM's license can be free while its control plane consumes real engineering time. Cloudflare's core can be free while Unified Billing adds 5%. TrueFoundry can erase whole model calls through semantic reuse, but its first production tier costs $499 a month. The correct comparison is the amount left on the total invoice after the gateway has done its work.
The savings equation before the rankings
The useful budget equation is remaining provider spend + gateway fees + paid controls + operating cost. A gateway earns a place only when that total is lower than direct access for the same number of accepted outputs. Model count, dashboard polish, and failover breadth are benefits, but none is a saving until it removes money or expensive failure from the workflow.
Use one normalized bill to expose the difference. OpenAI currently lists GPT-5.6 Sol at $4 per million input tokens and $20 per million output tokens. A workflow using 100 million input and 20 million output tokens therefore costs $800 before cached-input discounts, tools, or long-context multipliers: $400 of input plus $400 of output.
Vercel's August price update lists the same model at $2 input and $10 output on its discounted Default service tier through September 18. The normalized month becomes $400, a 50% reduction. Flex is currently $1 input and $5 output, while Priority is $4 input and $20 output, all per million tokens for requests at or below 272,000 tokens.

The model rate is only the first lever. An exact response-cache hit can avoid the provider call entirely. A cheaper-model route can reduce the unit price, but only if its outputs still clear the acceptance bar. A budget cap can stop a runaway agent, which is not a token discount but can be the largest saving of the month. The correct operating metric is cost per accepted result, including retries and review, not cost per token in isolation.
For the underlying provider-price shortlist, use the cheapest AI API comparison. This ranking starts one layer above it and asks whether a gateway can make those provider prices cheaper in practice.
1. Vercel AI Gateway: best overall for a managed cost cut
Vercel AI Gateway is the best overall choice for a team that wants a managed gateway with no token markup and a real cost reduction available now.

Its strongest case is unusually concrete. The live pricing page says both Free and Paid use provider list rates with zero markup, and the current GPT-5.6 Sol promotion then cuts the Default model rate by another 50%. A funded founder moving one high-volume extraction or support workflow can halve the normalized $800 model line to $400 without taking on a self-hosted proxy.
The Free tier includes $5 of monthly credit, covers an eligible subset of models, applies lower model-specific rate limits, and does not allow bring-your-own-key. The Paid tier uses purchased credits, opens all available models, raises limits, and enables BYOK with no Vercel gateway fee or commitment. Buying credits moves the team to Paid, so the $5 monthly Free credit no longer applies.
BYOK has a billing edge that deserves a runbook entry. When a request using a customer's provider credential fails, Vercel can retry with its system credential for reliability, and that fallback is charged to the team's gateway-credit balance. A team expecting every request to remain on a negotiated provider account should monitor that balance and reconcile fallback traffic rather than treating BYOK as a guarantee that Vercel credits will never move.
The zero-markup headline also excludes paid controls. Custom Reporting costs $0.075 per 1,000 tag, user-ID, or quota-entity writes and $5 per 1,000 reporting queries. A team-wide provider allowlist costs $0.10 per 1,000 successful requests on Pro and Enterprise, while a per-request provider filter has no extra cost. Team-wide zero-data-retention enforcement costs another $0.10 per 1,000 requests, although per-request ZDR is free on Pro and Enterprise.
Trace drains add $0.05 per 1,000 traces plus $0.50 per GB of egress, with no included Pro allowance. At one million successful requests, a team-wide allowlist is a $100 line, team-wide ZDR is another $100, and one million traces are $50 before egress. The gateway can still be the cheapest option, but the buyer should compare the configured invoice, not the token-markup headline.
The candid wall is time. The Sol discount is an excellent migration window and a poor permanent architecture thesis. Vercel stays attractive after the promotion if its zero-markup routing, budgets, failover, and observability replace work the team would otherwise own. If the product runs one stable provider model and needs none of those controls, direct billing can regain the lead when the discount expires.
Best for: A small or mid-market team that wants managed routing, spend controls, and no public token markup.
Standout: The current GPT-5.6 Sol Default rate turns the normalized $800 direct month into $400 through September 18.
Pricing: Free includes $5/month on eligible models; Paid uses purchased credits at provider list rates with no markup; optional reporting, policy, and trace meters are separate.
Free trial: An ongoing Free tier, not a timed trial.
- Zero public token markup on both Free and Paid.
- Current Sol discount creates a measurable 50% saving on the normalized workload.
- Paid supports BYOK without a gateway fee.
- Per-request provider filtering is available without the team-wide allowlist meter.
- The decisive Sol discount ends September 18, 2026.
- Buying credits removes the recurring $5 Free credit.
- System-credential fallback can consume Vercel credits on a failed BYOK request.
- Reporting, team-wide policies, and traces can create separate usage lines.
The safest adoption path keeps the comparison reversible:
Isolate one accepted workflow
Choose one job with a countable pass condition, such as a valid structured extraction or an approved support answer. Give it a separate gateway key so its spend and failures do not disappear inside the rest of the product.
Freeze the direct baseline
Record one representative week of input tokens, output tokens, retries, latency, and accepted results on the direct provider route. The current unit-price saving is useful only if acceptance does not fall.
Route a bounded 10%
Send 10% of that workflow through Vercel with the same model and service tier. Set a key-level budget that matches the sample so a configuration error cannot turn the comparison into an open tab.
Reconcile all four cost lines
Add model usage, any paid reporting or policy controls, traces, and review or retry cost. Check whether a failed BYOK request consumed system credits.
Make the September decision
Keep the route only if cost per accepted result beats direct access and the managed controls earn their post-promotion price. Put September 18 on the budget calendar and reprice before the deadline.
2. LiteLLM: best self-hosted gateway when the platform team already exists
LiteLLM is the best self-hosted gateway for a company that already operates shared infrastructure and wants the gateway license line at $0.

The Open Source plan is free forever and self-hosted. It exposes 100+ providers through one OpenAI-compatible API and includes virtual keys, users and teams, spend tracking, budgets, rate limits, fallbacks, logging, and Prometheus. For a mid-market CTO whose platform group already runs containers, metrics, secrets, and on-call, that can consolidate provider logic without adding a monthly gateway license.
The word free stops at the license boundary. The company still supplies compute, a datastore where required, deployment pipelines, upgrades, security review, observability, and the person who responds when the gateway fails. LiteLLM is the cost winner only when those jobs are already part of the platform team's marginal workload or when self-hosting is a hard requirement.
The Enterprise plan is a custom annual contract sized by annual gateway request capacity, deployment architecture, and support needs, never by token volume. It adds SSO and SCIM, OIDC or JWT controls, audit logs, secret-manager integration and key rotation, organization administration, multi-region options, formal support, and air-gapped deployment. The public page offers a 30-day Enterprise trial without a credit card, but it does not publish a dollar quote.
That pricing basis changes the break-even calculation. A team with very high token spend but moderate request capacity can avoid a percentage tax on expensive models. A team with tiny model spend and no platform function can spend more in staff attention than a managed gateway would charge. The flip rule is not request volume alone: it is whether the incremental monthly cost of operating LiteLLM is lower than the hosted platform fees and operational work it replaces.
LiteLLM also fits a regulated company that must keep the data plane inside its own environment. That control can justify the decision even when the pure model bill does not fall. Cost reduction is then a secondary consequence of provider routing, budgets, and central controls, not proof that self-hosting is inherently cheap.
Best for: Teams with an existing platform function, self-hosting requirements, or enough scale to reject percentage-based gateway fees.
Standout: A $0 open-source license with budgets, virtual keys, fallbacks, logs, and 100+ providers.
Pricing: Open Source is $0 forever; Enterprise is a custom annual quote based on request capacity, architecture, and support.
Free trial: 30 days for Enterprise with no credit card; Open Source is permanently free to self-host.
- No open-source license fee and no per-token gateway tax.
- Central budgets, keys, fallbacks, and logs across 100+ providers.
- Enterprise supports governance and air-gapped deployment.
- High-cost model usage does not automatically inflate the Enterprise license by token spend.
- The buyer owns infrastructure, upgrades, reliability, and incident response on Open Source.
- Enterprise has no public price, so procurement cannot model it from the website alone.
- A small team without platform capacity can turn a free license into the most expensive operating choice.
3. Cloudflare AI Gateway: best for byte-identical repeat traffic
Cloudflare AI Gateway is the best cost cutter when a meaningful share of requests are safe, byte-identical repeats and the team can use BYOK.

Cloudflare makes its core unusually easy to price. Dashboard analytics, caching, and rate limiting are free on all plans. Workers Free stores 100,000 logs across all gateways and permits 10 gateways per account. Workers Paid stores 10 million logs per gateway and permits 20 gateways, while Logpush is Paid-only with 10 million requests a month included and $0.05 per additional million.
Caching is the real saving mechanism, and its limitation is precise. Cloudflare's default cache key includes the provider, endpoint, model, provider authentication header, and full request body. Any difference in messages, tools, or model parameters creates another entry. A cache hit skips the provider call, but two prompts that mean the same thing and use different words do not match unless the team deliberately designs a custom cache key and can defend its safety.
The minimum cache lifetime is 60 seconds, the maximum is one month, and a cacheable request can be at most 25 MB. This is a strong fit for repeated classification jobs, shared static explanations, or deterministic batch prompts. It is a poor default for personalized support, changing source data, or stochastic creative output, where a cheap stale answer can be more damaging than a fresh model call.
The billing route matters as much as the hit rate. BYOK keeps the gateway core free and pays providers directly. Unified Billing passes through provider inference prices but adds 5% to purchased credits, so $100 of credits costs $105. It is also limited to 200 requests per 60 seconds per gateway; Cloudflare says that rate limit does not apply to BYOK.
Apply the normalized $800 bill to an explicit 25% exact-repeat assumption. If those repeat requests carry the same token mix and are safe to reuse, BYOK caching leaves $600 of provider spend and saves $200. Unified Billing adds 5% to the remaining $600, producing $630 and a net $170 saving. A lower hit rate can erase the advantage, while a higher safe hit rate makes Cloudflare hard to beat.
DLP scanning is free on all plans, with two predefined profiles for accounts without a Zero Trust subscription. Guardrails are not free: evaluation uses a Workers AI model and is billed at Workers AI token rates. This is another example of the right accounting boundary. The cache may be free while the safety layer adds inference of its own.
Best for: Cloudflare users with deterministic, repeated requests and a team willing to measure cache safety.
Standout: Free exact-response caching that can eliminate the provider call on a hit.
Pricing: Core analytics, caching, and rate limiting are free; Unified Billing adds 5%; logging, Logpush, and guardrails have separate limits or meters.
Free trial: Ongoing free core features and Workers Free log storage, not a timed trial.
- Core gateway analytics, caching, and rate limiting cost $0.
- An exact cache hit removes the provider call rather than discounting a few prompt tokens.
- BYOK avoids the 5% Unified Billing fee and its managed-credential rate limit.
- Cache behavior and hard limits are documented clearly.
- The default cache requires an exact match, so conversational variation produces misses.
- Unified Billing adds 5% and is capped at 200 requests per 60 seconds per gateway.
- Free log storage is shared across gateways and stops at 100,000 records.
- An unsafe custom key can return stale or cross-context content.
4. TrueFoundry AI Gateway: best managed semantic cache
TrueFoundry AI Gateway is the best managed choice when differently worded requests often ask the same safe-to-reuse question.

The distinction is semantic caching. TrueFoundry's cache documentation says exact mode hashes the complete request, while semantic mode embeds the final message and compares its meaning with prior requests. All other request parameters must still match. A full-response cache hit avoids the LLM invocation and carries zero LLM cost, so a support operation answering many variations of "How do I reset my password?" can reuse one approved answer instead of paying for each wording.
The cache is automatically isolated by user or virtual account, and optional namespaces can separate tenants or environments. That matters because a high hit rate is worthless if one customer's cached answer reaches another. A self-hosted semantic cache requires Redis and an embedding model; the SaaS route manages that infrastructure.
The public pricing page has four tiers. Developer costs $0 a month for 50,000 requests and 3 users. Pro costs $499 a month for 1 million requests and 10 users. An additional 2 million requests plus 5 API keys costs another $499 a month. Pro Plus costs $2,999 a month for 1 million requests and 25 users, with additional usage quoted by sales. Enterprise is custom for request and user capacity and supports VPC and air-gapped deployments.
The page advertises a 7-day free trial, while the gateway page offers the first 50,000 requests each month free with no card across 1,600+ models. That is enough to measure a realistic cache-hit rate before moving to Pro. It is not permission to infer a production saving from a synthetic FAQ set.
The pure model-bill hurdle is high at modest spend. Against the normalized $800 provider bill, the $499 Pro subscription must prevent at least $499 of model spend, about 62.4%, before it wins on inference cost alone. Governance, isolation, observability, and staff time can still justify Pro at a lower hit rate, but those are separate benefits and should be named as such.
The real wall is false reuse. A semantic threshold that is too loose may return a prior answer that sounds relevant but violates the current user's context or policy. The safe test scores cached and fresh answers against the same acceptance set, segments by tenant, and refuses caching for questions with live account, legal, medical, or changing inventory context.
Best for: Support, knowledge, and FAQ workloads with repeated intent but varied wording.
Standout: Managed semantic full-response caching with automatic account isolation and optional namespaces.
Pricing: Developer $0; Pro $499/month; Pro Plus $2,999/month; Enterprise custom, with the published request and user limits above.
Free trial: A 7-day trial plus a permanent Developer tier with 50,000 requests/month.
- Semantic caching can remove whole model calls that exact caches miss.
- Cache entries are isolated by user or virtual account by default.
- Developer provides enough monthly requests for a bounded hit-rate evaluation.
- Enterprise offers VPC and air-gapped deployment.
- Pro's $499 monthly floor demands substantial savings or governance value.
- Pro Plus is $2,999 while still listing 1 million monthly requests.
- Semantic false positives can turn a cost win into a quality or data-boundary failure.
- Self-hosted semantic caching adds Redis and embedding-model operations.
5. Portkey: best managed governance step-up at $49
Portkey is the best low-entry managed option for a team that has outgrown a prototype but cannot justify a $499 production gateway.

The plan ladder begins with Open Source, which is self-hosted with no request limit and includes a universal API, retries and timeouts, routing, guardrails, automatic fallbacks, a basic dashboard, load balancing, and community support. The page does not state a license price for this route, so it should be evaluated like LiteLLM: control is high, but infrastructure and operator cost remain with the buyer.
The hosted Developer tier is Free Forever, allows 10,000 requests a month, has no overage, and is explicitly positioned for prototypes and enterprise proofs of concept rather than production. Production costs $49 a month, includes 100,000 requests, and adds $9 a month for each additional 100,000 requests up to 3 million. It includes simple and semantic caching, role-based access, service-account keys, and production support.
At one million monthly requests, Production costs $130 before model usage: $49 for the included 100,000 plus nine $9 overage blocks for the remaining 900,000. That is the useful comparison point. Portkey must recover more than $130 through caching, routing, budget enforcement, or operating work to beat a no-fee gateway on the normalized workload.
Enterprise uses custom pricing and request capacity. It adds SSO, granular budgets and rate limits, private-cloud or VPC options, and expanded compliance controls. A regulated organization may buy that tier for governance even when the provider invoice stays flat.
There is a naming wrinkle worth putting in a procurement note. The live pricing page calls the $49 tier Production, while current documentation calls the same $49 tier Pro. The pricing page also says Portkey is now Prisma AIRS AI Gateway. Those names should be reconciled in the order form before a team automates plan checks or writes a renewal policy around them.
Portkey ranks below TrueFoundry for semantic-cache depth because its public materials do not make the savings mechanism as easy to audit. It ranks above OpenRouter for a team that wants a predictable hosted base fee instead of a percentage on every shared-credit purchase. The $49 entry point makes a controlled production trial financially legible.
Best for: A growing AI product that needs hosted caching, roles, keys, routing, and support on a three-digit monthly control-plane budget.
Standout: Production starts at $49 and reaches one million monthly requests for $130 before model usage.
Pricing: Open Source self-hosted; Developer Free Forever; Production $49/month plus $9 per additional 100,000 requests; Enterprise custom.
Free trial: The ongoing Developer tier provides 10,000 requests/month but is not suitable for production.
- The first hosted production tier starts at $49 a month.
- Simple and semantic caching are included on Production.
- Predictable request-block overage is easier to budget than a token percentage.
- Open Source and Enterprise routes cover opposite control requirements.
- One million requests raises the $49 headline to $130 before inference.
- Developer stops at 10,000 requests with no overage and is not a production route.
- Production versus Pro naming creates avoidable procurement ambiguity.
- Enterprise economics remain behind a sales quote.
6. OpenRouter: best marketplace for price-sorted provider routing
OpenRouter is the best gateway when the job is choosing among many providers and models by price, not minimizing the gateway line on an unchanged route.

The Free plan offers 25+ free models through 4 free providers, with 50 requests a day and community support. Pay-as-you-go opens 500+ models and 80+ providers with no minimum spend, but shared credits add a 5.5% platform fee. The credit-purchase fee has a $0.80 minimum, and crypto funding carries 5%.
Enterprise keeps the 500+ model and 80+ provider catalog, adds invoicing, managed controls, optional dedicated limits, a contractual SLA, and a shared Slack support channel. Pricing uses custom volume commitments and can include fee discounts. It is a procurement tier, not a public per-seat subscription.
BYOK changes the decision. Pay-as-you-go includes $25,000 a month of list-price BYOK inference without an OpenRouter fee, then charges 5% above it. Enterprise raises the no-fee allowance to $200,000 a month, then applies 5%. A company that already owns direct provider accounts can therefore use OpenRouter's control layer without paying the shared-credit percentage while it remains inside the allowance.
The cost feature is provider selection. OpenRouter can sort eligible providers by price, enforce a maximum price, and fall back when a route fails. Its beta response cache returns exact matching requests without billable usage and works across models, but it is not a semantic cache. Price sorting saves money only if provider interchangeability holds for the workload's quality, data policy, latency, and availability requirements.
On an unchanged $800 provider bill, shared credits add $44 and produce an $844 total. OpenRouter must therefore recover more than $44 through a cheaper eligible provider, cache hits, lower failure cost, or simpler operations to beat direct billing. If one provider already serves the workload reliably at the contracted rate, the marketplace is optional overhead.
The detailed fee floors, BYOK rules, funding risks, and routing comparison live in the OpenRouter pricing breakdown. The practical verdict here is narrower: OpenRouter is a savings tool when the team actively uses its market, not when it places the same request behind one more URL.
Best for: Teams that genuinely move among providers or model families and can measure the saving from that choice.
Standout: Price-sorted routing across 500+ models and 80+ providers, with large no-fee BYOK allowances.
Pricing: Free $0; Pay-as-you-go model prices plus 5.5% on shared credits; Enterprise custom with fee discounts available.
Free trial: An ongoing Free plan with 25+ free models and 50 requests/day.
- The broadest provider marketplace in this shortlist.
- Routing can sort by price, cap price, and fall back.
- BYOK has no gateway fee through $25,000/month on Pay-as-you-go or $200,000/month on Enterprise.
- Exact response-cache hits report zero billable usage.
- Shared credits add 5.5% even when the underlying route does not change.
- The $0.80 minimum makes small credit purchases more expensive than the headline percentage.
- Exact caching does not capture differently worded requests.
- Provider switching can change latency, policy, or output quality even when the model name matches.
Who should pick what
Vercel is the default for a team that wants managed routing and no public token markup. The choice flips away from Vercel when the current model discount expires and the remaining controls no longer save more than direct access, or when a team-wide policy and trace configuration makes the add-on bill material.
LiteLLM is the call when self-hosting is required or an existing platform team can absorb the gateway at low marginal cost. The choice flips to managed when LiteLLM creates a new operational owner, a new pager, or an Enterprise quote larger than the hosted alternative's complete bill.
Cloudflare wins when request bodies repeat exactly, the cached response is safe to reuse, and BYOK fits. The choice flips to TrueFoundry when varied wording carries the same intent and a measured semantic cache can clear the quality bar. It flips back to no cache when freshness, personalization, or tenant context makes reuse unsafe.
TrueFoundry wins managed semantic reuse only after a real evaluation proves enough accepted cache hits to cover its tier. Portkey wins when the team needs a lower-cost hosted production control plane and can live within its request economics. OpenRouter wins when provider price sorting or BYOK consolidation saves more than its fee.

The strongest default may still be no gateway. A stable, high-volume workload on one provider with good native budgets, low failure cost, and little repeated content has no obvious gateway saving. Add a control plane only when a named routing, cache, governance, or operating benefit exceeds its full cost.
How these were picked
The ranking weights the economics a buyer can verify: 35% for the public gateway cost and fee transparency, 30% for a credible mechanism that removes model spend, 20% for the production wall, and 15% for operating burden and migration friction.
Pricing pages, plan comparisons, feature documentation, cache behavior, request limits, and the GPT-5.6 Sol change were live-verified on August 24, 2026. The publishing pipeline captures a real pricing-page screenshot for every ranked gateway. The tools were not exercised with production traffic in this run, so no latency, uptime, cache-hit, or output-quality result is presented as a test.
Six gateways made the final cut because each has a distinct, auditable cost job. Vercel removes the managed platform markup and currently discounts a major model. LiteLLM removes the license line through self-hosting. Cloudflare removes exact repeat calls. TrueFoundry targets semantic repeats. Portkey sells a legible managed step-up. OpenRouter exposes provider price competition.
A feature was not counted as a saving merely because a vendor describes it as optimization. The cost math uses a stated workload, a named price, and an explicit cache assumption. Any company applying the rankings should replace those inputs with its own model mix, accepted-output rate, and operator cost before signing an annual agreement.
The ones to avoid
Kong AI Gateway for a greenfield cost-first deployment
Kong AI Gateway is not the first choice when reducing inference cost is the only goal. Kong's current pricing gives Konnect a 30-day trial, then makes paid AI Gateway plugins an add-on on Plus and charges $100 a month for each unique model proxied by AI plugins, with a five-model limit. Five models create a $500 monthly proxy line before inference usage and other platform costs.
That does not make Kong a bad platform. A company already standardizing APIs, security, and service governance on Kong may find the incremental AI controls cheaper than adding another vendor. The advice is narrower: do not introduce a broad API platform into a greenfield AI stack solely to chase token savings when zero-markup and free-core gateways exist.
A homegrown proxy with no owner
A thin internal proxy looks free until it owns retries, provider changes, budgets, logs, secrets, and incidents. Build one only when the workload is stable enough to keep the surface small and a named team already owns the service. Otherwise the proxy hides its cost in engineering time while providing fewer controls than the managed options.
Any gateway on a one-provider workload with no reusable responses
Routing breadth has no value when traffic never moves. Exact and semantic caches have no value when every request needs a fresh answer. If native provider budgets and logs are sufficient, the direct API has the fewest billing layers and the smallest failure surface.
A permanent plan built on the September discount
Vercel's current Sol promotion is the best immediate deal in this ranking and the easiest one to misuse. Treat September 18 as a forced reprice. The architecture should survive at provider list rates even if the promotion is the reason to run the migration test now.
The Monday move: put one workflow on a cost-per-accepted-result sheet
Choose one production workflow that generated a meaningful model bill last week and can be judged with a binary acceptance rule. Export its input tokens, output tokens, provider spend, retries, and accepted results. Keep personal, confidential, and customer data out of any evaluation set that is not approved for the chosen route.
Route 10% of next week's traffic through the gateway whose mechanism matches the workload. Use Vercel for the managed Sol price window, Cloudflare for proven exact repeats, TrueFoundry for varied but equivalent questions, LiteLLM for an existing self-hosted platform, Portkey for a low-entry managed control layer, or OpenRouter for genuine provider price competition.
Set a hard budget on the isolated key and define a stop condition before the first request. Stop if accepted-result rate falls, cache safety fails, a provider route violates policy, or the total gateway line exceeds the savings. At the end of the week, divide model spend, platform fees, paid controls, retries, and review cost by accepted results.
The Monday output is one decision finance and engineering can share: keep, switch, or remove the gateway. If Vercel wins, add a September 18 reprice to the calendar. If a cache wins, ship the cache only for the request classes that passed. If none wins, keep direct access and avoid paying for optional complexity.
Frequently asked questions
How much does Cloudflare AI Gateway cost?
Cloudflare's core AI Gateway analytics, caching, and rate limiting are free on all plans. Workers Free stores 100,000 logs across all gateways; Workers Paid stores 10 million per gateway. Unified Billing adds 5% to purchased credits, while provider prices pass through without markup. Logpush and guardrail inference can create separate charges.
Which AI gateway is the best?
Vercel AI Gateway is the best managed overall choice on August 24, 2026 because it combines zero public token markup with a current 50% GPT-5.6 Sol discount through September 18. LiteLLM is better for teams that already operate self-hosted infrastructure, Cloudflare for exact-repeat caching, TrueFoundry for managed semantic caching, Portkey for a $49 production entry, and OpenRouter for provider price sorting.
Is there a free plan for Cloudflare AI Gateway?
Yes. Core analytics, caching, and rate limiting are free, and the Workers Free log allowance stores 100,000 records total across all gateways. The free account limit is 10 gateways. Provider inference still costs money, and optional Unified Billing, guardrails, or paid logging features can add charges.
Get the AI Tools Map for Business Owners
Turn this gateway decision into a complete adoption stack with a cost trigger and quality floor for every tool. Subscribe to get the AI Tools Map free.
Aug 24, 2026







