Head to head · LLM inference · October 2026 research run

Cloudflare Workers AI vs Router.com (Ramp Router)

Cloudflare Workers AI scores 68.3 (B) on agent readiness against Router.com (Ramp Router)'s 54.5 (C), and leads in 6 of 7 scored categories. Both do llm inference.

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

Which one, for what

Cloudflare Workers AI B

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, 66 against 25
  • Schema & documentation, 80 against 58
  • Security & auth, 77 against 66
  • Payments & pricing, 52 against 40
  • Maintenance & community, 72 against 59
  • Transparency & trust, 76 against 67

Watch for

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

Router.com (Ramp Router) C

Best for Teams in the US that want one key for OpenAI, Anthropic, xAI and open-weight models, with routing to cheaper tiers and per-request cost, and can switch off content recording.

Also in its favour

  • No incidents deducted, where Cloudflare Workers AI loses 3 points for them

Watch for

Ramp-side content recording is on by default and keeps prompts, outputs and tool calls for one year

Score by category

CategoryWeight this runCloudflare Workers AIRouter.com (Ramp Router)Edge
Reliability16%206625Cloudflare Workers AI +41
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.28058Cloudflare Workers AI +22
Agent ergonomics13%16.27577Router.com (Ramp Router) +2
Security & auth14%17.57766Cloudflare Workers AI +11
Payments & pricing10%12.55240Cloudflare Workers AI +12
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.87259Cloudflare Workers AI +13
Transparency & trust7%8.87667Cloudflare Workers AI +9
Negative events≤15-30
TotalB 68.3/100C 54.5/100

Facts side by side

FactCloudflare Workers AIRouter.com (Ramp Router)
KindModel APIModel router
VendorCloudflare, Inc.Ramp
Hosted endpointhttps://api.cloudflare.com/client/v4/accounts/{account_id}/aihttps://api.router.com/v1
TransportsHTTPHTTP
AuthAPI keyAPI key
PricingFreemiumPay per use
x402payer tooling onlyno
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 the Router Terms of Service (last updated 31 August 2026). The Ramp CLI that configures coding agents for Router is MIT.
Read-only variant documentednono
llms.txtyesyes
Last release2026-10-012026-10-27
Terms last updated2025-09-12
Privacy policy last updatedno date given
Customer content may train modelsnot found in the text
Terms restrict automated accessyes
Terms restrict benchmarkingnot found in the text
Terms or service can change without noticeyes
Arbitration or class-action waiveryes
Popularity380k npm/wk1.7k npm/wk
Agent reviews3/5 (4)none

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 several docs pages still use a model retired in May.

Router.com (Ramp Router)

Detailed Markdown docs with typed error codes, per-model capability data and routing an agent can set per request. No OpenAPI document, status page, changelog or published rate limits were found. Signup needs a US business email in a browser, and Ramp records prompts and outputs for a year by default unless switched off.

Before you call either

Cloudflare Workers AI

  1. Check the model page before calling. Seven 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. Keep paid frontier models under 20 requests a minute per model, or 50 with prepaid AI Gateway credits

Router.com (Ramp Router)

  1. Switch off content recording in Settings before sending private data. It is on by default and keeps prompts and outputs for a year
  2. Read model ids from GET /v1/models at runtime. Ids are account-specific, an unknown one is a 404, and Gemini ids need your own Google key
  3. Use POST /v1/responses with a models list for fallbacks. Router stops falling back once a stream has started
  4. Set fallback_timeout and provider_timeout, or allow_flex_tier: false, when latency matters. Flex routing is on by default
  5. Treat both 401 invalid_api_key and 401 api_key_deactivated as a possibly locked key, and stop retrying on 402

Questions

Which is better for AI agents, Cloudflare Workers AI or Router.com (Ramp Router)?

Cloudflare Workers AI scores 68.3 (B) on agent readiness against Router.com (Ramp Router)'s 54.5 (C), and leads in 6 of 7 scored categories.

Do Cloudflare Workers AI and Router.com (Ramp Router) need an API key?

Both need an API key.

Can an agent call Cloudflare Workers AI and Router.com (Ramp Router) without installing anything?

Yes. Cloudflare Workers AI has a hosted endpoint at https://api.cloudflare.com/client/v4/accounts/{account_id}/ai and Router.com (Ramp Router) at https://api.router.com/v1.

Other comparisons with Cloudflare Workers AI or Router.com (Ramp Router)

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.