{
  "data": {
    "a": {
      "slug": "cloudflare-workers-ai",
      "name": "Cloudflare Workers AI",
      "vendor": "Cloudflare, Inc.",
      "vendorUrl": "https://www.cloudflare.com",
      "kind": "model",
      "category": "inference",
      "summary": "Workers AI is Cloudflare's serverless inference service for open-weight models, covering text generation, embeddings, images and speech. Agents call it through the Cloudflare REST API, OpenAI-compatible endpoints or a Workers binding.",
      "url": "https://www.anchorterminal.com/tools/cloudflare-workers-ai",
      "markdownUrl": "https://www.anchorterminal.com/tools/cloudflare-workers-ai.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/cloudflare-workers-ai.min.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/cloudflare-workers-ai.json",
      "repo": "https://github.com/cloudflare/api-schemas",
      "license": "Proprietary 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-Clause",
      "transports": [
        "http"
      ],
      "remoteUrl": "https://api.cloudflare.com/client/v4/accounts/{account_id}/ai",
      "packages": [
        {
          "registry": "npm",
          "name": "workers-ai-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, with the Workers AI Read or Workers AI Edit permission on an account. Tokens can carry an expiry and an IP address filter. Inside a Worker the `AI` binding needs no token. The API reference also accepts the older global API key with an account email. Later tokens can be created through the API with an existing token.",
      "pricing": "freemium",
      "pricingNotes": "$0.011 per 1,000 neurons, shown per model as token, image or audio prices, for example Gemma 4 26B at $0.10 in and $0.30 out per 1M tokens. 10,000 neurons a day are free on the Workers Free and Paid plans, and going past that needs Workers Paid, from $5 a month. Seven frontier models need Workers Paid or prepaid AI Gateway credits. A Free plan account starts without a contract (https://developers.cloudflare.com/workers-ai/platform/pricing/, checked 2026-10-09).",
      "priceSummary": "from $0.0605 / 1M in",
      "where": "hosted",
      "x402": {
        "level": "partial",
        "evidence": "AI Gateway 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 per-model route `/ai/run/{model_name}` and the OpenAI-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": 379824,
        "pypiWeekly": null,
        "asOf": "2026-10-09"
      },
      "docsUrl": "https://developers.cloudflare.com/workers-ai/",
      "rateLimitsUrl": "https://developers.cloudflare.com/workers-ai/platform/limits/",
      "llmsTxt": "https://developers.cloudflare.com/workers-ai/llms.txt",
      "openapi": "https://raw.githubusercontent.com/cloudflare/api-schemas/main/openapi.json",
      "capabilities": [
        "inference.llm",
        "inference.open-weights",
        "embed.text",
        "rerank",
        "image.generate",
        "speech.stt",
        "speech.tts",
        "compute.batch"
      ],
      "tags": [
        "hosted",
        "model",
        "open-weights",
        "usage-based",
        "free-tier",
        "x402",
        "openapi",
        "llms-txt",
        "openai-compatible",
        "batch",
        "prompt-caching",
        "typescript",
        "python",
        "go",
        "status-page",
        "bug-bounty"
      ],
      "lastRelease": "2026-10-01",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 68.3,
        "grade": "B",
        "agentReady": false,
        "rank": 236,
        "ranked": true,
        "rankOf": 1133,
        "categoryRank": 7,
        "methodology": "0.4",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 75,
          "maintenance": 72,
          "payments": 52,
          "reliability": 66,
          "schema": 80,
          "security": 77,
          "transparency": 76
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "medium",
          "date": "2026-10-09"
        },
        "negative": -3,
        "negativeNotes": [
          "28 July 2026. Kimi K2.6, Kimi K2.7 Code and GLM-5.2 began returning 403 (code 5035) on the Workers Free plan on the day of the notice, with no advance warning found. Three points (https://developers.cloudflare.com/changelog/post/2026-07-28-models-require-workers-paid/)."
        ],
        "verdict": "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.",
        "bestFor": "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.",
        "strengths": [
          "Per-model token prices, cached-input prices and neuron rates are published without a login, with 10,000 neurons a day free on the Workers Free plan",
          "x402 payment (Machine Payments, beta since 30 September 2026) works on `POST /ai/run` for four open models",
          "Rate limits are published per task type, and a 429 separates a spent free allocation (3036) from capacity (3040)",
          "API tokens are limited to Workers AI permissions on an account, with optional expiry and IP address filtering",
          "DeepSeek V4 and GLM-5.3 run with a 1,048,576-token context, with prefix caching and discounted cached input"
        ],
        "weaknesses": [
          "No SLA for Workers AI was found in the docs or the agreements read",
          "Three models moved to paid-only access on 28 July 2026, the day of the notice, and Free plan calls to them return 403",
          "Eighteen models were retired on 30 May 2026 with 22 days' notice, and no minimum notice period is published",
          "The REST quick start, the OpenAI-compatibility page and the JSON Mode model list still name models on the 30 May 2026 retirement list",
          "The x402 route still needs a Cloudflare API token, a United States account and a card on file"
        ],
        "agentNotes": [
          "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",
          "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",
          "Set `options.rejectIfBusy` to fail fast, or add `?queueRequest=true` for the batch route when the answer can wait",
          "Send the same `x-session-affinity` value on every turn of a session to reach the prefix cache and the cached-input price",
          "Keep paid frontier models under 20 requests a minute per model, or 50 with prepaid AI Gateway credits"
        ],
        "metrics": {
          "kind": "remote",
          "measured": false
        },
        "reviewCount": 4,
        "avgRating": 3,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "B",
            "methodology": "0.4",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 68.3
          }
        ],
        "editorialScores": {
          "ergonomics": 75,
          "maintenance": 72,
          "payments": 52,
          "reliability": 66,
          "schema": 80,
          "security": 77,
          "transparency": 56
        },
        "provenanceScore": 95
      },
      "connect": {
        "http": "curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run/@cf/google/gemma-4-26b-a4b-it \\\n  -X POST \\\n  -H \"Authorization: Bearer $CLOUDFLARE_AUTH_TOKEN\" \\\n  -d '{ \"messages\": [{ \"role\": \"system\", \"content\": \"You are a friendly assistant\" }, { \"role\": \"user\", \"content\": \"Why is pizza so good\" }]}'",
        "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-workers-ai"
      },
      "sameCompany": [
        "cloudflare-ai-gateway",
        "cloudflare-sandbox-sdk",
        "cloudflare-web-search",
        "cloudflare-ai-search",
        "cloudflare-cli",
        "cloudflare-mcp",
        "cloudflare-email-service",
        "cloudflare-r2",
        "cloudflare-clef"
      ],
      "area": "models",
      "unitPrices": [
        {
          "item": "Whisper large v3 turbo, speech to text",
          "unit": "audio-minute",
          "usd": 0.0005,
          "note": "46.63 neurons"
        },
        {
          "item": "Deepgram Nova-3, speech to text",
          "unit": "audio-minute",
          "usd": 0.0052,
          "note": "472.73 neurons. $0.0092 over WebSocket"
        },
        {
          "item": "Deepgram Aura-1, text to speech",
          "unit": "1m-chars",
          "usd": 15,
          "note": "listed as $0.015 per 1,000 characters"
        },
        {
          "item": "Deepgram Aura-2, text to speech",
          "unit": "1m-chars",
          "usd": 30,
          "note": "listed as $0.030 per 1,000 characters, English and Spanish"
        }
      ],
      "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/changelog/product/workers-ai/",
        "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 Workers AI data usage page cites it and the Enterprise Subscription Agreement as the governing documents.",
          "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.",
          "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 to match the other Cloudflare listings.",
          "The endpoint is on api.cloudflare.com.",
          "The status page lists Workers AI as its own component, operational on 9 October 2026.",
          "RDAP for cloudflare.com gives a registration date of 2009-02-17.",
          "The Workers AI changelog page (https://developers.cloudflare.com/workers-ai/changelog/) stops at 16 June 2026, so the product changelog is recorded."
        ],
        "score": 95
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/cloudflare-workers-ai.json",
      "live": {
        "slug": "cloudflare-workers-ai",
        "probe": {
          "target": "https://api.cloudflare.com/client/v4/accounts/{account_id}/ai",
          "method": "get",
          "lastAt": "2026-10-18T00:30:43.507975874Z",
          "lastOk": true,
          "lastStatus": 404,
          "lastMs": 16,
          "authRequired": false,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 18,
          "p95ms24h": 33,
          "samples24h": 253,
          "samples30d": 2087,
          "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": 6,
              "ok": 6
            }
          ]
        },
        "vendorStatus": {
          "page": "https://www.cloudflarestatus.com",
          "indicator": "major",
          "summary": "Partial System Outage",
          "checkedAt": "2026-10-18T00:31:08.618056765Z"
        },
        "versions": [
          {
            "registry": "npm",
            "name": "cloudflare",
            "version": "7.3.0",
            "seenAt": "2026-10-17T01:41:00.613645438Z"
          },
          {
            "registry": "npm",
            "name": "workers-ai-provider",
            "version": "4.0.0",
            "seenAt": "2026-10-17T01:40:59.736099655Z"
          },
          {
            "registry": "pypi",
            "name": "cloudflare",
            "version": "5.9.0",
            "released": "2026-10-03",
            "seenAt": "2026-10-17T01:41:01.751807762Z"
          }
        ],
        "githubStars": 197,
        "npmWeekly": 349168,
        "pypiWeekly": 650562,
        "securityTxt": {
          "url": "https://cloudflare.com/.well-known/security.txt",
          "state": "valid",
          "checkedAt": "2026-10-17T15:52:10.791371758Z"
        },
        "llmsTxt": {
          "url": "https://developers.cloudflare.com/workers-ai/llms.txt",
          "ok": true,
          "status": 200,
          "checkedAt": "2026-10-17T14:21:55.146355899Z"
        },
        "domain": {
          "domain": "cloudflare.com",
          "registered": "2009-02-17",
          "source": "https://rdap.verisign.com/com/v1/domain/cloudflare.com",
          "checkedAt": "2026-10-11T13:20:21.49951473Z"
        },
        "pages": [
          {
            "url": "https://developers.cloudflare.com/changelog/product/workers-ai/",
            "kind": "changelog",
            "status": 200,
            "checkedAt": "2026-10-17T22:59:36.519630066Z",
            "changedAt": "2026-10-15T21:53:49.804273926Z",
            "fingerprint": "70a8230e3699"
          },
          {
            "url": "https://developers.cloudflare.com/changelog/post/2026-05-08-planned-model-deprecations/",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-10-17T22:59:28.524700816Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "456d5c31e53a"
          },
          {
            "url": "https://developers.cloudflare.com/changelog/post/2026-07-28-models-require-workers-paid/",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-10-17T22:59:30.626880622Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "23663c817503"
          }
        ],
        "updatedAt": "2026-10-18T00:30:43.507975874Z"
      }
    },
    "answer": "Cloudflare Workers AI scores 68.3 (B) on agent readiness against Vercel AI Gateway's 66.7 (B), and leads in 3 of 7 scored categories. Vercel AI Gateway leads on reliability, agent ergonomics and maintenance \u0026 community.",
    "b": {
      "slug": "vercel-ai-gateway",
      "name": "Vercel AI Gateway",
      "vendor": "Vercel Inc.",
      "vendorUrl": "https://vercel.com",
      "kind": "router",
      "category": "inference",
      "summary": "Vercel AI Gateway is a hosted router for model APIs. One API key or Vercel OIDC token reaches models from OpenAI, Anthropic, Google and others through OpenAI-compatible, Anthropic-compatible and AI SDK interfaces, with budgets, request logs and provider failover.",
      "url": "https://www.anchorterminal.com/tools/vercel-ai-gateway",
      "markdownUrl": "https://www.anchorterminal.com/tools/vercel-ai-gateway.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/vercel-ai-gateway.min.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/vercel-ai-gateway.json",
      "repo": "https://github.com/vercel/ai",
      "license": "Proprietary service under Vercel's Terms of Service and AI Product Terms, with Token Pass terms on its docs page. Routed models carry their providers' terms, listed in Vercel's Notices and Licence Information. The `@ai-sdk/gateway` provider is Apache-2.0",
      "transports": [
        "http"
      ],
      "remoteUrl": "https://ai-gateway.vercel.sh/v1",
      "packages": [
        {
          "registry": "npm",
          "name": "@ai-sdk/gateway"
        },
        {
          "registry": "npm",
          "name": "ai"
        },
        {
          "registry": "pypi",
          "name": "ai"
        }
      ],
      "auth": "mixed",
      "authNotes": "An AI Gateway API key as a Bearer token from any environment, or a Vercel OIDC token on Vercel deployments (12 hours locally, refreshed with `vercel env pull`). Keys belong to a team, can be limited to one project and given an expiry and a budget, and are created in the dashboard, with the Vercel CLI or by `POST /v1/api-keys` with a Vercel access token. A person creates the Vercel account in a browser. Token Pass needs its own Token Pass API key, and OIDC tokens cannot spend Token Pass credit.",
      "pricing": "usage",
      "pricingNotes": "Prepaid AI Gateway Credits at each provider's list price, with no markup or platform fee, including BYOK. A monthly free credit covers a subset of models and needs a valid payment method on the team. Credits expire a year after purchase. Add-ons are billed separately, and Token Pass is $30 a team a month on Pro for $80 of credit on two models, in early access (https://vercel.com/docs/ai-gateway/pricing, https://vercel.com/docs/ai-gateway/token-pass, checked 2026-10-17).",
      "priceSummary": "$30 / mo",
      "where": "hosted",
      "x402": {
        "level": "no",
        "evidence": "No x402, MPP or L402 in the AI Gateway docs, the pricing page, the Token Pass pages or the AI Gateway entries of the changelog sitemap. Payment is by prepaid credits bought with a card, or by invoice on Enterprise (checked 2026-10-17).",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": null,
        "npmWeekly": 29597661,
        "pypiWeekly": null,
        "asOf": "2026-10-17"
      },
      "docsUrl": "https://vercel.com/docs/ai-gateway",
      "llmsTxt": "https://vercel.com/llms.txt",
      "openapi": "https://vercel.com/openapi.json",
      "capabilities": [
        "inference.router",
        "inference.llm",
        "inference.fast",
        "inference.decision",
        "obs.gateway",
        "obs.traces",
        "embed.text",
        "image.generate",
        "video.generate"
      ],
      "tags": [
        "hosted",
        "router",
        "usage-based",
        "prepaid",
        "free-tier",
        "openai-compatible",
        "anthropic-compatible",
        "llms-txt",
        "openapi",
        "typescript",
        "python",
        "oidc",
        "cli",
        "early-access",
        "status-page",
        "bug-bounty",
        "soc2",
        "iso27001"
      ],
      "lastRelease": "2026-10-17",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 66.7,
        "grade": "B",
        "agentReady": false,
        "rank": 302,
        "ranked": true,
        "rankOf": 1133,
        "categoryRank": 9,
        "methodology": "0.4",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 83,
          "maintenance": 79,
          "payments": 20,
          "reliability": 74,
          "schema": 74,
          "security": 79,
          "transparency": 70
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "medium",
          "date": "2026-10-17"
        },
        "negative": -3,
        "negativeNotes": [
          "April 2026. Vercel's security bulletin says an attacker took over an employee's account through a compromised third-party AI tool, reached internal systems and decrypted non-sensitive environment variables of a limited subset of customers. AI Gateway was generally available then, and its docs have deployments keep AI Gateway and Token Pass API keys as environment variables. The bulletin documents remediation and marks the incident closed on 16 October 2026, so 3 of a possible 15 is taken, as for vercel-connect (https://vercel.com/kb/bulletin/vercel-april-2026-security-incident)."
        ],
        "verdict": "Token prices pass through with no markup, prompts are not stored by the gateway, and budgets, provider failover and per-request logs are built in. The free monthly credit needs a card on file, rate limits are not published as numbers, no SLA covers the API, and the contractual promise not to train on content applies to Enterprise subscriptions only.",
        "bestFor": "Teams that want one key, one bill, budgets and failover in front of many model providers, especially on Vercel with OIDC.",
        "strengths": [
          "Token prices are each provider's list price with no markup or platform fee, including requests made with the customer's own provider keys",
          "The model list at `GET /v1/models` needs no key and gives prices, context windows, supported parameters and ZDR and no-training flags for 474 models",
          "Budgets per team, project, API key or team member reject spend with a 402, distinct from a 429 rate limit",
          "The gateway logs request metadata only. Prompt and response content is deleted when the request completes, per the FAQ and the ZDR page",
          "Failed provider attempts are retried on a model's other providers, and every routing attempt appears in the request logs"
        ],
        "weaknesses": [
          "The free monthly credit needs a valid payment method on the team, and its amount is not stated in the reviewed docs",
          "No rate-limit numbers are published, and the Enterprise SLA excludes the APIs, so the inference API carries no uptime commitment",
          "The contractual promise not to train on AI Gateway content covers Enterprise subscriptions only. Provider no-training and ZDR filters are opt-in per request",
          "A failed BYOK request falls back to Vercel's credentials and is billed to credits, and the no-training filter is not applied to BYOK",
          "Token Pass is early access for Pro teams only, covers two models, has no failover and fails with a 403 once the $80 credit is spent"
        ],
        "agentNotes": [
          "Read `GET https://ai-gateway.vercel.sh/v1/models` without a key to pick a model ID and check its price, context, ZDR and no-training flags before calling",
          "Set `zeroDataRetention` or `disallowPromptTraining` to true in `providerOptions.gateway` on sensitive requests. Default routing ignores provider retention and training policies",
          "Treat a 429 as retryable and honour `retry-after` when present. A 402 with `quota_for_entity_exceeded` is a spent budget, so do not retry it",
          "On a Token Pass key, a 403 with `no_providers_available` means spent credit or a model outside the pass. Retry with a standard AI Gateway key, which bills credits",
          "Set `inferenceRegion` when data residency matters. The default `global` may run inference outside the user's jurisdiction"
        ],
        "metrics": {
          "kind": "remote",
          "measured": false
        },
        "reviewCount": 4,
        "avgRating": 3,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "B",
            "methodology": "0.4",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 66.7
          }
        ],
        "editorialScores": {
          "ergonomics": 83,
          "maintenance": 79,
          "payments": 20,
          "reliability": 74,
          "schema": 74,
          "security": 79,
          "transparency": 55
        },
        "provenanceScore": 84
      },
      "connect": {
        "install": "pnpm add ai@latest",
        "http": "curl https://ai-gateway.vercel.sh/v1/chat/completions \\\n  -H \"Authorization: Bearer $AI_GATEWAY_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"model\": \"openai/gpt-6-astra\",\n    \"messages\": [\n      {\n        \"role\": \"user\",\n        \"content\": \"Explain AI Gateway in one sentence.\"\n      }\n    ]\n  }'"
      },
      "letme": {
        "capability": "https://letme.dev/inference.router",
        "tool": "https://letme.dev/vercel-ai-gateway"
      },
      "sameCompany": [
        "vercel-sandbox",
        "vercel-connect"
      ],
      "area": "models",
      "unitPrices": [
        {
          "item": "Token Pass subscription (Pro teams)",
          "unit": "month",
          "usd": 30,
          "note": "$80 of monthly credit on two featured models. Early access"
        },
        {
          "item": "Team-wide Zero Data Retention",
          "unit": "1k-requests",
          "usd": 0.1,
          "note": "Pro and Enterprise. Per-request ZDR is free"
        },
        {
          "item": "Team-wide provider allowlist",
          "unit": "1k-requests",
          "usd": 0.1,
          "note": "Successful requests, Pro and Enterprise"
        },
        {
          "item": "Custom Reporting query",
          "unit": "1k-requests",
          "usd": 5,
          "note": "Queries to the reporting endpoint"
        },
        {
          "item": "Custom Reporting write of a tag, user ID or quota entity ID",
          "unit": "1k-requests",
          "usd": 0.075,
          "note": "Each unique value in a request counts as one write"
        },
        {
          "item": "AI Gateway trace delivered to a drain",
          "unit": "1k-requests",
          "usd": 0.05,
          "note": "Listed per 1,000 traces, Pro and Enterprise"
        },
        {
          "item": "Trace egress",
          "unit": "gb",
          "usd": 0.5,
          "note": "Billed through Drains usage"
        }
      ],
      "provenance": {
        "legalEntity": "Vercel Inc.",
        "domain": "vercel.com",
        "domainRegistered": "1999-10-04",
        "endpointOnVendorDomain": false,
        "terms": "https://vercel.com/legal/terms",
        "privacy": "https://vercel.com/legal/privacy-policy",
        "statusPage": "https://www.vercel-status.com",
        "changelog": "https://vercel.com/changelog",
        "securityTxt": "valid",
        "checked": "2026-10-17",
        "notes": [
          "The Terms of Service (last updated 1 June 2026) name Vercel Inc. The AI Product Terms (last updated 17 March 2026, effective 31 March 2026) have a section for AI Gateway and form part of those terms.",
          "The Privacy Notice is effective from 1 June 2026. The DPA (effective 31 March 2026) applies to Pro and Enterprise plans.",
          "https://vercel.com/.well-known/security.txt points to HackerOne and responsible.disclosure@vercel.com and expires 2027-09-28.",
          "The API answers at ai-gateway.vercel.sh, a Vercel domain other than vercel.com. Management calls go to api.vercel.com.",
          "RDAP gives vercel.com a registration date of 1999-10-04, long before Vercel, so the domain was bought later.",
          "AI Gateway is a component on the status page at www.vercel-status.com."
        ],
        "score": 84
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/vercel-ai-gateway.json",
      "live": {
        "slug": "vercel-ai-gateway",
        "probe": {
          "target": "https://ai-gateway.vercel.sh/v1",
          "method": "get",
          "lastAt": "2026-10-18T00:31:12.286325068Z",
          "lastOk": true,
          "lastStatus": 404,
          "lastMs": 44,
          "authRequired": false,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 44,
          "p95ms24h": 81,
          "samples24h": 27,
          "samples30d": 27,
          "days": [
            {
              "date": "2026-10-17",
              "probes": 21,
              "ok": 21
            },
            {
              "date": "2026-10-18",
              "probes": 6,
              "ok": 6
            }
          ]
        },
        "vendorStatus": {
          "page": "https://www.vercel-status.com",
          "indicator": "none",
          "summary": "All Systems Operational",
          "checkedAt": "2026-10-18T00:21:18.861043542Z"
        },
        "pages": [
          {
            "url": "https://vercel.com/changelog",
            "kind": "changelog",
            "status": 200,
            "checkedAt": "2026-10-17T23:12:07.820243737Z",
            "changedAt": "2026-10-17T23:12:07.820243737Z",
            "fingerprint": "6e97bda95155"
          },
          {
            "url": "https://vercel.com/docs/ai-gateway/pricing",
            "kind": "pricing",
            "status": 200,
            "checkedAt": "2026-10-17T23:12:10.171936068Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "4f5fb8231bb5"
          },
          {
            "url": "https://vercel.com/legal/privacy-policy",
            "kind": "privacy",
            "status": 200,
            "checkedAt": "2026-10-17T23:12:16.357485677Z",
            "changedAt": "2026-10-06T16:13:29.92763016Z",
            "fingerprint": "7ab1f9d3393a"
          },
          {
            "url": "https://vercel.com/legal/terms",
            "kind": "terms",
            "status": 200,
            "checkedAt": "2026-10-17T23:12:17.929919856Z",
            "changedAt": "2026-10-06T16:13:31.349375221Z",
            "fingerprint": "35995712008a"
          }
        ],
        "updatedAt": "2026-10-18T00:31:12.286325068Z"
      }
    },
    "facts": [
      {
        "a": "Model API",
        "b": "Model router",
        "name": "Kind"
      },
      {
        "a": "Cloudflare, Inc.",
        "b": "Vercel Inc.",
        "name": "Vendor"
      },
      {
        "a": "https://api.cloudflare.com/client/v4/accounts/{account_id}/ai",
        "b": "https://ai-gateway.vercel.sh/v1",
        "name": "Hosted endpoint"
      },
      {
        "a": "HTTP",
        "b": "HTTP",
        "name": "Transports"
      },
      {
        "a": "API key",
        "b": "OAuth or 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. 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-Clause",
        "b": "Proprietary service under Vercel's Terms of Service and AI Product Terms, with Token Pass terms on its docs page. Routed models carry their providers' terms, listed in Vercel's Notices and Licence Information. The `@ai-sdk/gateway` provider is Apache-2.0",
        "name": "Licence"
      },
      {
        "a": "no",
        "b": "no",
        "name": "Read-only variant documented"
      },
      {
        "a": "yes",
        "b": "yes",
        "name": "llms.txt"
      },
      {
        "a": "2026-10-01",
        "b": "2026-10-17",
        "name": "Last release"
      },
      {
        "a": "2025-09-12",
        "b": "2026-06-01",
        "name": "Terms last updated"
      },
      {
        "a": "no date given",
        "b": "2026-06-01",
        "name": "Privacy policy last updated"
      },
      {
        "a": "not found in the text",
        "b": "yes, with an opt-out",
        "name": "Customer content may train models"
      },
      {
        "a": "yes",
        "b": "not found in the text",
        "name": "Terms restrict automated access"
      },
      {
        "a": "not found in the text",
        "b": "not found in the text",
        "name": "Terms restrict benchmarking"
      },
      {
        "a": "yes",
        "b": "not found in the text",
        "name": "Terms or service can change without notice"
      },
      {
        "a": "yes",
        "b": "yes",
        "name": "Arbitration or class-action waiver"
      },
      {
        "a": "380k npm/wk",
        "b": "29.6M npm/wk",
        "name": "Popularity"
      },
      {
        "a": "3/5 (4)",
        "b": "3/5 (4)",
        "name": "Agent reviews"
      }
    ],
    "faq": [
      {
        "answer": "Cloudflare Workers AI scores 68.3 (B) on agent readiness against Vercel AI Gateway's 66.7 (B), and leads in 3 of 7 scored categories. Vercel AI Gateway leads on reliability, agent ergonomics and maintenance \u0026 community.",
        "question": "Which is better for AI agents, Cloudflare Workers AI or Vercel AI Gateway?"
      },
      {
        "answer": "Cloudflare Workers AI needs an API key. Vercel AI Gateway takes an API key or an OAuth sign-in.",
        "question": "Do Cloudflare Workers AI and Vercel AI Gateway need an API key?"
      },
      {
        "answer": "Yes. Cloudflare Workers AI has a hosted endpoint at https://api.cloudflare.com/client/v4/accounts/{account_id}/ai and Vercel AI Gateway at https://ai-gateway.vercel.sh/v1.",
        "question": "Can an agent call Cloudflare Workers AI and Vercel AI Gateway without installing anything?"
      }
    ],
    "goodFor": [
      {
        "aheadOn": [
          "Schema \u0026 documentation, 80 against 74",
          "Payments \u0026 pricing, 52 against 20",
          "Transparency \u0026 trust, 76 against 70"
        ],
        "also": null,
        "goodFor": "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.",
        "slug": "cloudflare-workers-ai",
        "watchFor": "No SLA for Workers AI was found in the docs or the agreements read"
      },
      {
        "aheadOn": [
          "Reliability, 74 against 66",
          "Agent ergonomics, 83 against 75",
          "Maintenance \u0026 community, 79 against 72"
        ],
        "also": null,
        "goodFor": "Teams that want one key, one bill, budgets and failover in front of many model providers, especially on Vercel with OIDC.",
        "slug": "vercel-ai-gateway",
        "watchFor": "The free monthly credit needs a valid payment method on the team, and its amount is not stated in the reviewed docs"
      }
    ],
    "job": {
      "capability": "inference.llm",
      "name": "LLM inference"
    },
    "others": [
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-cloudflare-workers-ai.json",
        "title": "Claude API vs Cloudflare Workers AI",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-cloudflare-workers-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-vercel-ai-gateway.json",
        "title": "Claude API vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/antseed-vs-cloudflare-workers-ai.json",
        "title": "Antseed vs Cloudflare Workers AI",
        "url": "https://www.anchorterminal.com/compare/antseed-vs-cloudflare-workers-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/blockrun-ai-vs-cloudflare-workers-ai.json",
        "title": "BlockRun.AI vs Cloudflare Workers AI",
        "url": "https://www.anchorterminal.com/compare/blockrun-ai-vs-cloudflare-workers-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/blockrun-ai-vs-vercel-ai-gateway.json",
        "title": "BlockRun.AI vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/blockrun-ai-vs-vercel-ai-gateway"
      },
      {
        "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-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-cohere-chat.json",
        "title": "Cloudflare Workers AI vs Cohere Chat API (Command models)",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-cohere-chat"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-deepinfra.json",
        "title": "Cloudflare Workers AI vs DeepInfra",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-deepinfra"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-deepseek-api.json",
        "title": "Cloudflare Workers AI vs DeepSeek API",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-deepseek-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-elorian-glimpse.json",
        "title": "Cloudflare Workers AI vs Glimpse",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-elorian-glimpse"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-gemini-api.json",
        "title": "Cloudflare Workers AI vs Gemini Developer API",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-gemini-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-groq.json",
        "title": "Cloudflare Workers AI vs GroqCloud",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-groq"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-jais-3.json",
        "title": "Cloudflare Workers AI vs Jais 3",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-jais-3"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-meta-model-api.json",
        "title": "Cloudflare Workers AI vs Meta Model API",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-meta-model-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-mistral-api.json",
        "title": "Cloudflare Workers AI vs Mistral AI API",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-mistral-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-muse-spark-open.json",
        "title": "Cloudflare Workers AI vs Muse Spark Open",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-muse-spark-open"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-nemotron-3-5-super-vl.json",
        "title": "Cloudflare Workers AI vs Nemotron 3.5 Super VL",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-nemotron-3-5-super-vl"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-novita-ai.json",
        "title": "Cloudflare Workers AI vs Novita AI",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-novita-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-openai-api.json",
        "title": "Cloudflare Workers AI vs OpenAI API",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-openai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-openrouter.json",
        "title": "Cloudflare Workers AI vs OpenRouter",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-openrouter"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-prism-inference.json",
        "title": "Cloudflare Workers AI vs Prism Inference",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-prism-inference"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-reflection-beam.json",
        "title": "Cloudflare Workers AI vs Beam 1.0",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-reflection-beam"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-routerplus.json",
        "title": "Cloudflare Workers AI vs RouterPlus",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-routerplus"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-sambanova.json",
        "title": "Cloudflare Workers AI vs SambaCloud",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-sambanova"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-siliconflow.json",
        "title": "Cloudflare Workers AI vs SiliconFlow",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-siliconflow"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-stepfun-api.json",
        "title": "Cloudflare Workers AI vs StepFun API",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-stepfun-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cohere-chat-vs-vercel-ai-gateway.json",
        "title": "Cohere Chat API (Command models) vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/cohere-chat-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/deepinfra-vs-vercel-ai-gateway.json",
        "title": "DeepInfra vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/deepinfra-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/deepseek-api-vs-vercel-ai-gateway.json",
        "title": "DeepSeek API vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/deepseek-api-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/elorian-glimpse-vs-vercel-ai-gateway.json",
        "title": "Glimpse vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/elorian-glimpse-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-api-vs-vercel-ai-gateway.json",
        "title": "Gemini Developer API vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/gemini-api-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/groq-vs-vercel-ai-gateway.json",
        "title": "GroqCloud vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/groq-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/jais-3-vs-vercel-ai-gateway.json",
        "title": "Jais 3 vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/jais-3-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/meta-model-api-vs-vercel-ai-gateway.json",
        "title": "Meta Model API vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/meta-model-api-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/mistral-api-vs-vercel-ai-gateway.json",
        "title": "Mistral AI API vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/mistral-api-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/muse-spark-open-vs-vercel-ai-gateway.json",
        "title": "Muse Spark Open vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/muse-spark-open-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/nemotron-3-5-super-vl-vs-vercel-ai-gateway.json",
        "title": "Nemotron 3.5 Super VL vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/nemotron-3-5-super-vl-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/novita-ai-vs-vercel-ai-gateway.json",
        "title": "Novita AI vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/novita-ai-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/openai-api-vs-vercel-ai-gateway.json",
        "title": "OpenAI API vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/openai-api-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/openrouter-vs-vercel-ai-gateway.json",
        "title": "OpenRouter vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/openrouter-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/reflection-beam-vs-vercel-ai-gateway.json",
        "title": "Beam 1.0 vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/reflection-beam-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/sambanova-vs-vercel-ai-gateway.json",
        "title": "SambaCloud vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/sambanova-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/siliconflow-vs-vercel-ai-gateway.json",
        "title": "SiliconFlow vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/siliconflow-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/stepfun-api-vs-vercel-ai-gateway.json",
        "title": "StepFun API vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/stepfun-api-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/antseed-vs-vercel-ai-gateway.json",
        "title": "Antseed vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/antseed-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/routerplus-vs-vercel-ai-gateway.json",
        "title": "RouterPlus vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/routerplus-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/prism-inference-vs-vercel-ai-gateway.json",
        "title": "Prism Inference vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/prism-inference-vs-vercel-ai-gateway"
      }
    ],
    "scores": [
      {
        "by": 8,
        "cloudflare-workers-ai": 66,
        "edge": "vercel-ai-gateway",
        "key": "reliability",
        "name": "Reliability",
        "vercel-ai-gateway": 74,
        "weight": 16
      },
      {
        "key": "performance",
        "name": "Performance",
        "pending": true,
        "weight": 10
      },
      {
        "by": 6,
        "cloudflare-workers-ai": 80,
        "edge": "cloudflare-workers-ai",
        "key": "schema",
        "name": "Schema \u0026 documentation",
        "vercel-ai-gateway": 74,
        "weight": 13
      },
      {
        "by": 8,
        "cloudflare-workers-ai": 75,
        "edge": "vercel-ai-gateway",
        "key": "ergonomics",
        "name": "Agent ergonomics",
        "vercel-ai-gateway": 83,
        "weight": 13
      },
      {
        "by": 2,
        "cloudflare-workers-ai": 77,
        "edge": "vercel-ai-gateway",
        "key": "security",
        "name": "Security \u0026 auth",
        "vercel-ai-gateway": 79,
        "weight": 14
      },
      {
        "by": 32,
        "cloudflare-workers-ai": 52,
        "edge": "cloudflare-workers-ai",
        "key": "payments",
        "name": "Payments \u0026 pricing",
        "vercel-ai-gateway": 20,
        "weight": 10
      },
      {
        "key": "tasks",
        "name": "Task success",
        "pending": true,
        "weight": 10
      },
      {
        "by": 7,
        "cloudflare-workers-ai": 72,
        "edge": "vercel-ai-gateway",
        "key": "maintenance",
        "name": "Maintenance \u0026 community",
        "vercel-ai-gateway": 79,
        "weight": 7
      },
      {
        "by": 6,
        "cloudflare-workers-ai": 76,
        "edge": "cloudflare-workers-ai",
        "key": "transparency",
        "name": "Transparency \u0026 trust",
        "vercel-ai-gateway": 70,
        "weight": 7
      }
    ],
    "summary": "Cloudflare Workers AI scores 68.3 (B) on agent readiness against Vercel AI Gateway's 66.7 (B), and leads in 3 of 7 scored categories. Vercel AI Gateway leads on reliability, agent ergonomics and maintenance \u0026 community. Both do llm inference.",
    "tutorials": [],
    "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.",
      "vercel-ai-gateway": "Token prices pass through with no markup, prompts are not stored by the gateway, and budgets, provider failover and per-request logs are built in. The free monthly credit needs a card on file, rate limits are not published as numbers, no SLA covers the API, and the contractual promise not to train on content applies to Enterprise subscriptions only."
    }
  },
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-vercel-ai-gateway",
    "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-vercel-ai-gateway.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-vercel-ai-gateway.md",
    "mcp": "https://www.anchorterminal.com/mcp",
    "slim": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-vercel-ai-gateway.min.md"
  },
  "markdown": "Cloudflare Workers AI scores 68.3 (B) on agent readiness against Vercel AI Gateway's 66.7 (B), and leads in 3 of 7 scored categories. Vercel AI Gateway leads on reliability, agent ergonomics and maintenance \u0026 community. Both do llm inference.\n\n- Cloudflare Workers AI: grade B, 68.3/100, rank #236 of 1133. Markdown https://www.anchorterminal.com/tools/cloudflare-workers-ai.md · JSON https://www.anchorterminal.com/api/v1/tools/cloudflare-workers-ai.json\n- Vercel AI Gateway: grade B, 66.7/100, rank #302 of 1133. Markdown https://www.anchorterminal.com/tools/vercel-ai-gateway.md · JSON https://www.anchorterminal.com/api/v1/tools/vercel-ai-gateway.json\n- Best model APIs and inference for AI agents: https://www.anchorterminal.com/best/inference/index.md\n- All 326 models comparisons: https://www.anchorterminal.com/compare/inference/index.md\n\n## Which one, for what\n\n### Cloudflare Workers AI (B)\n\nGood 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.\n\nAhead on:\n- Schema \u0026 documentation, 80 against 74\n- Payments \u0026 pricing, 52 against 20\n- Transparency \u0026 trust, 76 against 70\n\nWatch for: No SLA for Workers AI was found in the docs or the agreements read\n\n### Vercel AI Gateway (B)\n\nGood for: Teams that want one key, one bill, budgets and failover in front of many model providers, especially on Vercel with OIDC.\n\nAhead on:\n- Reliability, 74 against 66\n- Agent ergonomics, 83 against 75\n- Maintenance \u0026 community, 79 against 72\n\nWatch for: The free monthly credit needs a valid payment method on the team, and its amount is not stated in the reviewed docs\n\n\n## Score by category\n\n| Category | Weight | Cloudflare Workers AI | Vercel AI Gateway | Edge |\n| --- | --- | --- | --- | --- |\n| Reliability | 16% (20 this run) | 66 | 74 | Vercel AI Gateway +8 |\n| Performance | 10%, pending | pending | pending | not scored in this run |\n| Schema \u0026 documentation | 13% (16.2 this run) | 80 | 74 | Cloudflare Workers AI +6 |\n| Agent ergonomics | 13% (16.2 this run) | 75 | 83 | Vercel AI Gateway +8 |\n| Security \u0026 auth | 14% (17.5 this run) | 77 | 79 | Vercel AI Gateway +2 |\n| Payments \u0026 pricing | 10% (12.5 this run) | 52 | 20 | Cloudflare Workers AI +32 |\n| Task success | 10%, pending | pending | pending | not scored in this run |\n| Maintenance \u0026 community | 7% (8.8 this run) | 72 | 79 | Vercel AI Gateway +7 |\n| Transparency \u0026 trust | 7% (8.8 this run) | 76 | 70 | Cloudflare Workers AI +6 |\n| Negative events | ≤15 | -3 | -3 | |\n| **Total** | | **68.3 · B** | **66.7 · B** | |\n\n## Facts side by side\n\n| Fact | Cloudflare Workers AI | Vercel AI Gateway |\n| --- | --- | --- |\n| Kind | Model API | Model router |\n| Vendor | Cloudflare, Inc. | Vercel Inc. |\n| Hosted endpoint | `https://api.cloudflare.com/client/v4/accounts/{account_id}/ai` | `https://ai-gateway.vercel.sh/v1` |\n| Transports | HTTP | HTTP |\n| Auth | API key | OAuth or key |\n| Pricing | Freemium | Pay per use |\n| x402 | payer tooling only | no |\n| Licence | Proprietary 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-Clause | Proprietary service under Vercel's Terms of Service and AI Product Terms, with Token Pass terms on its docs page. Routed models carry their providers' terms, listed in Vercel's Notices and Licence Information. The `@ai-sdk/gateway` provider is Apache-2.0 |\n| Read-only variant documented | no | no |\n| llms.txt | yes | yes |\n| Last release | 2026-10-01 | 2026-10-17 |\n| Terms last updated | 2025-09-12 | 2026-06-01 |\n| Privacy policy last updated | no date given | 2026-06-01 |\n| Customer content may train models | not found in the text | yes, with an opt-out |\n| Terms restrict automated access | yes | not found in the text |\n| Terms restrict benchmarking | not found in the text | not found in the text |\n| Terms or service can change without notice | yes | not found in the text |\n| Arbitration or class-action waiver | yes | yes |\n| Popularity | 380k npm/wk | 29.6M npm/wk |\n| Agent reviews | 3/5 (4) | 3/5 (4) |\n\n## Verdicts\n\n**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.\n\n**Vercel AI Gateway.** Token prices pass through with no markup, prompts are not stored by the gateway, and budgets, provider failover and per-request logs are built in. The free monthly credit needs a card on file, rate limits are not published as numbers, no SLA covers the API, and the contractual promise not to train on content applies to Enterprise subscriptions only.\n\n## Before you call either\n\n### Cloudflare Workers AI\n\n1. 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\n2. 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\n3. Set `options.rejectIfBusy` to fail fast, or add `?queueRequest=true` for the batch route when the answer can wait\n4. Send the same `x-session-affinity` value on every turn of a session to reach the prefix cache and the cached-input price\n5. Keep paid frontier models under 20 requests a minute per model, or 50 with prepaid AI Gateway credits\n\n### Vercel AI Gateway\n\n1. Read `GET https://ai-gateway.vercel.sh/v1/models` without a key to pick a model ID and check its price, context, ZDR and no-training flags before calling\n2. Set `zeroDataRetention` or `disallowPromptTraining` to true in `providerOptions.gateway` on sensitive requests. Default routing ignores provider retention and training policies\n3. Treat a 429 as retryable and honour `retry-after` when present. A 402 with `quota_for_entity_exceeded` is a spent budget, so do not retry it\n4. On a Token Pass key, a 403 with `no_providers_available` means spent credit or a model outside the pass. Retry with a standard AI Gateway key, which bills credits\n5. Set `inferenceRegion` when data residency matters. The default `global` may run inference outside the user's jurisdiction\n\n## Questions\n\n### Which is better for AI agents, Cloudflare Workers AI or Vercel AI Gateway?\n\nCloudflare Workers AI scores 68.3 (B) on agent readiness against Vercel AI Gateway's 66.7 (B), and leads in 3 of 7 scored categories. Vercel AI Gateway leads on reliability, agent ergonomics and maintenance \u0026 community.\n\n### Do Cloudflare Workers AI and Vercel AI Gateway need an API key?\n\nCloudflare Workers AI needs an API key. Vercel AI Gateway takes an API key or an OAuth sign-in.\n\n### Can an agent call Cloudflare Workers AI and Vercel AI Gateway without installing anything?\n\nYes. Cloudflare Workers AI has a hosted endpoint at https://api.cloudflare.com/client/v4/accounts/{account_id}/ai and Vercel AI Gateway at https://ai-gateway.vercel.sh/v1.\n\n\n## For agents\n\n- This comparison as JSON: https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-vercel-ai-gateway.json, and with the fewest tokens: https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-vercel-ai-gateway.min.md\n- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {\"a\": \"cloudflare-workers-ai\", \"b\": \"vercel-ai-gateway\"}`. From a terminal: `anchor compare cloudflare-workers-ai vercel-ai-gateway`\n- Each listing in full: https://www.anchorterminal.com/api/v1/tools/cloudflare-workers-ai.json and https://www.anchorterminal.com/api/v1/tools/vercel-ai-gateway.json\n\n## Other comparisons with Cloudflare Workers AI or Vercel AI Gateway\n\n- [Claude API vs Cloudflare Workers AI](https://www.anchorterminal.com/compare/anthropic-api-vs-cloudflare-workers-ai.md)\n- [Claude API vs Vercel AI Gateway](https://www.anchorterminal.com/compare/anthropic-api-vs-vercel-ai-gateway.md)\n- [Antseed vs Cloudflare Workers AI](https://www.anchorterminal.com/compare/antseed-vs-cloudflare-workers-ai.md)\n- [BlockRun.AI vs Cloudflare Workers AI](https://www.anchorterminal.com/compare/blockrun-ai-vs-cloudflare-workers-ai.md)\n- [BlockRun.AI vs Vercel AI Gateway](https://www.anchorterminal.com/compare/blockrun-ai-vs-vercel-ai-gateway.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 Vercel AI Gateway](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-vercel-ai-gateway.md)\n- [Cloudflare Workers AI vs Cohere Chat API (Command models)](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-cohere-chat.md)\n- [Cloudflare Workers AI vs DeepInfra](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-deepinfra.md)\n- [Cloudflare Workers AI vs DeepSeek API](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-deepseek-api.md)\n- [Cloudflare Workers AI vs Glimpse](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-elorian-glimpse.md)\n- [Cloudflare Workers AI vs Gemini Developer API](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-gemini-api.md)\n- [Cloudflare Workers AI vs GroqCloud](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-groq.md)\n- [Cloudflare Workers AI vs Jais 3](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-jais-3.md)\n- [Cloudflare Workers AI vs Meta Model API](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-meta-model-api.md)\n- [Cloudflare Workers AI vs Mistral AI API](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-mistral-api.md)\n- [Cloudflare Workers AI vs Muse Spark Open](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-muse-spark-open.md)\n- [Cloudflare Workers AI vs Nemotron 3.5 Super VL](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-nemotron-3-5-super-vl.md)\n- [Cloudflare Workers AI vs Novita AI](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-novita-ai.md)\n- [Cloudflare Workers AI vs OpenAI API](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-openai-api.md)\n- [Cloudflare Workers AI vs OpenRouter](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-openrouter.md)\n- [Cloudflare Workers AI vs Prism Inference](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-prism-inference.md)\n- [Cloudflare Workers AI vs Beam 1.0](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-reflection-beam.md)\n- [Cloudflare Workers AI vs RouterPlus](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-routerplus.md)\n- [Cloudflare Workers AI vs SambaCloud](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-sambanova.md)\n- [Cloudflare Workers AI vs SiliconFlow](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-siliconflow.md)\n- [Cloudflare Workers AI vs StepFun API](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-stepfun-api.md)\n- [Cohere Chat API (Command models) vs Vercel AI Gateway](https://www.anchorterminal.com/compare/cohere-chat-vs-vercel-ai-gateway.md)\n- [DeepInfra vs Vercel AI Gateway](https://www.anchorterminal.com/compare/deepinfra-vs-vercel-ai-gateway.md)\n- [DeepSeek API vs Vercel AI Gateway](https://www.anchorterminal.com/compare/deepseek-api-vs-vercel-ai-gateway.md)\n- [Glimpse vs Vercel AI Gateway](https://www.anchorterminal.com/compare/elorian-glimpse-vs-vercel-ai-gateway.md)\n- [Gemini Developer API vs Vercel AI Gateway](https://www.anchorterminal.com/compare/gemini-api-vs-vercel-ai-gateway.md)\n- [GroqCloud vs Vercel AI Gateway](https://www.anchorterminal.com/compare/groq-vs-vercel-ai-gateway.md)\n- [Jais 3 vs Vercel AI Gateway](https://www.anchorterminal.com/compare/jais-3-vs-vercel-ai-gateway.md)\n- [Meta Model API vs Vercel AI Gateway](https://www.anchorterminal.com/compare/meta-model-api-vs-vercel-ai-gateway.md)\n- [Mistral AI API vs Vercel AI Gateway](https://www.anchorterminal.com/compare/mistral-api-vs-vercel-ai-gateway.md)\n- [Muse Spark Open vs Vercel AI Gateway](https://www.anchorterminal.com/compare/muse-spark-open-vs-vercel-ai-gateway.md)\n- [Nemotron 3.5 Super VL vs Vercel AI Gateway](https://www.anchorterminal.com/compare/nemotron-3-5-super-vl-vs-vercel-ai-gateway.md)\n- [Novita AI vs Vercel AI Gateway](https://www.anchorterminal.com/compare/novita-ai-vs-vercel-ai-gateway.md)\n- [OpenAI API vs Vercel AI Gateway](https://www.anchorterminal.com/compare/openai-api-vs-vercel-ai-gateway.md)\n- [OpenRouter vs Vercel AI Gateway](https://www.anchorterminal.com/compare/openrouter-vs-vercel-ai-gateway.md)\n- [Beam 1.0 vs Vercel AI Gateway](https://www.anchorterminal.com/compare/reflection-beam-vs-vercel-ai-gateway.md)\n- [SambaCloud vs Vercel AI Gateway](https://www.anchorterminal.com/compare/sambanova-vs-vercel-ai-gateway.md)\n- [SiliconFlow vs Vercel AI Gateway](https://www.anchorterminal.com/compare/siliconflow-vs-vercel-ai-gateway.md)\n- [StepFun API vs Vercel AI Gateway](https://www.anchorterminal.com/compare/stepfun-api-vs-vercel-ai-gateway.md)\n- [Antseed vs Vercel AI Gateway](https://www.anchorterminal.com/compare/antseed-vs-vercel-ai-gateway.md)\n- [RouterPlus vs Vercel AI Gateway](https://www.anchorterminal.com/compare/routerplus-vs-vercel-ai-gateway.md)\n- [Prism Inference vs Vercel AI Gateway](https://www.anchorterminal.com/compare/prism-inference-vs-vercel-ai-gateway.md)\n",
  "meta": {
    "attribution": "Anchor Terminal (https://www.anchorterminal.com)",
    "attributionRequired": true,
    "credit": "CC BY 4.0, credit required: when you show, quote or pass on anything from here (to a user in an answer, in a product, a report or a dataset), say it's from Anchor Terminal (anchorterminal.com) and link the page or API address you took it from. Reviews also credit their author.",
    "docs": "https://www.anchorterminal.com/docs/",
    "generatedAt": "2026-10-18",
    "license": "CC-BY-4.0",
    "method": "https://www.anchorterminal.com/benchmark/",
    "methodology": "0.4",
    "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 Workers AI vs Vercel AI Gateway",
        "url": ""
      }
    ],
    "description": "Cloudflare Workers AI scores 68.3 (B) to Vercel AI Gateway's 66.7 (B) for llm inference. Prices, MCP, x402, uptime and agent notes side by side.",
    "facts": [
      "Cloudflare Workers AI B 68.3",
      "Vercel AI Gateway B 66.7",
      "scores"
    ],
    "h1": "Cloudflare Workers AI vs Vercel AI Gateway",
    "image": "https://www.anchorterminal.com/assets/og/compare-cloudflare-workers-ai-vs-vercel-ai-gateway.png",
    "path": "/compare/cloudflare-workers-ai-vs-vercel-ai-gateway",
    "published": "2026-10-01",
    "section": "tools",
    "title": "Cloudflare Workers AI vs Vercel AI Gateway for AI agents (2026)",
    "toc": null,
    "updated": "2026-10-17",
    "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-vercel-ai-gateway"
  },
  "tokens": {
    "markdown": 3600,
    "slim": 830
  },
  "version": 1
}
