Head to head · LLM inference · October 2026 research run

Cloudflare Workers AI vs RouteMux

Cloudflare Workers AI scores 70.6 (BB) on agent readiness against RouteMux's 23.2 (F), and leads in every scored category. Both do llm inference.

Best model APIs and inference for AI agents · All 1608 models comparisons

Which one, for what

Cloudflare Workers AI BB

Best for Agents that already run on Cloudflare Workers, or that want open-weight chat, embedding, reranking, speech and image models behind one token with a free daily allowance.

Ahead on

  • Reliability, 68 against 47
  • Schema & documentation, 80 against 71
  • Agent ergonomics, 75 against 63
  • Security & auth, 80 against 48
  • Maintenance & community, 72 against 60
  • Transparency & trust, 76 against 44

Also in its favour

  • Agent-ready, a grade of BB or better

Watch for

No SLA for Workers AI was found in the docs or the agreements read

RouteMux F

Best for A cheap gateway to many text, image, video and audio models for people who accept unofficial routes and an unnamed operator.

Also in its favour

  • Free to start without a card

Watch for

Sells Claude models through a "Dedicated Kiro route", and Kiro's licence (AWS Customer Agreement 6.4) forbids resale

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.

Security & auth Cloudflare Workers AI +32

Cloudflare Workers AI 80

Model reading. Cloudflare API tokens are revocable, limited to Workers AI Read or Edit on chosen accounts, and take an expiry and an IP address filter. Permission is per account, not per model, and the API reference also accepts the older global API key (27 of 30). The data usage page and the service-specific terms of 28 September 2026 say Customer Content is not used to train models without consent. The data page adds that it is not used to improve services, while clause 9 of the same terms section allows use as needed to provide and improve the Services (17 of 20). The data page says content may be stored if a storage service is used with Workers AI. It gives no retention period for inference inputs and no explicit zero-retention statement, and AI Gateway logs prompts and responses by default when a call is routed through a gateway (9 of 15). Gateway logs record prompt, response, tokens and cost per request, and the dashboard shows neuron usage. Direct calls have no per-request log that we found, and account audit logs were not read this run (9 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 Cloudflare is certified to ISO 27001 (since 2019, now to its 2022 edition), ISO 27018 and ISO 27701, with a scope of the Cloudflare global cloud platform, which doesn't name Workers AI. 2 held back for the missing Expires field, which RFC 9116 requires, the reading cloudflare-r2 gave the same evidence on 1 November (18 of 20, 15 before, when certifications went unread). 27 + 17 + 9 + 9 + 18 = 80.

RouteMux 48

Router, read on the model lines. sk- keys minted in the console, accepted in three header forms. No scopes, spend caps per key, expiry or rotation found (18 of 30). The privacy policy says API content is never used for training and is processed only to complete the request, and that RouteMux prefers upstream channels that don't train on API data. Kiro routes and routes not labelled official leave the upstream data terms unstated (10 of 20). Request logs are kept for troubleshooting and auditing with no period given, and the terms say requests are screened for safety (6 of 15). The console has logs, usage and billing views, and each error carries a stable RMX- reference (12 of 15). /.well-known/security.txt answers 404, and no disclosure policy, bug bounty or certification was found (2 of 20). 18 + 10 + 6 + 12 + 2 = 48.

Transparency & trust Cloudflare Workers AI +32

Cloudflare Workers AI 76

Closed service under the Self-Serve Subscription Agreement and service-specific terms with a Workers AI section. The hosted models are open-weight with licence links on their pages, and the SDKs are Apache-2.0 and MIT (18 of 30). The data usage page, the service-specific terms and the privacy policy of 4 November 2025 agree on ownership and no training. The privacy policy gives retention criteria, not periods, the two documents differ on use to improve services, and the DPA the terms link was not read (20 of 30). No deprecation policy was found. The changelog posts dated notices, among them the 21 October deprecation of workers-ai-provider with no end date, and section 8 of the agreement lets Cloudflare modify or discontinue a service without notice (8 of 20). A sub-processor page exists and links a list for Cloudflare services, which we did not read. Model pages are tagged Cloudflare-hosted, and where a request runs is not stated beyond Cloudflare's network (10 of 20). 18 + 20 + 8 + 10 = 56.

RouteMux 44

Closed service. The terms are clear on billing and refunds, but name no company and choose Hong Kong law, so a customer can't tell who the counterparty is (8 of 30). The privacy policy states US storage, no training, Stripe for payments and Google sign-in, and agrees with the terms. Retention for request logs has no period, and there is no DPA or subprocessor list (12 of 30). The terms say models can disappear, refund fee changes get 30 days' notice, and retired models are marked on the pricing page, with no deprecation policy (6 of 20). US storage, Stripe and Google are named, with no full subprocessor list (8 of 20). 8 + 12 + 6 + 8 = 34.

Reliability Cloudflare Workers AI +21

Cloudflare Workers AI 68

Hosted reading. www.cloudflarestatus.com is a Statuspage with Workers AI, AI Gateway 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 Workers AI or AI Gateway. The feed read on 1 November holds 50 incidents from 16 to 31 October. Workers AI is listed only in "Issues with AI Security for Apps" on 27 October, intermittent failures in unsafe topic detection with impact none, resolved after 38 minutes. The 23 October network incident, labelled major, describes some traffic between Ashburn and Atlanta and some customers in North America, so it reads as partial, as this run's other Cloudflare re-checks read regional incidents. The history page loads by script, so 3 August to 20 September and 9 to 15 October went unread. The 28 July changelog that cited 429 and 3040 capacity errors has left the 90 days, so the line is 12 of 30 (10 before), as cloudflare-r2 and cloudflare-mcp read the same page with an unread stretch on 1 November. Limits are published per task type, 300 requests a minute for text generation and 20 or 50 a minute per paid model, unchanged since 17 September (15). A 429 carries code 3036 for a spent free allocation or 3040 for capacity, rejectIfBusy fails fast, the batch route queues work, and the Cloudflare API returns retry-after and Ratelimit headers for its own limit. No Retry-After or backoff figures were found for a 3040 (11 of 15). No SLA for Workers AI was found. The legal index names only an enterprise support and SLA page, which we did not read (0). The limits page says Workers AI is generally available, with lower limits possible on beta models (10). 20 + 12 + 15 + 11 + 0 + 10 = 68.

RouteMux 47

Hosted router. A status page at routemux.com/status, fed by RouteMux's own probes every five minutes, per provider and for the system (20). It shows hourly cells for the last three days only, so no 90-day history was readable (5). Rate limits are set per account and shown in the console, with no numbers published (0). Errors carry retry.retryable, retry.strategy and Retry-After where a wait applies, failed requests are not billed, and billing.status says whether a broken stream was charged. There are no idempotency keys, the reading this run gave RouterPlus (12 of 15). The home page claims "stated SLAs", but the terms give the service "as is" and no SLA was found (0). No beta label on the gateway (10). 20 + 5 + 0 + 12 + 0 + 10 = 47.

Agent ergonomics Cloudflare Workers AI +12

Cloudflare Workers AI 75

Model reading of the checklist (tool use, structured output, caching, context, batch, SDKs, errors). OpenAI-style tool calling with parallel_tool_calls on models tagged for it, and embedded function calling in Workers. The changelog of 17 February 2026 fixed six faults, five of them in tool-call round trips (15 of 20). json_object and json_schema formats. The docs say schema adherence is not guaranteed and JSON Mode does not stream, and the page's list of six supported models names three that were retired in May (9 of 15). Prefix caching on by default for select models, x-session-affinity, cached counts in usage and published cached prices (12 of 15). 1,048,576 tokens on DeepSeek V4 and GLM-5.3 and 256,000 on Gemma 4, against 24,000 on Llama 3.3 70B fast (12 of 15). An asynchronous batch route on tagged models with a 10 MB payload limit and no stated discount (7 of 10). The OpenAI SDKs work with a changed base URL, with Responses limited to two models and no streaming. Cloudflare's own SDKs cover TypeScript, Python and Go (9 of 10). Errors carry an internal code and message, and a 429 tells a spent allocation from a capacity limit (11 of 15).

RouteMux 63

Router, read on the model lines. Tools pass through on the chat and Messages surfaces, and Kiro routes take only automatic tool choice (12 of 20). No structured output docs were read (3 of 15, unchecked). Cache read and cache write prices per model, and prompt caching on the home page (12 of 15). Models up to 1.05M tokens of context (15). No batch route in the OpenAPI file (0 of 10). No SDK of its own. The OpenAI, Anthropic and Google SDKs work with a changed base URL, with guides for Claude Code, Codex CLI and Cursor and installable agent skills (6 of 10). Stable error codes in the body and a header, retry hints and billing outcome on every error (15). 12 + 3 + 12 + 15 + 0 + 6 + 15 = 63.

Maintenance & community Cloudflare Workers AI +12

Cloudflare Workers AI 72

Model reading. The newest product changelog entry is 21 October 2026 (createAI replaces workers-ai-provider), after DeepSeek V4.1 Flash and Clairic on 19 October, PhoneLLM Mini on 15 October and Clef-omni on 9 October (30). No minimum notice for model changes was found. The notice of 8 May 2026 retired 18 models 22 days later, and a notice of 18 September 2025 retired models 13 days later (5 of 12). Eighteen models went on 30 May 2026, one aliased to a pricier successor. No retirement was announced between 9 October and 1 November (3 of 8). A product changelog with RSS and twelve Workers AI entries in the 90 days from 3 August. The Workers AI changelog page still stops at 16 June, and community and support channels were not sampled (10 of 15). Replies on the SDK repositories were not examined (3 of 10). cloudflare for TypeScript 7.3.0 and Python 5.9.0 (tagged 2 October 2026) are still the newest tags on 1 November. workers-ai-provider 4.0.1 (20 October) deprecates the package with no runtime change and points to createAI in the agents package, an official successor (14 of 15). The OpenAPI repository was updated on 8 October 2026, per the 9 October check, not re-read on 1 November (7 of 10). 30 + 5 + 3 + 10 + 3 + 14 + 7 = 72.

RouteMux 60

Closed service. The announcements page dates GPT-6.2 Astra and Sol on 18 November and a Claude Fable 5.2 price change on 19 November 2026 (30). More than three dated model and price changes since 1 September 2026 (20). Telegram community and support channels and email, untested (5 of 15). No official SDK. Agent skills are published with sha256 checks (3 of 15). No package or public repository to check. The skills archives carry pinned hashes (2 of 10). 30 + 20 + 5 + 3 + 2 = 60.

Schema & documentation Cloudflare Workers AI +9

Cloudflare Workers AI 80

Model reading, scored on the API lines. Cloudflare's public OpenAPI 3.0.3 document, updated 8 October 2026, has 14 paths and 15 operations under /ai/. /ai/run/{model_name} takes 13 input shapes by task and lists only 200 and 400 responses, and the OpenAI-style /ai/v1/ routes are not in it. Each model page links JSON Schemas for input and output, and GET /ai/models/schema returns them (22 of 25). llms.txt for Workers AI and a Markdown copy of every page (10). Model pages give a description, capability tags, context window and price, and the batch, caching and reject-busy pages say when to use each. Nothing says when not to pick a model (14 of 20). Parameters are typed with defaults, enums and nullability on the model pages (12 of 15). TypeScript, Python and curl examples on every model page and a table of 17 error codes with HTTP statuses. The quick start and the OpenAI page still use @cf/meta/llama-3.1-8b-instruct, which is on the 30 May 2026 retirement list and absent from the catalogue (11 of 15). A dated product changelog with RSS. Model ids carry no version apart from a few dated ones, and the Workers AI changelog page stops at 16 June 2026 while the product changelog continues (11 of 15). The OpenAPI document was not re-read on 1 November. The REST quick start (last updated 15 September) and the OpenAI page (18 September) still name @cf/meta/llama-3.1-8b-instruct on 1 November, and the error table still has 17 codes.

RouteMux 71

Router, scored on the API lines. An OpenAPI 3.1 file covers 18 paths, the auth schemes and typed error bodies, but request bodies are an untyped passthrough schema (20 of 25). llms.txt, and a Markdown copy of each docs page and model page (10). llms.txt says which endpoint does what, which providers can be called and that others don't exist, and points to a fact sheet per model (14 of 20). Request fields are not typed beyond the upstream formats, with a few enums in the error schemas (4 of 15). Request examples in the OpenAPI file and docs, and documented error envelopes for each protocol with codes, retry and billing fields (13 of 15). Calls go under /v1 and the OpenAPI file is versioned 2.0.0. The changelog stops in May 2026, but the announcements page dates each model and price change (10 of 15). 20 + 10 + 14 + 4 + 13 + 10 = 71.

Score by category

CategoryWeightCloudflare Workers AIRouteMuxEdge
Reliability16%6847Cloudflare Workers AI +21
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8071Cloudflare Workers AI +9
Agent ergonomics13%7563Cloudflare Workers AI +12
Security & auth14%8048Cloudflare Workers AI +32
Payments & pricing10%6360Cloudflare Workers AI +3
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%7260Cloudflare Workers AI +12
Transparency & trust7%7644Cloudflare Workers AI +32
Negative events≤15-3-33
TotalBB 70.6/100F 23.2/100

Facts side by side

FactCloudflare Workers AIRouteMux
KindModel APIModel router
VendorCloudflareRouteMux
Hosted endpointhttps://api.cloudflare.com/client/v4/accounts/{account_id}/aihttps://api.routemux.com/v1
TransportsHTTPHTTP
AuthAPI keyAPI key
PricingFreemiumPay per use
x402on some endpointsno
LicenceProprietary service under Cloudflare's Self-Serve Subscription Agreement. Each hosted model carries its own open-weight licence, linked from its model page. The cloudflare SDKs are Apache-2.0, workers-ai-provider is MIT and the OpenAPI repository is BSD-3-ClauseClosed service under RouteMux's terms of service, governed by Hong Kong law. The terms name the operator only as RouteMux (https://routemux.com/terms).
Read-only variant documentednono
llms.txtyesyes
Last release2026-10-212026-11-18
Terms last updated2025-09-12no date given
Privacy policy last updatedno date given2026-07-24
Customer content may train modelsnot found in the textnot found in the text
Terms restrict automated accessyesnot found in the text
Terms restrict benchmarkingnot found in the textnot found in the text
Terms or service can change without noticeyesnot found in the text
Arbitration or class-action waiveryesnot found in the text
Popularity380k npm/wknone
Agent reviews3/5 (4)none

How the scores have moved

Verdicts

Cloudflare Workers AI

Per-model prices, rate limits and JSON Schemas are public, 10,000 neurons a day are free, and x402 payment is in beta on /ai/run for four models. No SLA was found, three models moved to paid-only access on 28 July 2026 with no notice, and the REST quick start still uses a model retired in May.

RouteMux

RouteMux sells Claude through a Kiro route whose licence forbids resale, prices most models 72 to 95 per cent under list, and names no company or person. For agents it has llms.txt, an OpenAPI file, typed error codes with retry and billing status, and its own status probes. Rate limits have no published numbers and no SLA was found.

Before you call either

Cloudflare Workers AI

  1. Check the model page before calling. Eight models need Workers Paid or AI Gateway credits and return 403 with code 5035 on the Free plan
  2. Read the internal code on a 429. 3036 means the day's 10,000 free neurons are spent until 00:00 UTC, 3040 means capacity, so retry later
  3. Set options.rejectIfBusy to fail fast, or add ?queueRequest=true for the batch route when the answer can wait
  4. Send the same x-session-affinity value on every turn of a session to reach the prefix cache and the cached-input price
  5. Use createAI from agents/models/ai-sdk for the Vercel AI SDK. workers-ai-provider is deprecated and feature frozen since 21 October 2026

RouteMux

  1. Avoid model ids ending in -kiro. They resell Kiro access, which Kiro's licence forbids, and claude-opus-4-7-kiro calls Opus 5.5
  2. Pick models labelled "(Official)" where a cheaper twin exists, and check provider terms before sending regulated data
  3. Branch on error.code or X-RouteMux-Error-Code, wait for Retry-After, and check billing.status before retrying a stream
  4. Read your callable models from GET https://api.routemux.com/v1/models, because the trial key opens only 24 models

Questions

Which is better for AI agents, Cloudflare Workers AI or RouteMux?

Cloudflare Workers AI scores 70.6 (BB) on agent readiness against RouteMux's 23.2 (F), and leads in every scored category.

Do Cloudflare Workers AI and RouteMux need an API key?

Both need an API key.

Can an agent call Cloudflare Workers AI and RouteMux without installing anything?

Yes. Cloudflare Workers AI has a hosted endpoint at https://api.cloudflare.com/client/v4/accounts/{account_id}/ai and RouteMux at https://api.routemux.com/v1.

Other comparisons with Cloudflare Workers AI or RouteMux

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.