{
  "data": {
    "a": {
      "slug": "cloudflare-ai-gateway",
      "name": "Cloudflare AI Gateway",
      "vendor": "Cloudflare, Inc.",
      "vendorUrl": "https://www.cloudflare.com",
      "kind": "router",
      "category": "inference",
      "summary": "AI Gateway is Cloudflare's proxy and router for model providers. Agents call OpenAI-style, Anthropic-style or native endpoints on the Cloudflare API, with logging, caching, rate and spend limits, retries, fallbacks and one prepaid credit balance.",
      "url": "https://www.anchorterminal.com/tools/cloudflare-ai-gateway",
      "markdownUrl": "https://www.anchorterminal.com/tools/cloudflare-ai-gateway.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/cloudflare-ai-gateway.min.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/cloudflare-ai-gateway.json",
      "repo": "https://github.com/cloudflare/ai",
      "license": "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",
      "transports": [
        "http"
      ],
      "remoteUrl": "https://api.cloudflare.com/client/v4/accounts/{account_id}/ai",
      "packages": [
        {
          "registry": "npm",
          "name": "ai-gateway-provider"
        },
        {
          "registry": "npm",
          "name": "cloudflare"
        },
        {
          "registry": "pypi",
          "name": "cloudflare"
        }
      ],
      "auth": "api-key",
      "authNotes": "A Cloudflare API token as a Bearer header, created by a person in the dashboard. The `/ai/*` inference routes need Workers AI Read, and the `/ai-gateway/*` management routes need AI Gateway Read or Edit. Provider-native endpoints on `gateway.ai.cloudflare.com` take the token in `cf-aig-authorization`. Tokens can carry an expiry and an IP address filter and cannot be limited to one gateway. Access is self-serve, with no review or sales step.",
      "pricing": "freemium",
      "pricingNotes": "Free on all plans for analytics, caching and rate limiting, with a Cloudflare account. Third-party models are paid from prepaid Unified Billing credits at provider prices plus a 5 per cent fee on each credit purchase, or with the caller's own provider keys at no Cloudflare charge. Logs for new customers follow Workers Logs pricing, 200,000 events a day free. An account on the Free plan starts without a contract (https://developers.cloudflare.com/ai-gateway/reference/pricing/, checked 2026-10-09).",
      "priceSummary": "5% fee",
      "where": "hosted",
      "x402": {
        "level": "partial",
        "evidence": "Machine Payments, in beta since 30 September 2026, takes x402 payment on `POST /ai/run` for four open models when the request carries `Payment-Method: x402`. It needs a Cloudflare API token, a United States account and a card on file. The OpenAI-style and Anthropic-style routes are not covered. We did not call it (https://developers.cloudflare.com/ai-gateway/features/machine-payments/, checked 2026-10-09).",
        "endpoints": [
          {
            "url": "https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/run",
            "priceUsd": null,
            "network": ""
          }
        ]
      },
      "toolCount": null,
      "popularity": {
        "githubStars": null,
        "npmWeekly": 250648,
        "pypiWeekly": null,
        "asOf": "2026-10-09"
      },
      "docsUrl": "https://developers.cloudflare.com/ai-gateway/",
      "llmsTxt": "https://developers.cloudflare.com/ai-gateway/llms.txt",
      "openapi": "https://raw.githubusercontent.com/cloudflare/api-schemas/main/openapi.json",
      "capabilities": [
        "inference.llm",
        "inference.router",
        "obs.gateway",
        "guard.moderation",
        "guard.pii"
      ],
      "tags": [
        "hosted",
        "router",
        "free-tier",
        "usage-based",
        "x402",
        "openapi",
        "llms-txt",
        "openai-compatible",
        "typescript",
        "python",
        "go",
        "status-page",
        "bug-bounty"
      ],
      "lastRelease": "2026-10-06",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 66.9,
        "grade": "B",
        "agentReady": false,
        "rank": 304,
        "ranked": true,
        "rankOf": 1218,
        "categoryRank": 11,
        "methodology": "0.7",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 73,
          "maintenance": 75,
          "payments": 52,
          "reliability": 66,
          "schema": 75,
          "security": 75,
          "transparency": 74
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "medium",
          "date": "2026-10-09"
        },
        "negative": -3,
        "negativeNotes": [
          "6 October 2026. Rejected-credential responses on `POST /ai/run` changed status (ElevenLabs 403, Vertex 500 and other providers' 402 became 401 with code 2009, and Unified Billing rejections became 503) on the day of the changelog entry, with no advance notice found. Three points (https://developers.cloudflare.com/ai-gateway/changelog/)."
        ],
        "verdict": "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 changed on 6 October 2026 with same-day notice.",
        "bestFor": "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.",
        "strengths": [
          "Core gateway functions (analytics, caching, rate limiting) are free on all plans, and provider prices pass through with no markup",
          "One Cloudflare API token reaches 241 catalogue models through OpenAI Chat Completions, OpenAI Responses, Anthropic Messages or the native `/ai/run` route",
          "Spend limits block requests with a 429 once a budget is reached, scoped by model, provider or request metadata, with up to 20 rules a gateway",
          "Logging is switched per gateway and per request, and `cf-aig-collect-log-payload: false` keeps token and cost metadata without storing prompts",
          "x402 payment (Machine Payments, beta since 30 September 2026) works on `POST /ai/run` for four open models"
        ],
        "weaknesses": [
          "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",
          "The service-specific terms say the DPA and Information Security Exhibit do not apply to third-party models reached through AI Gateway",
          "No SLA naming AI Gateway was found. The Enterprise SLA lists service-specific SLAs for R2, Queues and Workers only",
          "On 6 October 2026 rejected-credential responses on `/ai/run` changed to 401 with code 2009, or 503 under Unified Billing, announced the same day",
          "Unified Billing traffic is capped at 200 requests per 60 seconds per gateway, and a 5 per cent fee applies to credit purchases",
          "Section 2.2(e) of the Self-Serve Subscription Agreement bars automated agents that generate automated requests into the Services, which matters before any probe is run"
        ],
        "agentNotes": [
          "Use the REST API at `api.cloudflare.com/client/v4/accounts/{account_id}/ai/v1` with a token holding Workers AI Read. A token with only an AI Gateway permission returns 401 with code 10000",
          "Send `cf-aig-gateway-id` on 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: false` or `cf-aig-collect-log-payload: false` on 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_only` on the gateway or send `cf-aig-no-wholesale: true` to stop a request without a provider key falling through to paid Unified Billing credits"
        ],
        "metrics": {
          "kind": "remote",
          "measured": false
        },
        "reviewCount": 4,
        "avgRating": 3,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "B",
            "methodology": "0.7",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 66.9
          }
        ],
        "editorialScores": {
          "ergonomics": 73,
          "maintenance": 75,
          "payments": 52,
          "reliability": 66,
          "schema": 75,
          "security": 75,
          "transparency": 51
        },
        "provenanceScore": 96,
        "checked": {
          "categories": {
            "ergonomics": "2026-10-09",
            "maintenance": "2026-10-09",
            "payments": "2026-10-09",
            "reliability": "2026-10-09",
            "schema": "2026-10-09",
            "security": "2026-10-09",
            "transparency": "2026-10-09"
          },
          "last": "2026-10-09",
          "lastMoved": "2026-10-27",
          "oldest": "2026-10-09",
          "stale": false,
          "staleAfterDays": 90
        }
      },
      "connect": {
        "http": "curl -X POST \"https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/v1/chat/completions\" \\\n  --header \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n    \"model\": \"openai/gpt-4.1-mini\",\n    \"messages\": [{\"role\": \"user\", \"content\": \"What is Cloudflare?\"}]\n  }'",
        "x402": "curl -iX POST \"https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run\" \\\n  --header \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\" \\\n  --header \"Payment-Method: x402\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\"model\":\"z-ai/glm-4.7-flash\",\"input\":{\"messages\":[{\"role\":\"user\",\"content\":\"What is Cloudflare?\"}]}}'"
      },
      "letme": {
        "capability": "https://letme.dev/inference.llm",
        "tool": "https://letme.dev/cloudflare-ai-gateway"
      },
      "sameCompany": [
        "cloudflare-workers-ai",
        "cloudflare-sandbox-sdk",
        "cloudflare-web-search",
        "cloudflare-clairic",
        "cloudflare-ai-search",
        "cloudflare-cli",
        "cloudflare-mcp",
        "cloudflare-email-service",
        "cloudflare-r2",
        "cloudflare-clef"
      ],
      "area": "models",
      "unitPrices": [
        {
          "item": "Unified Billing credit purchase fee",
          "unit": "pct",
          "usd": 5,
          "note": "a $100 purchase is charged $105"
        },
        {
          "item": "Logpush requests past 10 million a month",
          "unit": "1k-requests",
          "usd": 0.00005,
          "note": "listed as $0.05 per million, Workers Paid only"
        }
      ],
      "provenance": {
        "legalEntity": "Cloudflare, Inc.",
        "domain": "cloudflare.com",
        "domainRegistered": "2009-02-17",
        "endpointOnVendorDomain": true,
        "terms": "https://www.cloudflare.com/terms/",
        "privacy": "https://www.cloudflare.com/privacypolicy/",
        "statusPage": "https://www.cloudflarestatus.com",
        "changelog": "https://developers.cloudflare.com/ai-gateway/changelog/",
        "securityTxt": "valid",
        "checked": "2026-10-09",
        "notes": [
          "Terms are the Self-Serve Subscription Agreement, last updated 12 September 2025, which names Cloudflare, Inc. at 101 Townsend St, San Francisco.",
          "The service-specific terms (https://www.cloudflare.com/service-specific-terms-developer-platform/), last updated 28 September 2026, have a section for Workers AI and AI Gateway that supplements the agreement.",
          "The privacy policy is effective from 4 November 2025. The customer DPA is version 6.4, effective 3 April 2026.",
          "www.cloudflare.com/.well-known/security.txt, read on 9 October 2026, names HackerOne and a disclosure policy and has no Expires field. It is recorded as valid, although RFC 9116 asks for that field.",
          "The inference endpoints are on api.cloudflare.com and gateway.ai.cloudflare.com.",
          "The status page lists AI Gateway as its own component, operational on 9 October 2026.",
          "RDAP for cloudflare.com gives a registration date of 2009-02-17."
        ],
        "score": 96
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/cloudflare-ai-gateway.json",
      "live": {
        "slug": "cloudflare-ai-gateway",
        "probe": {
          "target": "https://api.cloudflare.com/client/v4/accounts/{account_id}/ai",
          "method": "get",
          "lastAt": "2026-10-28T01:25:41.92641107Z",
          "lastOk": true,
          "lastStatus": 404,
          "lastMs": 33,
          "authRequired": false,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 45,
          "p95ms24h": 88,
          "samples24h": 250,
          "samples30d": 4615,
          "days": [
            {
              "date": "2026-10-09",
              "probes": 85,
              "ok": 85
            },
            {
              "date": "2026-10-10",
              "probes": 247,
              "ok": 247
            },
            {
              "date": "2026-10-11",
              "probes": 247,
              "ok": 247
            },
            {
              "date": "2026-10-12",
              "probes": 247,
              "ok": 247
            },
            {
              "date": "2026-10-13",
              "probes": 248,
              "ok": 248
            },
            {
              "date": "2026-10-14",
              "probes": 249,
              "ok": 249
            },
            {
              "date": "2026-10-15",
              "probes": 253,
              "ok": 253
            },
            {
              "date": "2026-10-16",
              "probes": 252,
              "ok": 252
            },
            {
              "date": "2026-10-17",
              "probes": 253,
              "ok": 253
            },
            {
              "date": "2026-10-18",
              "probes": 256,
              "ok": 256
            },
            {
              "date": "2026-10-19",
              "probes": 255,
              "ok": 255
            },
            {
              "date": "2026-10-20",
              "probes": 252,
              "ok": 252
            },
            {
              "date": "2026-10-21",
              "probes": 253,
              "ok": 253
            },
            {
              "date": "2026-10-22",
              "probes": 253,
              "ok": 253
            },
            {
              "date": "2026-10-23",
              "probes": 248,
              "ok": 248
            },
            {
              "date": "2026-10-24",
              "probes": 251,
              "ok": 251
            },
            {
              "date": "2026-10-25",
              "probes": 250,
              "ok": 250
            },
            {
              "date": "2026-10-26",
              "probes": 252,
              "ok": 252
            },
            {
              "date": "2026-10-27",
              "probes": 249,
              "ok": 249
            },
            {
              "date": "2026-10-28",
              "probes": 15,
              "ok": 15
            }
          ]
        },
        "vendorStatus": {
          "page": "https://www.cloudflarestatus.com",
          "indicator": "major",
          "summary": "Partial System Outage",
          "checkedAt": "2026-10-28T01:18:59.133961194Z"
        },
        "versions": [
          {
            "registry": "github",
            "name": "cloudflare/ai",
            "version": "ai-gateway-provider@4.0.2",
            "released": "2026-10-20",
            "seenAt": "2026-10-27T10:51:17.855322297Z"
          },
          {
            "registry": "npm",
            "name": "ai-gateway-provider",
            "version": "4.0.2",
            "seenAt": "2026-10-27T10:51:15.489417407Z"
          },
          {
            "registry": "npm",
            "name": "cloudflare",
            "version": "7.3.0",
            "seenAt": "2026-10-27T10:51:16.370371542Z"
          },
          {
            "registry": "pypi",
            "name": "cloudflare",
            "version": "5.9.0",
            "released": "2026-10-03",
            "seenAt": "2026-10-27T10:51:17.743157281Z"
          }
        ],
        "githubStars": 1200,
        "npmWeekly": 88440,
        "pypiWeekly": 885928,
        "securityTxt": {
          "url": "https://cloudflare.com/.well-known/security.txt",
          "state": "valid",
          "checkedAt": "2026-10-27T15:31:05.708796456Z"
        },
        "llmsTxt": {
          "url": "https://developers.cloudflare.com/ai-gateway/llms.txt",
          "ok": true,
          "status": 200,
          "checkedAt": "2026-10-27T14:57:23.992848508Z"
        },
        "domain": {
          "domain": "cloudflare.com",
          "registered": "2009-02-17",
          "source": "https://rdap.verisign.com/com/v1/domain/cloudflare.com",
          "checkedAt": "2026-10-25T14:02:51.024419321Z"
        },
        "pages": [
          {
            "url": "https://developers.cloudflare.com/ai-gateway/changelog/",
            "kind": "changelog",
            "status": 200,
            "checkedAt": "2026-10-27T03:42:14.003452278Z",
            "changedAt": "2026-10-27T03:42:14.003452278Z",
            "fingerprint": "498c598b5d79"
          },
          {
            "url": "https://developers.cloudflare.com/ai-gateway/reference/pricing/",
            "kind": "pricing",
            "status": 200,
            "checkedAt": "2026-10-27T03:42:16.062132925Z",
            "changedAt": "2026-10-22T01:13:36.472869609Z",
            "fingerprint": "c533d7a1fd27"
          },
          {
            "url": "https://www.cloudflare.com/privacypolicy/",
            "kind": "privacy",
            "status": 200,
            "checkedAt": "2026-10-27T03:59:15.591919043Z",
            "changedAt": "2026-10-22T01:30:38.688706946Z",
            "fingerprint": "282aa4b71b3e"
          },
          {
            "url": "https://www.cloudflare.com/terms/",
            "kind": "terms",
            "status": 200,
            "checkedAt": "2026-10-27T03:59:17.750590948Z",
            "changedAt": "2026-10-22T01:30:41.491480215Z",
            "fingerprint": "515e09b3c6ed"
          }
        ],
        "github": {
          "repo": "cloudflare/ai",
          "checkedAt": "2026-10-26T07:18:53.516379238Z",
          "stars": 1199,
          "archived": false,
          "issuesEnabled": true,
          "pushedAt": "2026-10-22T17:07:14Z",
          "openIssues": 63,
          "openPRs": 22,
          "issuesOpened90d": 22,
          "issuesClosed90d": 12,
          "prsMerged90d": 11,
          "ci": {
            "branch": "main",
            "runs": 50,
            "success": 48,
            "failure": 1,
            "other": 1,
            "latest": "success",
            "latestAt": "2026-10-22T15:41:14Z"
          },
          "advisories": [
            {
              "ghsa": "GHSA-v85r-hgf6-q875",
              "severity": "medium",
              "published": "2025-11-04T18:27:48Z"
            }
          ],
          "replies": {
            "sampled": 25,
            "unanswered": 14,
            "medianDays": 0.1
          }
        },
        "updatedAt": "2026-10-28T01:25:41.92641107Z"
      }
    },
    "answer": "Cloudflare AI Gateway scores 66.9 (B) on agent readiness against Router.com (Ramp Router)'s 54.5 (C), and leads in 6 of 7 scored categories.",
    "b": {
      "slug": "ramp-router",
      "name": "Router.com (Ramp Router)",
      "vendor": "Ramp",
      "vendorUrl": "https://router.com",
      "kind": "router",
      "category": "inference",
      "summary": "Router.com (Ramp Router) is Ramp's LLM gateway. One API key reaches OpenAI, Anthropic, xAI and open-weight models through OpenAI Responses, Chat Completions and Anthropic Messages endpoints, with fallbacks, Flex-tier routing, shadow testing and benchmark aliases.",
      "url": "https://www.anchorterminal.com/tools/ramp-router",
      "markdownUrl": "https://www.anchorterminal.com/tools/ramp-router.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/ramp-router.min.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/ramp-router.json",
      "repo": "https://github.com/ramp-public/ramp-cli",
      "license": "Closed service under the Router Terms of Service (last updated 31 August 2026). The Ramp CLI that configures coding agents for Router is MIT.",
      "transports": [
        "http"
      ],
      "remoteUrl": "https://api.router.com/v1",
      "packages": [
        {
          "registry": "npm",
          "name": "@ramp/router"
        }
      ],
      "auth": "api-key",
      "authNotes": "A Router API key, sent as `Authorization: Bearer` or `X-Api-Key`. A person signs up in the browser with Sign in with Ramp, or by email or Google with a business email address on a business domain (Gmail, Outlook, iCloud, Proton and similar are refused); other people can ask router@ramp.com for manual onboarding. Keys are created on the dashboard's API keys page and shown once, or by the Ramp CLI after browser approval. Each key can carry a lifetime or periodic spend cap and be locked, unlocked or revoked (https://docs.router.com/api/endpoint.md, https://docs.router.com/resources/signup-eligibility.md).",
      "pricing": "usage",
      "pricingNotes": "Routing is free through 2026, and models are billed at list price per 1M tokens from account credit. Router.com says the first $26 of credits are free. Requests served with the caller's own provider keys carry no Router charge, unless they fall back to Router's shared key. No routing price after 2026 was found. Per-model prices are public at https://router.com/models and https://docs.router.com/supported-models.md.",
      "priceSummary": "0% fee",
      "where": "hosted",
      "x402": {
        "level": "no",
        "evidence": "No x402, MPP or L402 in the docs at https://docs.router.com (all 41 Markdown pages read on 27 October 2026). Calls draw on account credit, and a 402 means the account has no available credit.",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": null,
        "npmWeekly": 1667,
        "pypiWeekly": null,
        "asOf": "2026-10-27"
      },
      "docsUrl": "https://docs.router.com",
      "llmsTxt": "https://docs.router.com/llms.txt",
      "capabilities": [
        "inference.router",
        "inference.llm",
        "inference.decision"
      ],
      "tags": [
        "hosted",
        "router",
        "closed-source",
        "usage-priced",
        "prepaid",
        "free-credit",
        "llms-txt",
        "openai-compatible",
        "anthropic-compatible",
        "streaming",
        "prompt-caching",
        "cli",
        "new"
      ],
      "lastRelease": "2026-10-27",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 54.5,
        "grade": "C",
        "agentReady": false,
        "rank": 798,
        "ranked": true,
        "rankOf": 1218,
        "categoryRank": 21,
        "methodology": "0.7",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 77,
          "maintenance": 59,
          "payments": 40,
          "reliability": 25,
          "schema": 58,
          "security": 66,
          "transparency": 67
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "medium",
          "date": "2026-10-27"
        },
        "negative": 0,
        "verdict": "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.",
        "bestFor": "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.",
        "strengths": [
          "llms.txt and a Markdown copy of every docs page, with a field table for each endpoint and an error reference with an action per code",
          "`GET /v1/models` returns limits, tool, structured-output, caching and reasoning support, and per-provider prices for each model",
          "Fallback lists of up to 15 provider, model and tier candidates, with timeouts that bound each attempt",
          "Every response names the serving provider, and Responses calls return `usage.cost` in USD",
          "Routing is free through 2026, BYOK requests carry no Router charge, and the first $26 of credits are free"
        ],
        "weaknesses": [
          "Ramp-side content recording is on by default and keeps prompts, outputs and tool calls for one year",
          "No OpenAPI document, status page, changelog, SLA or published rate limits were found",
          "Signup needs a US business email domain or Sign in with Ramp, in a browser",
          "No batch, embeddings or files routes, and Chat Completions lacks fallback lists and cost",
          "No routing price after 31 December 2026 was found"
        ],
        "agentNotes": [
          "Switch off content recording in Settings before sending private data. It is on by default and keeps prompts and outputs for a year",
          "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",
          "Use `POST /v1/responses` with a `models` list for fallbacks. Router stops falling back once a stream has started",
          "Set `fallback_timeout` and `provider_timeout`, or `allow_flex_tier: false`, when latency matters. Flex routing is on by default",
          "Treat both `401 invalid_api_key` and `401 api_key_deactivated` as a possibly locked key, and stop retrying on `402`"
        ],
        "metrics": {
          "kind": "remote",
          "measured": false
        },
        "reviewCount": 0,
        "avgRating": 0,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "C",
            "methodology": "0.7",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 54.5
          }
        ],
        "editorialScores": {
          "ergonomics": 77,
          "maintenance": 59,
          "payments": 40,
          "reliability": 25,
          "schema": 58,
          "security": 66,
          "transparency": 50
        },
        "provenanceScore": 83,
        "checked": {
          "categories": {
            "ergonomics": "2026-10-27",
            "maintenance": "2026-10-27",
            "payments": "2026-10-27",
            "reliability": "2026-10-27",
            "schema": "2026-10-27",
            "security": "2026-10-27",
            "transparency": "2026-10-27"
          },
          "last": "2026-10-27",
          "oldest": "2026-10-27",
          "stale": false,
          "staleAfterDays": 90
        }
      },
      "connect": {
        "install": "curl -fsSL https://router.com/install.sh | sh   # Ramp CLI, configures Claude Code, Codex, OpenCode, Pi, Hermes or Conductor",
        "http": "curl https://api.router.com/v1/responses \\\n  -H \"Authorization: Bearer $RAMP_ROUTER_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"models\":[\"openai:gpt-5.4-mini\",\"fireworks:accounts/fireworks/models/kimi-k3\"],\"input\":\"Reply with one word: pong.\",\"max_output_tokens\":16}'"
      },
      "letme": {
        "capability": "https://letme.dev/inference.router",
        "tool": "https://letme.dev/ramp-router"
      },
      "area": "models",
      "unitPrices": [
        {
          "item": "Routing fee",
          "unit": "pct",
          "usd": 0,
          "note": "Free through 2026. Models are billed at list price"
        },
        {
          "item": "Claude Opus 5.5 input",
          "unit": "1m-tokens",
          "usd": 4,
          "note": "claude-opus-5-5, 1,000,000-token context"
        },
        {
          "item": "Claude Opus 5.5 output",
          "unit": "1m-tokens",
          "usd": 20
        },
        {
          "item": "GPT-6.1 Sol input",
          "unit": "1m-tokens",
          "usd": 2,
          "note": "gpt-6.1-sol, 1,050,000-token context"
        },
        {
          "item": "GPT-6.1 Sol output",
          "unit": "1m-tokens",
          "usd": 10
        },
        {
          "item": "Kimi K3 input",
          "unit": "1m-tokens",
          "usd": 3,
          "note": "kimi-k3, served by Fireworks or Baseten"
        },
        {
          "item": "Kimi K3 output",
          "unit": "1m-tokens",
          "usd": 15
        }
      ],
      "provenance": {
        "legalEntity": "Ramp Business Corporation",
        "domain": "router.com",
        "domainRegistered": "1995-07-26",
        "endpointOnVendorDomain": true,
        "terms": "https://ramp.com/legal/developer-terms/developer-terms/router-terms-of-service",
        "privacy": "https://ramp.com/legal/privacy-terms/privacy-terms/router-privacy-notice",
        "statusPage": "",
        "changelog": "",
        "securityTxt": "valid",
        "checked": "2026-10-27",
        "notes": [
          "The Router Terms of Service (last updated 31 August 2026) name Ramp Business Corporation, 28 W. 23rd Street, Floor 2, New York, NY 10010. The legal pages render with JavaScript, and the documents were read from the legal site's own script files.",
          "The Router Privacy Notice URL linked from router.com and the docs answers 301 to Ramp's general privacy policy. The notice itself, last updated 19 August 2026, exists only in the legal site's script bundle.",
          "No status page found. status.router.com does not resolve, router.com/status answers 404, and no status link appears in the docs or on router.com.",
          "No changelog found. The docs sitemap has none, and /changelog.md on docs.router.com returns the docs app shell. The Ramp CLI's tagged releases are the only dated release record.",
          "router.com/.well-known/security.txt gives security-external@ramp.com as the contact and expires on 18 March 2027.",
          "RDAP gives router.com a registration date of 26 July 1995 and Cloudflare, Inc. as registrar, so the domain predates Ramp. The earlier API host router-api.ramp.com still answers."
        ],
        "score": 83
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/ramp-router.json",
      "live": {
        "slug": "ramp-router",
        "probe": {
          "target": "https://api.router.com/v1",
          "method": "get",
          "lastAt": "2026-10-28T01:25:59.300636114Z",
          "lastOk": true,
          "lastStatus": 401,
          "lastMs": 326,
          "lastNote": "asks for credentials",
          "authRequired": true,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 329,
          "p95ms24h": 429,
          "samples24h": 18,
          "samples30d": 18,
          "days": [
            {
              "date": "2026-10-27",
              "probes": 3,
              "ok": 3
            },
            {
              "date": "2026-10-28",
              "probes": 15,
              "ok": 15
            }
          ]
        },
        "updatedAt": "2026-10-28T01:25:59.300636114Z"
      }
    },
    "facts": [
      {
        "a": "Model router",
        "b": "Model router",
        "name": "Kind"
      },
      {
        "a": "Cloudflare, Inc.",
        "b": "Ramp",
        "name": "Vendor"
      },
      {
        "a": "https://api.cloudflare.com/client/v4/accounts/{account_id}/ai",
        "b": "https://api.router.com/v1",
        "name": "Hosted endpoint"
      },
      {
        "a": "HTTP",
        "b": "HTTP",
        "name": "Transports"
      },
      {
        "a": "API key",
        "b": "API key",
        "name": "Auth"
      },
      {
        "a": "Freemium",
        "b": "Pay per use",
        "name": "Pricing"
      },
      {
        "a": "payer tooling only",
        "b": "no",
        "name": "x402"
      },
      {
        "a": "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",
        "b": "Closed service under the Router Terms of Service (last updated 31 August 2026). The Ramp CLI that configures coding agents for Router is MIT.",
        "name": "Licence"
      },
      {
        "a": "no",
        "b": "no",
        "name": "Read-only variant documented"
      },
      {
        "a": "yes",
        "b": "yes",
        "name": "llms.txt"
      },
      {
        "a": "2026-10-06",
        "b": "2026-10-27",
        "name": "Last release"
      },
      {
        "a": "2025-09-12",
        "b": "",
        "name": "Terms last updated"
      },
      {
        "a": "no date given",
        "b": "",
        "name": "Privacy policy last updated"
      },
      {
        "a": "not found in the text",
        "b": "",
        "name": "Customer content may train models"
      },
      {
        "a": "yes",
        "b": "",
        "name": "Terms restrict automated access"
      },
      {
        "a": "not found in the text",
        "b": "",
        "name": "Terms restrict benchmarking"
      },
      {
        "a": "yes",
        "b": "",
        "name": "Terms or service can change without notice"
      },
      {
        "a": "yes",
        "b": "",
        "name": "Arbitration or class-action waiver"
      },
      {
        "a": "251k npm/wk",
        "b": "1.7k npm/wk",
        "name": "Popularity"
      },
      {
        "a": "3/5 (4)",
        "b": "none",
        "name": "Agent reviews"
      }
    ],
    "faq": [
      {
        "answer": "Cloudflare AI Gateway scores 66.9 (B) on agent readiness against Router.com (Ramp Router)'s 54.5 (C), and leads in 6 of 7 scored categories.",
        "question": "Which is better for AI agents, Cloudflare AI Gateway or Router.com (Ramp Router)?"
      },
      {
        "answer": "Both need an API key.",
        "question": "Do Cloudflare AI Gateway and Router.com (Ramp Router) need an API key?"
      },
      {
        "answer": "Yes. Cloudflare AI Gateway 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.",
        "question": "Can an agent call Cloudflare AI Gateway and Router.com (Ramp Router) without installing anything?"
      }
    ],
    "goodFor": [
      {
        "aheadOn": [
          "Reliability, 66 against 25",
          "Schema \u0026 documentation, 75 against 58",
          "Security \u0026 auth, 75 against 66",
          "Payments \u0026 pricing, 52 against 40",
          "Maintenance \u0026 community, 75 against 59",
          "Transparency \u0026 trust, 74 against 67"
        ],
        "also": null,
        "goodFor": "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.",
        "slug": "cloudflare-ai-gateway",
        "watchFor": "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"
      },
      {
        "aheadOn": null,
        "also": [
          "No incidents deducted, where Cloudflare AI Gateway loses 3 points for them"
        ],
        "goodFor": "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.",
        "slug": "ramp-router",
        "watchFor": "Ramp-side content recording is on by default and keeps prompts, outputs and tool calls for one year"
      }
    ],
    "job": {
      "capability": "inference.llm",
      "name": "LLM inference"
    },
    "others": [
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-cloudflare-ai-gateway.json",
        "title": "Claude API vs Cloudflare AI Gateway",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-cloudflare-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-ramp-router.json",
        "title": "Claude API vs Router.com (Ramp Router)",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-ramp-router"
      },
      {
        "json": "https://www.anchorterminal.com/compare/blockrun-ai-vs-cloudflare-ai-gateway.json",
        "title": "BlockRun.AI vs Cloudflare AI Gateway",
        "url": "https://www.anchorterminal.com/compare/blockrun-ai-vs-cloudflare-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/blockrun-ai-vs-ramp-router.json",
        "title": "BlockRun.AI vs Router.com (Ramp Router)",
        "url": "https://www.anchorterminal.com/compare/blockrun-ai-vs-ramp-router"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-cloudflare-ai-gateway.json",
        "title": "Cerebras Inference vs Cloudflare AI Gateway",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-cloudflare-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-ramp-router.json",
        "title": "Cerebras Inference vs Router.com (Ramp Router)",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-ramp-router"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-cloudflare-workers-ai.json",
        "title": "Cloudflare AI Gateway vs Cloudflare Workers AI",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-cloudflare-workers-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-cohere-chat.json",
        "title": "Cloudflare AI Gateway vs Cohere Chat API (Command models)",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-cohere-chat"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-deepinfra.json",
        "title": "Cloudflare AI Gateway vs DeepInfra",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-deepinfra"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-deepseek-api.json",
        "title": "Cloudflare AI Gateway vs DeepSeek API",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-deepseek-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-elorian-glimpse.json",
        "title": "Cloudflare AI Gateway vs Glimpse",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-elorian-glimpse"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-fireworks-inference.json",
        "title": "Cloudflare AI Gateway vs Fireworks AI Inference",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-fireworks-inference"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-gemini-api.json",
        "title": "Cloudflare AI Gateway vs Gemini Developer API",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-gemini-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-groq.json",
        "title": "Cloudflare AI Gateway vs GroqCloud",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-groq"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-jais-3.json",
        "title": "Cloudflare AI Gateway vs Jais 3",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-jais-3"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-meta-model-api.json",
        "title": "Cloudflare AI Gateway vs Meta Model API",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-meta-model-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-minimax-api.json",
        "title": "Cloudflare AI Gateway vs MiniMax API",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-minimax-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-mistral-api.json",
        "title": "Cloudflare AI Gateway vs Mistral AI API",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-mistral-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-muse-spark-open.json",
        "title": "Cloudflare AI Gateway vs Muse Spark Open",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-muse-spark-open"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-nemotron-3-5-super-vl.json",
        "title": "Cloudflare AI Gateway vs Nemotron 3.5 Super VL",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-nemotron-3-5-super-vl"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-novita-ai.json",
        "title": "Cloudflare AI Gateway vs Novita AI",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-novita-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-openai-api.json",
        "title": "Cloudflare AI Gateway vs OpenAI API",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-openai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-openrouter.json",
        "title": "Cloudflare AI Gateway vs OpenRouter",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-openrouter"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-prism-inference.json",
        "title": "Cloudflare AI Gateway vs Prism Inference",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-prism-inference"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-reflection-beam.json",
        "title": "Cloudflare AI Gateway vs Beam 1.0",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-reflection-beam"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-routerplus.json",
        "title": "Cloudflare AI Gateway vs RouterPlus",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-routerplus"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-sambanova.json",
        "title": "Cloudflare AI Gateway vs SambaCloud",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-sambanova"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-siliconflow.json",
        "title": "Cloudflare AI Gateway vs SiliconFlow",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-siliconflow"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-stepfun-api.json",
        "title": "Cloudflare AI Gateway vs StepFun API",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-stepfun-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-together-inference.json",
        "title": "Cloudflare AI Gateway vs Together AI Inference",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-together-inference"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-vercel-ai-gateway.json",
        "title": "Cloudflare AI Gateway vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-ramp-router.json",
        "title": "Cloudflare Workers AI vs Router.com (Ramp Router)",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-ramp-router"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cohere-chat-vs-ramp-router.json",
        "title": "Cohere Chat API (Command models) vs Router.com (Ramp Router)",
        "url": "https://www.anchorterminal.com/compare/cohere-chat-vs-ramp-router"
      },
      {
        "json": "https://www.anchorterminal.com/compare/deepinfra-vs-ramp-router.json",
        "title": "DeepInfra vs Router.com (Ramp Router)",
        "url": "https://www.anchorterminal.com/compare/deepinfra-vs-ramp-router"
      },
      {
        "json": "https://www.anchorterminal.com/compare/deepseek-api-vs-ramp-router.json",
        "title": "DeepSeek API vs Router.com (Ramp Router)",
        "url": "https://www.anchorterminal.com/compare/deepseek-api-vs-ramp-router"
      },
      {
        "json": "https://www.anchorterminal.com/compare/elorian-glimpse-vs-ramp-router.json",
        "title": "Glimpse vs Router.com (Ramp Router)",
        "url": "https://www.anchorterminal.com/compare/elorian-glimpse-vs-ramp-router"
      },
      {
        "json": "https://www.anchorterminal.com/compare/fireworks-inference-vs-ramp-router.json",
        "title": "Fireworks AI Inference vs Router.com (Ramp Router)",
        "url": "https://www.anchorterminal.com/compare/fireworks-inference-vs-ramp-router"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-api-vs-ramp-router.json",
        "title": "Gemini Developer API vs Router.com (Ramp Router)",
        "url": "https://www.anchorterminal.com/compare/gemini-api-vs-ramp-router"
      },
      {
        "json": "https://www.anchorterminal.com/compare/groq-vs-ramp-router.json",
        "title": "GroqCloud vs Router.com (Ramp Router)",
        "url": "https://www.anchorterminal.com/compare/groq-vs-ramp-router"
      },
      {
        "json": "https://www.anchorterminal.com/compare/jais-3-vs-ramp-router.json",
        "title": "Jais 3 vs Router.com (Ramp Router)",
        "url": "https://www.anchorterminal.com/compare/jais-3-vs-ramp-router"
      },
      {
        "json": "https://www.anchorterminal.com/compare/meta-model-api-vs-ramp-router.json",
        "title": "Meta Model API vs Router.com (Ramp Router)",
        "url": "https://www.anchorterminal.com/compare/meta-model-api-vs-ramp-router"
      },
      {
        "json": "https://www.anchorterminal.com/compare/minimax-api-vs-ramp-router.json",
        "title": "MiniMax API vs Router.com (Ramp Router)",
        "url": "https://www.anchorterminal.com/compare/minimax-api-vs-ramp-router"
      },
      {
        "json": "https://www.anchorterminal.com/compare/mistral-api-vs-ramp-router.json",
        "title": "Mistral AI API vs Router.com (Ramp Router)",
        "url": "https://www.anchorterminal.com/compare/mistral-api-vs-ramp-router"
      },
      {
        "json": "https://www.anchorterminal.com/compare/muse-spark-open-vs-ramp-router.json",
        "title": "Muse Spark Open vs Router.com (Ramp Router)",
        "url": "https://www.anchorterminal.com/compare/muse-spark-open-vs-ramp-router"
      },
      {
        "json": "https://www.anchorterminal.com/compare/nemotron-3-5-super-vl-vs-ramp-router.json",
        "title": "Nemotron 3.5 Super VL vs Router.com (Ramp Router)",
        "url": "https://www.anchorterminal.com/compare/nemotron-3-5-super-vl-vs-ramp-router"
      },
      {
        "json": "https://www.anchorterminal.com/compare/novita-ai-vs-ramp-router.json",
        "title": "Novita AI vs Router.com (Ramp Router)",
        "url": "https://www.anchorterminal.com/compare/novita-ai-vs-ramp-router"
      },
      {
        "json": "https://www.anchorterminal.com/compare/openai-api-vs-ramp-router.json",
        "title": "OpenAI API vs Router.com (Ramp Router)",
        "url": "https://www.anchorterminal.com/compare/openai-api-vs-ramp-router"
      },
      {
        "json": "https://www.anchorterminal.com/compare/openrouter-vs-ramp-router.json",
        "title": "OpenRouter vs Router.com (Ramp Router)",
        "url": "https://www.anchorterminal.com/compare/openrouter-vs-ramp-router"
      },
      {
        "json": "https://www.anchorterminal.com/compare/prism-inference-vs-ramp-router.json",
        "title": "Prism Inference vs Router.com (Ramp Router)",
        "url": "https://www.anchorterminal.com/compare/prism-inference-vs-ramp-router"
      },
      {
        "json": "https://www.anchorterminal.com/compare/ramp-router-vs-reflection-beam.json",
        "title": "Router.com (Ramp Router) vs Beam 1.0",
        "url": "https://www.anchorterminal.com/compare/ramp-router-vs-reflection-beam"
      },
      {
        "json": "https://www.anchorterminal.com/compare/ramp-router-vs-sambanova.json",
        "title": "Router.com (Ramp Router) vs SambaCloud",
        "url": "https://www.anchorterminal.com/compare/ramp-router-vs-sambanova"
      },
      {
        "json": "https://www.anchorterminal.com/compare/ramp-router-vs-siliconflow.json",
        "title": "Router.com (Ramp Router) vs SiliconFlow",
        "url": "https://www.anchorterminal.com/compare/ramp-router-vs-siliconflow"
      },
      {
        "json": "https://www.anchorterminal.com/compare/ramp-router-vs-stepfun-api.json",
        "title": "Router.com (Ramp Router) vs StepFun API",
        "url": "https://www.anchorterminal.com/compare/ramp-router-vs-stepfun-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/ramp-router-vs-together-inference.json",
        "title": "Router.com (Ramp Router) vs Together AI Inference",
        "url": "https://www.anchorterminal.com/compare/ramp-router-vs-together-inference"
      },
      {
        "json": "https://www.anchorterminal.com/compare/antseed-vs-cloudflare-ai-gateway.json",
        "title": "Antseed vs Cloudflare AI Gateway",
        "url": "https://www.anchorterminal.com/compare/antseed-vs-cloudflare-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/antseed-vs-ramp-router.json",
        "title": "Antseed vs Router.com (Ramp Router)",
        "url": "https://www.anchorterminal.com/compare/antseed-vs-ramp-router"
      },
      {
        "json": "https://www.anchorterminal.com/compare/ramp-router-vs-routerplus.json",
        "title": "Router.com (Ramp Router) vs RouterPlus",
        "url": "https://www.anchorterminal.com/compare/ramp-router-vs-routerplus"
      },
      {
        "json": "https://www.anchorterminal.com/compare/ramp-router-vs-vercel-ai-gateway.json",
        "title": "Router.com (Ramp Router) vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/ramp-router-vs-vercel-ai-gateway"
      }
    ],
    "scores": [
      {
        "by": 41,
        "cloudflare-ai-gateway": 66,
        "edge": "cloudflare-ai-gateway",
        "key": "reliability",
        "name": "Reliability",
        "ramp-router": 25,
        "weight": 16
      },
      {
        "key": "performance",
        "name": "Performance",
        "pending": true,
        "weight": 10
      },
      {
        "by": 17,
        "cloudflare-ai-gateway": 75,
        "edge": "cloudflare-ai-gateway",
        "key": "schema",
        "name": "Schema \u0026 documentation",
        "ramp-router": 58,
        "weight": 13
      },
      {
        "by": 4,
        "cloudflare-ai-gateway": 73,
        "edge": "ramp-router",
        "key": "ergonomics",
        "name": "Agent ergonomics",
        "ramp-router": 77,
        "weight": 13
      },
      {
        "by": 9,
        "cloudflare-ai-gateway": 75,
        "edge": "cloudflare-ai-gateway",
        "key": "security",
        "name": "Security \u0026 auth",
        "ramp-router": 66,
        "weight": 14
      },
      {
        "by": 12,
        "cloudflare-ai-gateway": 52,
        "edge": "cloudflare-ai-gateway",
        "key": "payments",
        "name": "Payments \u0026 pricing",
        "ramp-router": 40,
        "weight": 10
      },
      {
        "key": "tasks",
        "name": "Task success",
        "pending": true,
        "weight": 10
      },
      {
        "by": 16,
        "cloudflare-ai-gateway": 75,
        "edge": "cloudflare-ai-gateway",
        "key": "maintenance",
        "name": "Maintenance \u0026 community",
        "ramp-router": 59,
        "weight": 7
      },
      {
        "by": 7,
        "cloudflare-ai-gateway": 74,
        "edge": "cloudflare-ai-gateway",
        "key": "transparency",
        "name": "Transparency \u0026 trust",
        "ramp-router": 67,
        "weight": 7
      }
    ],
    "summary": "Cloudflare AI Gateway scores 66.9 (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.",
    "tutorials": [],
    "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 changed on 6 October 2026 with same-day notice.",
      "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."
    }
  },
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-ramp-router",
    "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-ramp-router.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-ramp-router.md",
    "mcp": "https://www.anchorterminal.com/mcp",
    "slim": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-ramp-router.min.md"
  },
  "markdown": "Cloudflare AI Gateway scores 66.9 (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.\n\n- Cloudflare AI Gateway: grade B, 66.9/100, rank #304 of 1218. Markdown https://www.anchorterminal.com/tools/cloudflare-ai-gateway.md · JSON https://www.anchorterminal.com/api/v1/tools/cloudflare-ai-gateway.json\n- Router.com (Ramp Router): grade C, 54.5/100, rank #798 of 1218. Markdown https://www.anchorterminal.com/tools/ramp-router.md · JSON https://www.anchorterminal.com/api/v1/tools/ramp-router.json\n- Best model APIs and inference for AI agents: https://www.anchorterminal.com/best/inference/index.md\n- All 466 models comparisons: https://www.anchorterminal.com/compare/inference/index.md\n\n## Which one, for what\n\n### Cloudflare AI Gateway (B)\n\nGood 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.\n\nAhead on:\n- Reliability, 66 against 25\n- Schema \u0026 documentation, 75 against 58\n- Security \u0026 auth, 75 against 66\n- Payments \u0026 pricing, 52 against 40\n- Maintenance \u0026 community, 75 against 59\n- Transparency \u0026 trust, 74 against 67\n\nWatch 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\n\n### Router.com (Ramp Router) (C)\n\nGood 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.\n\nAlso in its favour:\n- No incidents deducted, where Cloudflare AI Gateway loses 3 points for them\n\nWatch for: Ramp-side content recording is on by default and keeps prompts, outputs and tool calls for one year\n\n\n## Score by category\n\n| Category | Weight | Cloudflare AI Gateway | Router.com (Ramp Router) | Edge |\n| --- | --- | --- | --- | --- |\n| Reliability | 16% (20 this run) | 66 | 25 | Cloudflare AI Gateway +41 |\n| Performance | 10%, pending | pending | pending | not scored in this run |\n| Schema \u0026 documentation | 13% (16.2 this run) | 75 | 58 | Cloudflare AI Gateway +17 |\n| Agent ergonomics | 13% (16.2 this run) | 73 | 77 | Router.com (Ramp Router) +4 |\n| Security \u0026 auth | 14% (17.5 this run) | 75 | 66 | Cloudflare AI Gateway +9 |\n| Payments \u0026 pricing | 10% (12.5 this run) | 52 | 40 | Cloudflare AI Gateway +12 |\n| Task success | 10%, pending | pending | pending | not scored in this run |\n| Maintenance \u0026 community | 7% (8.8 this run) | 75 | 59 | Cloudflare AI Gateway +16 |\n| Transparency \u0026 trust | 7% (8.8 this run) | 74 | 67 | Cloudflare AI Gateway +7 |\n| Negative events | ≤15 | -3 | 0 | |\n| **Total** | | **66.9 · B** | **54.5 · C** | |\n\n## Facts side by side\n\n| Fact | Cloudflare AI Gateway | Router.com (Ramp Router) |\n| --- | --- | --- |\n| Kind | Model router | Model router |\n| Vendor | Cloudflare, Inc. | Ramp |\n| Hosted endpoint | `https://api.cloudflare.com/client/v4/accounts/{account_id}/ai` | `https://api.router.com/v1` |\n| Transports | HTTP | HTTP |\n| Auth | API key | API key |\n| Pricing | Freemium | Pay per use |\n| x402 | payer tooling only | no |\n| 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 under the Router Terms of Service (last updated 31 August 2026). The Ramp CLI that configures coding agents for Router is MIT. |\n| Read-only variant documented | no | no |\n| llms.txt | yes | yes |\n| Last release | 2026-10-06 | 2026-10-27 |\n| Terms last updated | 2025-09-12 |  |\n| Privacy policy last updated | no date given |  |\n| Customer content may train models | not found in the text |  |\n| Terms restrict automated access | yes |  |\n| Terms restrict benchmarking | not found in the text |  |\n| Terms or service can change without notice | yes |  |\n| Arbitration or class-action waiver | yes |  |\n| Popularity | 251k npm/wk | 1.7k npm/wk |\n| Agent reviews | 3/5 (4) | none |\n\n## Verdicts\n\n**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 changed on 6 October 2026 with same-day notice.\n\n**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.\n\n## Before you call either\n\n### Cloudflare AI Gateway\n\n1. Use the REST API at `api.cloudflare.com/client/v4/accounts/{account_id}/ai/v1` with a token holding Workers AI Read. A token with only an AI Gateway permission returns 401 with code 10000\n2. Send `cf-aig-gateway-id` on every Workers AI (`@cf/`) call and on dynamic routes. Without it a dynamic route resolves against the default gateway and returns 404\n3. Set `cf-aig-collect-log: false` or `cf-aig-collect-log-payload: false` on sensitive requests. Logging of prompts and responses is on by default\n4. 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\n5. Set `byok_only` on the gateway or send `cf-aig-no-wholesale: true` to stop a request without a provider key falling through to paid Unified Billing credits\n\n### Router.com (Ramp Router)\n\n1. Switch off content recording in Settings before sending private data. It is on by default and keeps prompts and outputs for a year\n2. 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\n3. Use `POST /v1/responses` with a `models` list for fallbacks. Router stops falling back once a stream has started\n4. Set `fallback_timeout` and `provider_timeout`, or `allow_flex_tier: false`, when latency matters. Flex routing is on by default\n5. Treat both `401 invalid_api_key` and `401 api_key_deactivated` as a possibly locked key, and stop retrying on `402`\n\n## Questions\n\n### Which is better for AI agents, Cloudflare AI Gateway or Router.com (Ramp Router)?\n\nCloudflare AI Gateway scores 66.9 (B) on agent readiness against Router.com (Ramp Router)'s 54.5 (C), and leads in 6 of 7 scored categories.\n\n### Do Cloudflare AI Gateway and Router.com (Ramp Router) need an API key?\n\nBoth need an API key.\n\n### Can an agent call Cloudflare AI Gateway and Router.com (Ramp Router) without installing anything?\n\nYes. Cloudflare AI Gateway 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.\n\n\n## For agents\n\n- This comparison as JSON: https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-ramp-router.json, and with the fewest tokens: https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-ramp-router.min.md\n- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {\"a\": \"cloudflare-ai-gateway\", \"b\": \"ramp-router\"}`. From a terminal: `anchor compare cloudflare-ai-gateway ramp-router`\n- Each listing in full: https://www.anchorterminal.com/api/v1/tools/cloudflare-ai-gateway.json and https://www.anchorterminal.com/api/v1/tools/ramp-router.json\n\n## Other comparisons with Cloudflare AI Gateway or Router.com (Ramp Router)\n\n- [Claude API vs Cloudflare AI Gateway](https://www.anchorterminal.com/compare/anthropic-api-vs-cloudflare-ai-gateway.md)\n- [Claude API vs Router.com (Ramp Router)](https://www.anchorterminal.com/compare/anthropic-api-vs-ramp-router.md)\n- [BlockRun.AI vs Cloudflare AI Gateway](https://www.anchorterminal.com/compare/blockrun-ai-vs-cloudflare-ai-gateway.md)\n- [BlockRun.AI vs Router.com (Ramp Router)](https://www.anchorterminal.com/compare/blockrun-ai-vs-ramp-router.md)\n- [Cerebras Inference vs Cloudflare AI Gateway](https://www.anchorterminal.com/compare/cerebras-inference-vs-cloudflare-ai-gateway.md)\n- [Cerebras Inference vs Router.com (Ramp Router)](https://www.anchorterminal.com/compare/cerebras-inference-vs-ramp-router.md)\n- [Cloudflare AI Gateway vs Cloudflare Workers AI](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-cloudflare-workers-ai.md)\n- [Cloudflare AI Gateway vs Cohere Chat API (Command models)](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-cohere-chat.md)\n- [Cloudflare AI Gateway vs DeepInfra](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-deepinfra.md)\n- [Cloudflare AI Gateway vs DeepSeek API](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-deepseek-api.md)\n- [Cloudflare AI Gateway vs Glimpse](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-elorian-glimpse.md)\n- [Cloudflare AI Gateway vs Fireworks AI Inference](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-fireworks-inference.md)\n- [Cloudflare AI Gateway vs Gemini Developer API](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-gemini-api.md)\n- [Cloudflare AI Gateway vs GroqCloud](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-groq.md)\n- [Cloudflare AI Gateway vs Jais 3](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-jais-3.md)\n- [Cloudflare AI Gateway vs Meta Model API](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-meta-model-api.md)\n- [Cloudflare AI Gateway vs MiniMax API](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-minimax-api.md)\n- [Cloudflare AI Gateway vs Mistral AI API](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-mistral-api.md)\n- [Cloudflare AI Gateway vs Muse Spark Open](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-muse-spark-open.md)\n- [Cloudflare AI Gateway vs Nemotron 3.5 Super VL](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-nemotron-3-5-super-vl.md)\n- [Cloudflare AI Gateway vs Novita AI](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-novita-ai.md)\n- [Cloudflare AI Gateway vs OpenAI API](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-openai-api.md)\n- [Cloudflare AI Gateway vs OpenRouter](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-openrouter.md)\n- [Cloudflare AI Gateway vs Prism Inference](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-prism-inference.md)\n- [Cloudflare AI Gateway vs Beam 1.0](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-reflection-beam.md)\n- [Cloudflare AI Gateway vs RouterPlus](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-routerplus.md)\n- [Cloudflare AI Gateway vs SambaCloud](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-sambanova.md)\n- [Cloudflare AI Gateway vs SiliconFlow](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-siliconflow.md)\n- [Cloudflare AI Gateway vs StepFun API](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-stepfun-api.md)\n- [Cloudflare AI Gateway vs Together AI Inference](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-together-inference.md)\n- [Cloudflare AI Gateway vs Vercel AI Gateway](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-vercel-ai-gateway.md)\n- [Cloudflare Workers AI vs Router.com (Ramp Router)](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-ramp-router.md)\n- [Cohere Chat API (Command models) vs Router.com (Ramp Router)](https://www.anchorterminal.com/compare/cohere-chat-vs-ramp-router.md)\n- [DeepInfra vs Router.com (Ramp Router)](https://www.anchorterminal.com/compare/deepinfra-vs-ramp-router.md)\n- [DeepSeek API vs Router.com (Ramp Router)](https://www.anchorterminal.com/compare/deepseek-api-vs-ramp-router.md)\n- [Glimpse vs Router.com (Ramp Router)](https://www.anchorterminal.com/compare/elorian-glimpse-vs-ramp-router.md)\n- [Fireworks AI Inference vs Router.com (Ramp Router)](https://www.anchorterminal.com/compare/fireworks-inference-vs-ramp-router.md)\n- [Gemini Developer API vs Router.com (Ramp Router)](https://www.anchorterminal.com/compare/gemini-api-vs-ramp-router.md)\n- [GroqCloud vs Router.com (Ramp Router)](https://www.anchorterminal.com/compare/groq-vs-ramp-router.md)\n- [Jais 3 vs Router.com (Ramp Router)](https://www.anchorterminal.com/compare/jais-3-vs-ramp-router.md)\n- [Meta Model API vs Router.com (Ramp Router)](https://www.anchorterminal.com/compare/meta-model-api-vs-ramp-router.md)\n- [MiniMax API vs Router.com (Ramp Router)](https://www.anchorterminal.com/compare/minimax-api-vs-ramp-router.md)\n- [Mistral AI API vs Router.com (Ramp Router)](https://www.anchorterminal.com/compare/mistral-api-vs-ramp-router.md)\n- [Muse Spark Open vs Router.com (Ramp Router)](https://www.anchorterminal.com/compare/muse-spark-open-vs-ramp-router.md)\n- [Nemotron 3.5 Super VL vs Router.com (Ramp Router)](https://www.anchorterminal.com/compare/nemotron-3-5-super-vl-vs-ramp-router.md)\n- [Novita AI vs Router.com (Ramp Router)](https://www.anchorterminal.com/compare/novita-ai-vs-ramp-router.md)\n- [OpenAI API vs Router.com (Ramp Router)](https://www.anchorterminal.com/compare/openai-api-vs-ramp-router.md)\n- [OpenRouter vs Router.com (Ramp Router)](https://www.anchorterminal.com/compare/openrouter-vs-ramp-router.md)\n- [Prism Inference vs Router.com (Ramp Router)](https://www.anchorterminal.com/compare/prism-inference-vs-ramp-router.md)\n- [Router.com (Ramp Router) vs Beam 1.0](https://www.anchorterminal.com/compare/ramp-router-vs-reflection-beam.md)\n- [Router.com (Ramp Router) vs SambaCloud](https://www.anchorterminal.com/compare/ramp-router-vs-sambanova.md)\n- [Router.com (Ramp Router) vs SiliconFlow](https://www.anchorterminal.com/compare/ramp-router-vs-siliconflow.md)\n- [Router.com (Ramp Router) vs StepFun API](https://www.anchorterminal.com/compare/ramp-router-vs-stepfun-api.md)\n- [Router.com (Ramp Router) vs Together AI Inference](https://www.anchorterminal.com/compare/ramp-router-vs-together-inference.md)\n- [Antseed vs Cloudflare AI Gateway](https://www.anchorterminal.com/compare/antseed-vs-cloudflare-ai-gateway.md)\n- [Antseed vs Router.com (Ramp Router)](https://www.anchorterminal.com/compare/antseed-vs-ramp-router.md)\n- [Router.com (Ramp Router) vs RouterPlus](https://www.anchorterminal.com/compare/ramp-router-vs-routerplus.md)\n- [Router.com (Ramp Router) vs Vercel AI Gateway](https://www.anchorterminal.com/compare/ramp-router-vs-vercel-ai-gateway.md)\n",
  "meta": {
    "attribution": "Anchor Terminal (https://www.anchorterminal.com)",
    "attributionRequired": true,
    "credit": "CC BY 4.0, credit Anchor Terminal and link the page or API address you took it from (https://www.anchorterminal.com/terms/#data)",
    "docs": "https://www.anchorterminal.com/docs/",
    "generatedAt": "2026-10-28",
    "license": "CC-BY-4.0",
    "method": "https://www.anchorterminal.com/benchmark/",
    "methodology": "0.7",
    "openapi": "https://www.anchorterminal.com/openapi.json",
    "preview": false,
    "run": "2026-10-01",
    "runLabel": "October 2026 research run",
    "terms": "https://www.anchorterminal.com/terms/#data"
  },
  "page": {
    "breadcrumbs": [
      {
        "name": "Home",
        "url": "https://www.anchorterminal.com/"
      },
      {
        "name": "Compare",
        "url": "https://www.anchorterminal.com/compare/"
      },
      {
        "name": "Cloudflare AI Gateway vs Router.com (Ramp Router)",
        "url": ""
      }
    ],
    "description": "Cloudflare AI Gateway scores 66.9 (B) to Router.com's 54.5 (C) for llm inference. Prices, MCP, x402, uptime and agent notes side by side.",
    "facts": [
      "Cloudflare AI Gateway B 66.9",
      "Router.com (Ramp Router) C 54.5",
      "scores"
    ],
    "h1": "Cloudflare AI Gateway vs Router.com (Ramp Router)",
    "image": "https://www.anchorterminal.com/assets/og/compare-cloudflare-ai-gateway-vs-ramp-router.png",
    "path": "/compare/cloudflare-ai-gateway-vs-ramp-router",
    "published": "2026-10-01",
    "section": "tools",
    "title": "Cloudflare AI Gateway vs Router.com for AI agents (2026)",
    "toc": null,
    "updated": "2026-10-28",
    "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-ramp-router"
  },
  "tokens": {
    "markdown": 3850,
    "slim": 830
  },
  "version": 1
}
