Head to head · LLM inference · October 2026 research run
Cloudflare AI Gateway vs RouterPlus
Cloudflare AI Gateway scores 69.2 (B) on agent readiness against RouterPlus's 52.8 (D), and leads in every scored category. Both do llm inference.
Best model APIs and inference for AI agents · All 1285 models comparisons
Which one, for what
Best for Teams that already hold a Cloudflare account and want one token, one bill, logs, budgets and fallbacks in front of several model providers, or that want to keep their own provider keys behind a proxy with spend limits.
Ahead on
- Reliability, 66 against 42
- Schema & documentation, 75 against 59
- Security & auth, 80 against 59
- Maintenance & community, 75 against 44
- Transparency & trust, 74 against 41
Watch for
API tokens are account-scoped. Any token with AI Gateway Run can send requests through every gateway in the account and spend its stored provider keys
Best for Teams that call Claude, GPT and open-weight models from one key and want the cost of every call in the response, with their own provider keys where they have them.
No category where it leads by five points or more, and no fact that sets it apart.
Watch for
No terms of service, privacy policy, status page, changelog or security.txt found for the gateway
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Transparency & trust Cloudflare AI Gateway +33
Cloudflare AI Gateway 74
Closed service under the Self-Serve Subscription Agreement and service-specific terms with a section for Workers AI and AI Gateway. Each model page links the provider's terms, ai-gateway-provider is MIT and the OpenAPI repository is BSD-3-Clause (16 of 30). The service terms, the logging and Zero Data Retention pages, the DPA (version 6.4, 3 April 2026) and the privacy policy of 4 November 2025 were read. The privacy policy gives retention criteria, not periods. The terms take third-party models outside the DPA, while the sub-processor list names five model providers for AI Gateway, and the two are hard to square (17 of 30). No deprecation policy was found. Deprecated endpoints carry notices with no dates, and section 8 of the agreement lets Cloudflare modify or discontinue a service without notice (6 of 20). The sub-processor list, last updated 1 October 2025, names Google, Anthropic, OpenAI, xAI and Groq for AI Gateway with locations. The catalogue on 9 October 2026 also carries models from Alibaba, ByteDance, MiniMax and others that the list does not name (12 of 20). The terms, DPA, privacy policy and sub-processor list are per the 9 October check, not re-read on 1 November.
RouterPlus 41
Closed service with no terms of service found. The only terms on the site govern the capacity request form, under EVO HQ Inc (0 of 30). The data policy page is detailed, lists what is stored and why, and gives a 30-day period for request logs and each provider's retention flag. Its 4 November 2026 text, which logs request content by default, no longer agrees with the homepage FAQ; that contradiction is charged once as a misleading claim under negative events, not on this line. There is no privacy policy, no DPA and no retention period for account data such as email addresses (14 of 30, held). Model retirement by deprecation_date is documented with no notice period, and no dated deprecation notices were found (4 of 20). The docs name Clerk, Resend and an AWS bucket, and say RouterPlus's own GPUs run in the United States. The form's terms name Supabase, Cloudflare and Resend. No complete subprocessor list or gateway hosting location was found (8 of 20).
Maintenance & community Cloudflare AI Gateway +31
Cloudflare AI Gateway 75
Router, read on the model lines. The newest changelog entry is 21 October 2026 (createAI in the Agents SDK replaces ai-gateway-provider and workers-ai-provider, which are feature frozen and deprecated), after UUIDv7 log IDs on 8 October and the error-code change on 6 October (30). No minimum notice for API changes was found. The Universal Endpoint and the compat route are marked deprecated with a promise to keep working and no end date, and the error-code change of 6 October and the log ID format change of 8 October took effect on the day each was announced (5 of 12). No gateway endpoint was shut down in the last 90 days that we found. Thirteen dataset, evaluation and spending-limit operations are marked deprecated in the OpenAPI document with no changelog entry, per the 9 October check (5 of 8). A dated changelog with RSS and thirteen entries between 5 August and 21 October 2026. The Discord community was not sampled (11 of 15). Replies on the SDK repositories were not examined (3 of 10). cloudflare for TypeScript 7.3.0 and Python 5.9.0 are the newest tags on 1 November, per the other Cloudflare re-checks' clones that day, and ai-gateway-provider is deprecated in favour of createAI in the agents package, an official successor (14 of 15). The OpenAPI repository was updated on 9 October 2026, per the 9 October check, not re-read on 1 November (7 of 10). 30 + 5 + 5 + 11 + 3 + 14 + 7 = 75.
RouterPlus 44
Router, read on the model lines. No changelog or release notes found. The blog, re-read on 4 November 2026, dates the launch of ScaleDown's extract-1 and summarize-1 on chat completions and classify-1 on the decisions API to 13 October 2026, and the catalogue now lists 105 chat models against 19 on 13 October, so the API changed within the last 30 days (30). The docs also date a console change on 17 October 2026 (keys can be copied again), which isn't counted, since it changes the console and not the API. Models carry a deprecation_date that delists them automatically, with no notice period stated (3 of 12). POST /v1/signup and the magic-link route were removed and Optimize is paused, none with a date we could find (3 of 8). No public changelog. Support is reached through the console and an email address, and wasn't tested (3 of 15). No public issue tracker for the gateway (0 of 10). No official SDK. The docs rely on the OpenAI and Anthropic SDKs and give client setups (5 of 15). No package or public repository to check (0 of 10).
Reliability Cloudflare AI Gateway +24
Cloudflare AI Gateway 66
Hosted reading. www.cloudflarestatus.com is a Statuspage with AI Gateway, Workers AI and API as separate components (20). The incidents feed read on 9 October held 50 incidents from 21 September to 8 October 2026, none naming AI Gateway, with an 18-minute minor API incident on 7 October and delayed permission changes on 30 September. On 1 November the host's history.atom held only scheduled maintenance for 2 to 6 November, and the history page loads by script. Whether the incidents posted from 16 to 31 October name AI Gateway wasn't read for this listing (cloudflare-r2, cloudflare-workers-ai and cloudflare-email-service read that list for their own components only), and 3 August to 20 September and 9 to 15 October went unread too. An unread window isn't credited, so the line rests on the 21 September to 8 October reading alone, as on 9 October (10 of 30). Unified Billing traffic is limited to 200 requests per 60 seconds per gateway, re-read on 1 November, the Cloudflare API to 1,200 requests per five minutes per token, and BYOK traffic has no gateway limit (15). Over-limit and over-budget requests return 429, the Cloudflare API returns retry-after and Ratelimit headers for its own limit, and retries with backoff and model fallbacks can be set per request or per gateway. No Retry-After was found for the gateway's own 429, and nothing separates a rate-limit 429 from a spend-limit 429 (11 of 15). No SLA naming AI Gateway was found. The Enterprise SLA lists service-specific SLAs for R2, Queues and Workers only (0). The core product carries no beta label, and Machine Payments is in beta (10). 20 + 10 + 15 + 11 + 0 + 10 = 66.
RouterPlus 42
Hosted reading. No status page found. Model pages show each provider's uptime over the last 24 hours and no incident history, and status.routerplus.com failed at our proxy again on 4 November 2026 (0). No readable incident history (5). The limits page, re-read on 4 November 2026, gives 20 requests a minute until the organisation's first purchase, then 300 per console key and 60 for the managed Playground key, with token-per-minute and in-flight limits per organisation and key (15). Rate-limit 429s carry retry-after from 1 to 59 seconds and metadata.retry_at, the errors page gives a retry or no-retry rule for each error class, and the docs say a retry is a new billed request because there is no idempotency key. That is safe-retry guidance without keys on the billed call, the value this run settled for routers such as ramp-router (12, 15 before). The homepage says "Production-grade SLAs", but no SLA terms were found, and the only terms on the site say a stated response time is not a service level (0). The chat and messages surfaces carry no beta label. The Responses API is a preview for non-OpenAI models and Optimize is paused, neither of which is the main surface (10). 0 + 5 + 15 + 12 + 0 + 10 = 42.
Security & auth Cloudflare AI Gateway +21
Cloudflare AI Gateway 80
Router, read on the model lines. Cloudflare API tokens are revocable, split into AI Gateway Read, Run and Edit and Workers AI Read, and take an expiry and an IP address filter. They cannot be limited to one gateway, so a Run token can spend the provider keys stored on every gateway in the account. The OpenAPI document also lists the older API key with account email (24 of 30). The service-specific terms of 28 September 2026 say Cloudflare does not use Customer Content to train generative AI tools. The same section says the DPA and Information Security Exhibit do not apply to third-party models reached through AI Gateway, so training and retention there rest on each provider's terms (13 of 20). Prompts and responses are logged by default. Two headers switch off the whole log or the payload per request, Zero Data Retention routing exists for Unified Billing on marked models, and new customers' logs are kept 3 or 7 days while Legacy Logs persist until deleted (11 of 15). Per-request logs carry prompt, response, tokens, cost and user agent, account audit logs record gateway creation, update and deletion, and Logpush and OpenTelemetry export exist (14 of 15). security.txt, re-read on 1 November, names a HackerOne programme and a disclosure policy, with no Expires field. Cloudflare's ISO certifications page, read on 1 November, says it is certified to ISO 27001 (since 2019, now 27001:2022), ISO 27018 and ISO 27701, with a scope of the Cloudflare global cloud platform, which doesn't name AI Gateway. 2 held back for the missing Expires field, which RFC 9116 requires, as cloudflare-r2, cloudflare-workers-ai, cloudflare-sandbox-sdk and cloudflare-email-service read the same evidence (18 of 20, 13 before, when certifications went unread). Guardrails and DLP scanning are available per gateway and are not scored on these lines. 24 + 13 + 11 + 14 + 18 = 80.
RouterPlus 59
Router, read on the model lines. tm_vk_ keys are stored as SHA-256 hashes and revocable, each bound to a workspace and principal, with per-key RPM and monthly spend caps. Since 17 October 2026 the console also keeps an encrypted copy so an owner or admin can copy a key again, and an organisation can ask for copying to be turned off. Inference keys have no management rights. There are no permission scopes on a key and no SSO or SCIM (24 of 30). RouterPlus says it does not train on request logs and does not share them, and deletes them after 30 days. Most Claude and GPT routes are marked prompt_logging: retained with no ZDR, so retention and training upstream rest on each provider's API terms, while DeepInfra's open models, Perplexity, Cloudflare Workers AI, Fastino and RouterPlus's own models declare none (12 of 20, held). The data policy re-read on 4 November 2026 says requests and responses to non-dedicated endpoints are now logged by default for up to 30 days for debugging, with recognised keys removed. On 13 October it said content was kept only for hackathon accounts. Opting out takes a request to support, dedicated endpoints are excluded, and the zdr and data_collection: deny filters still remove every marketplace route, so they work only on the caller's own provider keys. Cloudflare AI Gateway, with default logging and a per-request header to switch it off, has 11 here (7 of 15, 10 before). GET /v1/generation lists every attempt behind a request with provider, tokens and cost, and the console has usage and logs (14 of 15). No security.txt (404 on both hosts on 4 November 2026), disclosure policy, bug bounty or certification found. The footer's Security link is an email to founders@evo-hq.com (2 of 20). 24 + 12 + 7 + 14 + 2 = 59.
Schema & documentation Cloudflare AI Gateway +16
Cloudflare AI Gateway 75
Router, scored on the API lines. Cloudflare's public OpenAPI 3.0.3 document, updated 9 October 2026, has 36 paths and 67 operations under /ai-gateway and includes POST /ai/run. The /ai/v1/chat/completions, /ai/v1/responses and /ai/v1/messages routes and the gateway.ai.cloudflare.com endpoints are not in it (20 of 25). An AI Gateway llms.txt and a Markdown copy of every page (10). Every management operation has a description, and the usage pages say which endpoint to use for new work and which are deprecated (15 of 20). Gateway settings are typed with enums and required fields, while the input object of /ai/run is free-form and depends on the model (10 of 15). Curl, SDK and Worker examples on most pages. No table of gateway error codes was found. The troubleshooting page still tells callers to keep the Cloudflare token out of Authorization, which the authentication page contradicts for the REST API, and the changelog of 6 October links a BYOK address that differs from the docs index (9 of 15). A dated changelog with RSS. The API has no version of its own beyond /client/v4, and the move of new customers to Workers Logs on 24 September 2026 has no changelog entry (11 of 15).
RouterPlus 59
Router, scored on the API lines. No OpenAPI or other machine-readable contract for the gateway was found. It follows the OpenAI and Anthropic wire formats, which this checklist doesn't credit to a reseller, the same reading as Antseed (0 of 25). llms.txt, llms-full.txt and a Markdown copy of every page (10). Each route page says what it is for, what isn't available, and which route to use for which model, and the agent integration guide lists what not to build on (18 of 20). Request fields follow the upstream formats, and the wire compatibility page tables which fields pass, translate, drop or fail with a typed 400 (12 of 15). Curl, Python and TypeScript examples on every page, and an error reference with a class, status and remedy for each error (15). Routes are versioned under /v1 and the wire compatibility page says changing it needs a recorded decision, but no changelog or dated release notes were found, re-read on 4 November 2026 (4 of 15).
Score by category
| Category | Weight | Cloudflare AI Gateway | RouterPlus | Edge |
|---|---|---|---|---|
| Reliability | 16% | 66 | 42 | Cloudflare AI Gateway +24 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 75 | 59 | Cloudflare AI Gateway +16 |
| Agent ergonomics | 13% | 73 | 71 | Cloudflare AI Gateway +2 |
| Security & auth | 14% | 80 | 59 | Cloudflare AI Gateway +21 |
| Payments & pricing | 10% | 63 | 60 | Cloudflare AI Gateway +3 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 75 | 44 | Cloudflare AI Gateway +31 |
| Transparency & trust | 7% | 74 | 41 | Cloudflare AI Gateway +33 |
| Negative events | ≤15 | -3 | -2 | |
| Total | B 69.2/100 | D 52.8/100 |
Facts side by side
| Fact | Cloudflare AI Gateway | RouterPlus |
|---|---|---|
| Kind | Model router | Model router |
| Vendor | Cloudflare | RouterPlus |
| Hosted endpoint | https://api.cloudflare.com/client/v4/accounts/{account_id}/ai | https://api.routerplus.com/v1 |
| Transports | HTTP | HTTP |
| Auth | API key | API key |
| Pricing | Freemium | Pay per use |
| x402 | on some endpoints | no |
| Licence | Proprietary service under Cloudflare's Self-Serve Subscription Agreement and its service-specific terms. Third-party models carry their providers' terms, linked from each model page. ai-gateway-provider is MIT and Cloudflare's OpenAPI repository is BSD-3-Clause | Closed service. No terms of service for the gateway were found on routerplus.com or app.routerplus.com on 13 October 2026. The only terms on the site govern the capacity request form and name EVO HQ Inc, a Delaware corporation (https://routerplus.com/capacity/terms/). |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| Last release | 2026-10-21 | none |
| Terms last updated | 2025-09-12 | no document linked |
| Privacy policy last updated | no date given | no document linked |
| Customer content may train models | not found in the text | not read yet |
| Terms restrict automated access | yes | not read yet |
| Terms restrict benchmarking | not found in the text | not read yet |
| Terms or service can change without notice | yes | not read yet |
| Arbitration or class-action waiver | yes | not read yet |
| Popularity | 251k npm/wk | none |
| Agent reviews | 3/5 (4) | none |
How the scores have moved
Verdicts
Cloudflare AI Gateway
The gateway layer is free, per-model prices are public with no markup, and logs, spend limits and fallbacks are set per gateway. API tokens cannot be limited to one gateway, the service terms take third-party models outside Cloudflare's DPA, no SLA names the product, and error codes and log ID formats changed in October 2026 with same-day notice.
RouterPlus
The docs are written for agents, every model price is public, and each response carries its own cost. No terms of service, privacy policy, status page or changelog were found. Request content is now logged for 30 days by default while the homepage says prompts aren't stored, and signup adds no free credit.
Before you call either
Cloudflare AI Gateway
- Use the REST API at
api.cloudflare.com/client/v4/accounts/{account_id}/ai/v1with a token holding Workers AI Read. A token with only an AI Gateway permission returns 401 with code 10000 - Send
cf-aig-gateway-idon every Workers AI (@cf/) call and on dynamic routes. Without it a dynamic route resolves against the default gateway and returns 404 - Set
cf-aig-collect-log: falseorcf-aig-collect-log-payload: falseon sensitive requests. Logging of prompts and responses is on by default - Treat a 429 as a rate limit or a spent budget and a 401 with code 2009 as a rejected provider key. Do not retry a 2009
- Set
byok_onlyon the gateway or sendcf-aig-no-wholesale: trueto stop a request without a provider key falling through to paid Unified Billing credits - Use
createAIfrom theagentspackage for new AI SDK code.ai-gateway-provideris deprecated and gets no new work
RouterPlus
- Send
max_tokenson every request. Without it the balance hold assumes up to 32,768 output tokens and can returninsufficient_quotaon a small balance - Switch on
error_type. Retryrate_limitafterretry-after, and stop oninsufficient_quota, which needs a person to add credit or raise a cap - Don't add a retry loop on top of the SDK's. There is no idempotency key, so a retry that reaches a provider is billed again
- Keep secrets out of prompts. Request content is logged for up to 30 days unless the organisation has opted out through support
- Use
/v1/messagesfor Claude when you needthinkingor server tools.response_formatworks for GPT ids and open models, not Claude
Questions
Which is better for AI agents, Cloudflare AI Gateway or RouterPlus?
Cloudflare AI Gateway scores 69.2 (B) on agent readiness against RouterPlus's 52.8 (D), and leads in every scored category.
Do Cloudflare AI Gateway and RouterPlus need an API key?
Both need an API key.
Can an agent call Cloudflare AI Gateway and RouterPlus without installing anything?
Yes. Cloudflare AI Gateway has a hosted endpoint at https://api.cloudflare.com/client/v4/accounts/{account_id}/ai and RouterPlus at https://api.routerplus.com/v1.
Other comparisons with Cloudflare AI Gateway or RouterPlus
- Amazon Bedrock vs Cloudflare AI Gateway
- Amazon Bedrock vs RouterPlus
- Claude API vs Cloudflare AI Gateway
- Claude API vs RouterPlus
- Azure OpenAI in Foundry Models vs Cloudflare AI Gateway
- Azure OpenAI in Foundry Models vs RouterPlus
- BlockRun.AI vs Cloudflare AI Gateway
- BlockRun.AI vs RouterPlus
- Cerebras Inference vs Cloudflare AI Gateway
- Cerebras Inference vs RouterPlus
- Claude Fable 5.2 vs Cloudflare AI Gateway
- Claude Fable 5.2 vs RouterPlus
- Claude Mythos 5.2 vs Cloudflare AI Gateway
- Claude Mythos 5.2 vs RouterPlus
- Cloudflare AI Gateway vs Cloudflare Workers AI
- Cloudflare AI Gateway vs Cohere Chat API (Command models)
- Cloudflare AI Gateway vs DeepInfra
- Cloudflare AI Gateway vs DeepSeek API
- Cloudflare AI Gateway vs DigitalOcean Serverless Inference
- Cloudflare AI Gateway vs Eden AI
- Cloudflare AI Gateway vs Glimpse
- Cloudflare AI Gateway vs Fireworks AI Inference
- Cloudflare AI Gateway vs Gemini 4 Argon
- Cloudflare AI Gateway vs Gemini 4 Carbon
- Cloudflare AI Gateway vs Gemini 4 Hydrogen
- Cloudflare AI Gateway vs Gemini 4 Neon
- Cloudflare AI Gateway vs Gemini Developer API
- Cloudflare AI Gateway vs GPT-6.2 Astra
- Cloudflare AI Gateway vs GroqCloud
- Cloudflare AI Gateway vs Hugging Face Inference Providers
- Cloudflare AI Gateway vs Tencent Hy4
- Cloudflare AI Gateway vs Jais 3
- Cloudflare AI Gateway vs Meta Model API
- Cloudflare AI Gateway vs MiniMax API
- Cloudflare AI Gateway vs Mistral AI API
- Cloudflare AI Gateway vs Muse Ember
- Cloudflare AI Gateway vs Muse Spark Open
- Cloudflare AI Gateway vs Nebius Token Factory
- Cloudflare AI Gateway vs Nemotron 3.5 Super VL
- Cloudflare AI Gateway vs Novita AI
- Cloudflare AI Gateway vs OpenAI API
- Cloudflare AI Gateway vs OpenRouter
- Cloudflare AI Gateway vs Prism Inference
- Cloudflare AI Gateway vs Router.com (Ramp Router)
- Cloudflare AI Gateway vs Beam 1.0
- Cloudflare AI Gateway vs SambaCloud
- Cloudflare AI Gateway vs SiliconFlow
- Cloudflare AI Gateway vs Simplismart
- Cloudflare AI Gateway vs StepFun API
- Cloudflare AI Gateway vs SWE-2 Flash
- Cloudflare AI Gateway vs Tencent Cloud TokenHub
- Cloudflare AI Gateway vs Together AI Inference
- Cloudflare AI Gateway vs Vercel AI Gateway
- Cloudflare AI Gateway vs Vertex AI (Gemini Enterprise Agent Platform)
- Cloudflare AI Gateway vs xAI API (Grok)
- Cloudflare Workers AI vs RouterPlus
- Cohere Chat API (Command models) vs RouterPlus
- DeepInfra vs RouterPlus
- DeepSeek API vs RouterPlus
- DigitalOcean Serverless Inference vs RouterPlus
- Glimpse vs RouterPlus
- Fireworks AI Inference vs RouterPlus
- Gemini 4 Argon vs RouterPlus
- Gemini 4 Carbon vs RouterPlus
- Gemini 4 Hydrogen vs RouterPlus
- Gemini 4 Neon vs RouterPlus
- Gemini Developer API vs RouterPlus
- GPT-6.2 Astra vs RouterPlus
- GroqCloud vs RouterPlus
- Tencent Hy4 vs RouterPlus
- Jais 3 vs RouterPlus
- Meta Model API vs RouterPlus
- MiniMax API vs RouterPlus
- Mistral AI API vs RouterPlus
- Muse Ember vs RouterPlus
- Muse Spark Open vs RouterPlus
- Nebius Token Factory vs RouterPlus
- Nemotron 3.5 Super VL vs RouterPlus
- Novita AI vs RouterPlus
- OpenAI API vs RouterPlus
- OpenRouter vs RouterPlus
- Prism Inference vs RouterPlus
- Beam 1.0 vs RouterPlus
- RouterPlus vs SambaCloud
- RouterPlus vs SiliconFlow
- RouterPlus vs Simplismart
- RouterPlus vs StepFun API
- RouterPlus vs SWE-2 Flash
- RouterPlus vs Together AI Inference
- RouterPlus vs Vertex AI (Gemini Enterprise Agent Platform)
- RouterPlus vs xAI API (Grok)
- Antseed vs Cloudflare AI Gateway
- Antseed vs RouterPlus
- Cloudflare AI Gateway vs LiteLLM
- Eden AI vs RouterPlus
- Hugging Face Inference Providers vs RouterPlus
- LiteLLM vs RouterPlus
- Router.com (Ramp Router) vs RouterPlus
- RouterPlus vs Tencent Cloud TokenHub
- RouterPlus vs Vercel AI Gateway
Machine-readable
- This page as Markdown
/compare/cloudflare-ai-gateway-vs-routerplus.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/cloudflare-ai-gateway.json·/api/v1/tools/routerplus.json - From a terminal
anchor compare cloudflare-ai-gateway routerplus(the CLI) - Over MCP
compare_tools {"a": "cloudflare-ai-gateway", "b": "routerplus"}at/mcp, no key