{
  "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.8,
        "grade": "B",
        "agentReady": false,
        "rank": 275,
        "ranked": true,
        "rankOf": 950,
        "categoryRank": 8,
        "methodology": "0.4",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 73,
          "maintenance": 75,
          "payments": 52,
          "reliability": 66,
          "schema": 75,
          "security": 75,
          "transparency": 73
        },
        "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": 0,
        "avgRating": 0,
        "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.8
          }
        ],
        "editorialScores": {
          "ergonomics": 73,
          "maintenance": 75,
          "payments": 52,
          "reliability": 66,
          "schema": 75,
          "security": 75,
          "transparency": 51
        },
        "provenanceScore": 95
      },
      "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-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": 95
      },
      "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-10T03:53:23.825090921Z",
          "lastOk": true,
          "lastStatus": 404,
          "lastMs": 39,
          "authRequired": false,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 43,
          "p95ms24h": 102,
          "samples24h": 125,
          "samples30d": 125,
          "days": [
            {
              "date": "2026-10-09",
              "probes": 85,
              "ok": 85
            },
            {
              "date": "2026-10-10",
              "probes": 40,
              "ok": 40
            }
          ]
        },
        "vendorStatus": {
          "page": "https://www.cloudflarestatus.com",
          "indicator": "major",
          "summary": "Partial System Outage",
          "checkedAt": "2026-10-10T03:58:04.902949167Z"
        },
        "versions": [
          {
            "registry": "github",
            "name": "cloudflare/ai",
            "version": "ai-gateway-provider@4.0.1",
            "released": "2026-09-11",
            "seenAt": "2026-10-09T16:46:01.078937772Z"
          },
          {
            "registry": "npm",
            "name": "ai-gateway-provider",
            "version": "4.0.1",
            "seenAt": "2026-10-09T16:45:58.587383795Z"
          },
          {
            "registry": "npm",
            "name": "cloudflare",
            "version": "7.3.0",
            "seenAt": "2026-10-09T16:45:59.520764845Z"
          },
          {
            "registry": "pypi",
            "name": "cloudflare",
            "version": "5.9.0",
            "released": "2026-10-03",
            "seenAt": "2026-10-09T16:46:00.865337498Z"
          }
        ],
        "githubStars": 1189,
        "npmWeekly": 250648,
        "pypiWeekly": 365643,
        "pages": [
          {
            "url": "https://developers.cloudflare.com/ai-gateway/changelog/",
            "kind": "changelog",
            "status": 200,
            "checkedAt": "2026-10-09T18:35:34.168809494Z",
            "changedAt": "2026-10-07T18:04:13.791253735Z",
            "fingerprint": "aaad1064978c"
          },
          {
            "url": "https://developers.cloudflare.com/ai-gateway/reference/pricing/",
            "kind": "pricing",
            "status": 200,
            "checkedAt": "2026-10-09T18:35:36.234430797Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "57a018b683c5"
          },
          {
            "url": "https://www.cloudflare.com/privacypolicy/",
            "kind": "privacy",
            "status": 200,
            "checkedAt": "2026-10-09T18:49:06.00094733Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "e562d2a2da97"
          },
          {
            "url": "https://www.cloudflare.com/terms/",
            "kind": "terms",
            "status": 200,
            "checkedAt": "2026-10-09T18:49:08.260967052Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "d26dd2a74bde"
          }
        ],
        "updatedAt": "2026-10-10T03:58:04.902949167Z"
      }
    },
    "answer": "Cloudflare AI Gateway scores 66.8 (B) on agent readiness against Cohere Chat API (Command models)'s 64.7 (B), and leads in 5 of 7 scored categories. Cohere Chat API (Command models) leads on schema \u0026 documentation.",
    "b": {
      "slug": "cohere-chat",
      "name": "Cohere Chat API (Command models)",
      "vendor": "Cohere",
      "vendorUrl": "https://cohere.com",
      "kind": "model",
      "category": "inference",
      "summary": "Cohere's Chat API generates text with the Command family of models over REST (v2 chat), with tool use, structured outputs, citations and streaming. SDKs cover Python, TypeScript, Java and Go.",
      "url": "https://www.anchorterminal.com/tools/cohere-chat",
      "markdownUrl": "https://www.anchorterminal.com/tools/cohere-chat.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/cohere-chat.min.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/cohere-chat.json",
      "repo": "https://github.com/cohere-ai/cohere-python",
      "license": "Proprietary service under Cohere's Commercial SaaS Agreement. The SDKs are MIT",
      "transports": [
        "http"
      ],
      "remoteUrl": "https://api.cohere.com/v2/chat",
      "packages": [
        {
          "registry": "pypi",
          "name": "cohere"
        },
        {
          "registry": "npm",
          "name": "cohere-ai"
        },
        {
          "registry": "go",
          "name": "github.com/cohere-ai/cohere-go/v2"
        }
      ],
      "auth": "api-key",
      "authNotes": "Bearer API key from the dashboard, self-serve. A trial key is created at sign-up. A production key needs a team Owner to complete the Go to Production form and accept the SaaS agreement. Team roles are Owner and User. No key scopes or expiry were found in the docs.",
      "pricing": "freemium",
      "pricingNotes": "Trial keys are free with no card, limited to 20 chat requests a minute and 1,000 calls a month, and not for commercial use. Production keys bill per input and output token, monthly or at $250 outstanding. Current Command prices are in a script-drawn tab of cohere.com/pricing that we could not read. Production keys stay at trial limits on Command A+, Reasoning, Translate and Vision (checked 2026-10-09).",
      "priceSummary": "from $2.50 / 1M in",
      "where": "hosted",
      "x402": {
        "level": "no",
        "evidence": "No x402, MPP or L402 in the docs, the OpenAPI file or the pricing page (checked 2026-10-09).",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": null,
        "npmWeekly": null,
        "pypiWeekly": null,
        "asOf": "2026-10-09"
      },
      "docsUrl": "https://docs.cohere.com/docs/chat-api",
      "rateLimitsUrl": "https://docs.cohere.com/docs/rate-limits",
      "llmsTxt": "https://docs.cohere.com/llms.txt",
      "openapi": "https://raw.githubusercontent.com/cohere-ai/cohere-developer-experience/main/cohere-openapi.yaml",
      "capabilities": [
        "inference.llm",
        "inference.open-weights"
      ],
      "tags": [
        "official",
        "hosted",
        "model",
        "free-tier",
        "no-card",
        "openapi",
        "llms-txt",
        "openai-compatible",
        "python",
        "typescript",
        "java",
        "go",
        "status-page",
        "soc2",
        "bug-bounty"
      ],
      "lastRelease": "2026-09-09",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 64.7,
        "grade": "B",
        "agentReady": false,
        "rank": 342,
        "ranked": true,
        "rankOf": 950,
        "categoryRank": 11,
        "methodology": "0.4",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 72,
          "maintenance": 72,
          "payments": 30,
          "reliability": 64,
          "schema": 84,
          "security": 57,
          "transparency": 74
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "medium",
          "date": "2026-10-09"
        },
        "negative": 0,
        "verdict": "A public OpenAPI file, Markdown twins of every docs page and SDKs in four languages make the Chat API easy for an agent to read. Production keys do not cover the four newest Command models, whose limits are set by sales, and the SaaS agreement lets Cohere share API data with third parties.",
        "bestFor": "Teams that want Command models for RAG with citations, tool use and multilingual work, and that may later move to a private deployment or Model Vault.",
        "strengths": [
          "Public OpenAPI 3.1 file in the docs repository, last changed 29 September 2026, and a Markdown twin of every docs page",
          "A trial key is created at sign-up with no card, limited to 20 chat requests a minute and 1,000 calls a month",
          "Official SDKs for Python, TypeScript, Java and Go, each with a release on 26 August 2026",
          "JSON Schema structured outputs, `strict_tools` (beta), citations, reasoning budgets and safety modes on the v2 chat request",
          "The trust centre lists SOC 2 Type II, ISO 27001, ISO 42001 and a bug bounty, with nine sub-processors, all in the US"
        ],
        "weaknesses": [
          "Production keys work like trial keys on Command A+, Reasoning, Translate and Vision. The docs send production use of those models to sales or to Model Vault",
          "Prices for current Command models sit in a script-drawn tab of the pricing page that we could not read. Only legacy prices appear in the page text",
          "The SaaS agreement of 8 April 2025 grants Cohere an irrevocable right to use API data to improve its services and to share it with third parties",
          "No Retry-After header, backoff guidance or idempotency key was found in the reviewed documentation",
          "The SaaS agreement forbids use of the services for benchmarking or competitive analysis. Recorded as a fact, and it matters before any probe is run"
        ],
        "agentNotes": [
          "Call `POST https://api.cohere.com/v2/chat` with `Authorization: bearer \u003ckey\u003e`. `model` and `messages` are the only required fields",
          "Use `command-a-03-2025`, `command-r-08-2024`, `command-r-plus-08-2024` or `command-r7b-12-2024` for production traffic. Newer variants stay at trial limits on a production key",
          "Keep a trial key under 20 chat requests a minute and 1,000 calls a month, and do not use it for commercial work",
          "Set `response_format` with a `json_schema` for structured output, and tell the model to produce JSON when using `json_object` without a schema",
          "Ask the account Owner to turn off training under Data Controls in the dashboard before sending confidential prompts"
        ],
        "metrics": {
          "kind": "remote",
          "measured": false
        },
        "reviewCount": 0,
        "avgRating": 0,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "B",
            "methodology": "0.4",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 64.7
          }
        ],
        "editorialScores": {
          "ergonomics": 72,
          "maintenance": 72,
          "payments": 30,
          "reliability": 64,
          "schema": 84,
          "security": 57,
          "transparency": 65
        },
        "provenanceScore": 83
      },
      "connect": {
        "install": "pip install cohere   # or: npm i cohere-ai",
        "http": "curl --request POST \\\n  --url https://api.cohere.ai/v2/chat \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --header \"Authorization: bearer $CO_API_KEY\" \\\n  --data '{\"model\":\"command-a-plus-05-2026\",\"messages\":[{\"role\":\"user\",\"content\":\"Hello\"}]}'"
      },
      "letme": {
        "capability": "https://letme.dev/inference.llm",
        "tool": "https://letme.dev/cohere-chat"
      },
      "sameCompany": [
        "cohere-embed",
        "cohere-north"
      ],
      "area": "models",
      "provenance": {
        "legalEntity": "Cohere Inc.",
        "domain": "cohere.com",
        "domainRegistered": "2000-03-07",
        "endpointOnVendorDomain": true,
        "terms": "https://cohere.com/saas-agreement",
        "privacy": "https://cohere.com/privacy",
        "statusPage": "https://status.cohere.com",
        "changelog": "https://docs.cohere.com/v2/changelog",
        "securityTxt": "none",
        "checked": "2026-10-09",
        "notes": [
          "The Commercial SaaS Agreement (last updated 8 April 2025) names Cohere Inc., 171 John Street, Suite 200, Toronto, Ontario, and is governed by Ontario law.",
          "The privacy policy (last updated 1 May 2026) says it does not apply to customer inputs and outputs under an enterprise agreement, which the agreement and a DPA govern. The DPA is sent on request.",
          "The OpenAPI file names https://api.cohere.com as the server and the chat guide's examples call https://api.cohere.ai. Both are Cohere's.",
          "cohere.com/.well-known/security.txt answers 404. The trust centre holds a responsible disclosure policy for the bug bounty.",
          "status.cohere.ai redirects to status.cohere.com, whose robots.txt answers 404, so the host publishes no rules.",
          "RDAP for cohere.com gives a registration date of 2000-03-07."
        ],
        "score": 83
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/cohere-chat.json",
      "live": {
        "slug": "cohere-chat",
        "probe": {
          "target": "https://api.cohere.com/v2/chat",
          "method": "get",
          "lastAt": "2026-10-10T03:53:23.99053692Z",
          "lastOk": true,
          "lastStatus": 401,
          "lastMs": 128,
          "lastNote": "asks for credentials",
          "authRequired": true,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 143,
          "p95ms24h": 238,
          "samples24h": 125,
          "samples30d": 125,
          "days": [
            {
              "date": "2026-10-09",
              "probes": 85,
              "ok": 85
            },
            {
              "date": "2026-10-10",
              "probes": 40,
              "ok": 40
            }
          ]
        },
        "vendorStatus": {
          "page": "https://status.cohere.com",
          "indicator": "none",
          "summary": "All Systems Operational",
          "checkedAt": "2026-10-10T03:58:09.451211216Z"
        },
        "versions": [
          {
            "registry": "github",
            "name": "cohere-ai/cohere-python",
            "version": "7.1.0",
            "released": "2026-08-26",
            "seenAt": "2026-10-09T16:46:32.363318225Z"
          },
          {
            "registry": "npm",
            "name": "cohere-ai",
            "version": "8.1.0",
            "seenAt": "2026-10-09T16:46:31.955149363Z"
          },
          {
            "registry": "pypi",
            "name": "cohere",
            "version": "7.2.0",
            "released": "2026-09-28",
            "seenAt": "2026-10-09T16:46:31.750729672Z"
          }
        ],
        "githubStars": 404,
        "npmWeekly": 446483,
        "pypiWeekly": 2506118,
        "pages": [
          {
            "url": "https://docs.cohere.com/v2/changelog",
            "kind": "changelog",
            "status": 304,
            "checkedAt": "2026-10-09T18:36:57.799784835Z",
            "changedAt": "2026-10-07T18:04:51.510283642Z",
            "fingerprint": "f82c6d389ba7"
          },
          {
            "url": "https://docs.cohere.com/docs/deprecations",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-10-09T18:36:55.160420163Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "9848f1f6c54c"
          },
          {
            "url": "https://cohere.com/privacy",
            "kind": "privacy",
            "status": 200,
            "checkedAt": "2026-10-09T18:34:08.463769439Z",
            "changedAt": "2026-10-08T18:16:32.121838469Z",
            "fingerprint": "5ed49b0909fd"
          },
          {
            "url": "https://cohere.com/saas-agreement",
            "kind": "terms",
            "status": 200,
            "checkedAt": "2026-10-09T18:34:10.296826504Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "09fbf37bff61"
          }
        ],
        "models": {
          "command-r-plus-08-2024": {
            "openrouterId": "cohere/command-r-plus-08-2024",
            "tools": true,
            "structuredOutputs": true,
            "jsonMode": true,
            "reasoning": false,
            "input": [
              "text"
            ],
            "promptCaching": false,
            "contextTokens": 128000,
            "maxOutput": 4000,
            "checkedAt": "2026-10-09T22:59:28.49657734Z"
          }
        },
        "updatedAt": "2026-10-10T03:58:09.451211216Z"
      }
    },
    "facts": [
      {
        "a": "Model router",
        "b": "Model API",
        "name": "Kind"
      },
      {
        "a": "Cloudflare, Inc.",
        "b": "Cohere",
        "name": "Vendor"
      },
      {
        "a": "https://api.cloudflare.com/client/v4/accounts/{account_id}/ai",
        "b": "https://api.cohere.com/v2/chat",
        "name": "Hosted endpoint"
      },
      {
        "a": "HTTP",
        "b": "HTTP",
        "name": "Transports"
      },
      {
        "a": "API key",
        "b": "API key",
        "name": "Auth"
      },
      {
        "a": "Freemium",
        "b": "Freemium",
        "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": "Proprietary service under Cohere's Commercial SaaS Agreement. The SDKs are 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-09-09",
        "name": "Last release"
      },
      {
        "a": "2025-09-12",
        "b": "2025-04-08",
        "name": "Terms last updated"
      },
      {
        "a": "no date given",
        "b": "2026-05-01",
        "name": "Privacy policy last updated"
      },
      {
        "a": "not found in the text",
        "b": "yes",
        "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": "yes",
        "name": "Terms restrict benchmarking"
      },
      {
        "a": "yes",
        "b": "yes",
        "name": "Terms or service can change without notice"
      },
      {
        "a": "yes",
        "b": "not found in the text",
        "name": "Arbitration or class-action waiver"
      },
      {
        "a": "251k npm/wk",
        "b": "none",
        "name": "Popularity"
      }
    ],
    "faq": [
      {
        "answer": "Cloudflare AI Gateway scores 66.8 (B) on agent readiness against Cohere Chat API (Command models)'s 64.7 (B), and leads in 5 of 7 scored categories. Cohere Chat API (Command models) leads on schema \u0026 documentation.",
        "question": "Which is better for AI agents, Cloudflare AI Gateway or Cohere Chat API (Command models)?"
      },
      {
        "answer": "Both need an API key.",
        "question": "Do Cloudflare AI Gateway and Cohere Chat API (Command models) 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 Cohere Chat API (Command models) at https://api.cohere.com/v2/chat.",
        "question": "Can an agent call Cloudflare AI Gateway and Cohere Chat API (Command models) without installing anything?"
      }
    ],
    "goodFor": [
      {
        "aheadOn": [
          "Security \u0026 auth, 75 against 57",
          "Payments \u0026 pricing, 52 against 30"
        ],
        "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": [
          "Schema \u0026 documentation, 84 against 75"
        ],
        "also": [
          "Free to start without a card",
          "No incidents deducted, where Cloudflare AI Gateway loses 3 points for them"
        ],
        "goodFor": "Teams that want Command models for RAG with citations, tool use and multilingual work, and that may later move to a private deployment or Model Vault.",
        "slug": "cohere-chat",
        "watchFor": "Production keys work like trial keys on Command A+, Reasoning, Translate and Vision. The docs send production use of those models to sales or to Model Vault"
      }
    ],
    "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-cohere-chat.json",
        "title": "Claude API vs Cohere Chat API (Command models)",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-cohere-chat"
      },
      {
        "json": "https://www.anchorterminal.com/compare/antseed-vs-cohere-chat.json",
        "title": "Antseed vs Cohere Chat API (Command models)",
        "url": "https://www.anchorterminal.com/compare/antseed-vs-cohere-chat"
      },
      {
        "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-cohere-chat.json",
        "title": "BlockRun.AI vs Cohere Chat API (Command models)",
        "url": "https://www.anchorterminal.com/compare/blockrun-ai-vs-cohere-chat"
      },
      {
        "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-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-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-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-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-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-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/cohere-chat-vs-deepinfra.json",
        "title": "Cohere Chat API (Command models) vs DeepInfra",
        "url": "https://www.anchorterminal.com/compare/cohere-chat-vs-deepinfra"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cohere-chat-vs-deepseek-api.json",
        "title": "Cohere Chat API (Command models) vs DeepSeek API",
        "url": "https://www.anchorterminal.com/compare/cohere-chat-vs-deepseek-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cohere-chat-vs-gemini-api.json",
        "title": "Cohere Chat API (Command models) vs Gemini Developer API",
        "url": "https://www.anchorterminal.com/compare/cohere-chat-vs-gemini-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cohere-chat-vs-groq.json",
        "title": "Cohere Chat API (Command models) vs GroqCloud",
        "url": "https://www.anchorterminal.com/compare/cohere-chat-vs-groq"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cohere-chat-vs-mistral-api.json",
        "title": "Cohere Chat API (Command models) vs Mistral AI API",
        "url": "https://www.anchorterminal.com/compare/cohere-chat-vs-mistral-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cohere-chat-vs-novita-ai.json",
        "title": "Cohere Chat API (Command models) vs Novita AI",
        "url": "https://www.anchorterminal.com/compare/cohere-chat-vs-novita-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cohere-chat-vs-openai-api.json",
        "title": "Cohere Chat API (Command models) vs OpenAI API",
        "url": "https://www.anchorterminal.com/compare/cohere-chat-vs-openai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cohere-chat-vs-openrouter.json",
        "title": "Cohere Chat API (Command models) vs OpenRouter",
        "url": "https://www.anchorterminal.com/compare/cohere-chat-vs-openrouter"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cohere-chat-vs-prism-inference.json",
        "title": "Cohere Chat API (Command models) vs Prism Inference",
        "url": "https://www.anchorterminal.com/compare/cohere-chat-vs-prism-inference"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cohere-chat-vs-sambanova.json",
        "title": "Cohere Chat API (Command models) vs SambaCloud",
        "url": "https://www.anchorterminal.com/compare/cohere-chat-vs-sambanova"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cohere-chat-vs-siliconflow.json",
        "title": "Cohere Chat API (Command models) vs SiliconFlow",
        "url": "https://www.anchorterminal.com/compare/cohere-chat-vs-siliconflow"
      },
      {
        "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"
      }
    ],
    "scores": [
      {
        "by": 2,
        "cloudflare-ai-gateway": 66,
        "cohere-chat": 64,
        "edge": "cloudflare-ai-gateway",
        "key": "reliability",
        "name": "Reliability",
        "weight": 16
      },
      {
        "key": "performance",
        "name": "Performance",
        "pending": true,
        "weight": 10
      },
      {
        "by": 9,
        "cloudflare-ai-gateway": 75,
        "cohere-chat": 84,
        "edge": "cohere-chat",
        "key": "schema",
        "name": "Schema \u0026 documentation",
        "weight": 13
      },
      {
        "by": 1,
        "cloudflare-ai-gateway": 73,
        "cohere-chat": 72,
        "edge": "cloudflare-ai-gateway",
        "key": "ergonomics",
        "name": "Agent ergonomics",
        "weight": 13
      },
      {
        "by": 18,
        "cloudflare-ai-gateway": 75,
        "cohere-chat": 57,
        "edge": "cloudflare-ai-gateway",
        "key": "security",
        "name": "Security \u0026 auth",
        "weight": 14
      },
      {
        "by": 22,
        "cloudflare-ai-gateway": 52,
        "cohere-chat": 30,
        "edge": "cloudflare-ai-gateway",
        "key": "payments",
        "name": "Payments \u0026 pricing",
        "weight": 10
      },
      {
        "key": "tasks",
        "name": "Task success",
        "pending": true,
        "weight": 10
      },
      {
        "by": 3,
        "cloudflare-ai-gateway": 75,
        "cohere-chat": 72,
        "edge": "cloudflare-ai-gateway",
        "key": "maintenance",
        "name": "Maintenance \u0026 community",
        "weight": 7
      },
      {
        "by": 1,
        "cloudflare-ai-gateway": 73,
        "cohere-chat": 74,
        "edge": "cohere-chat",
        "key": "transparency",
        "name": "Transparency \u0026 trust",
        "weight": 7
      }
    ],
    "summary": "Cloudflare AI Gateway scores 66.8 (B) on agent readiness against Cohere Chat API (Command models)'s 64.7 (B), and leads in 5 of 7 scored categories. Cohere Chat API (Command models) leads on schema \u0026 documentation. Both do llm inference.",
    "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.",
      "cohere-chat": "A public OpenAPI file, Markdown twins of every docs page and SDKs in four languages make the Chat API easy for an agent to read. Production keys do not cover the four newest Command models, whose limits are set by sales, and the SaaS agreement lets Cohere share API data with third parties."
    }
  },
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-cohere-chat",
    "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-cohere-chat.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-cohere-chat.md",
    "slim": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-cohere-chat.min.md"
  },
  "markdown": "Cloudflare AI Gateway scores 66.8 (B) on agent readiness against Cohere Chat API (Command models)'s 64.7 (B), and leads in 5 of 7 scored categories. Cohere Chat API (Command models) leads on schema \u0026 documentation. Both do llm inference.\n\n- Cloudflare AI Gateway: grade B, 66.8/100, rank #275 of 950. Markdown https://www.anchorterminal.com/tools/cloudflare-ai-gateway.md · JSON https://www.anchorterminal.com/api/v1/tools/cloudflare-ai-gateway.json\n- Cohere Chat API (Command models): grade B, 64.7/100, rank #342 of 950. Markdown https://www.anchorterminal.com/tools/cohere-chat.md · JSON https://www.anchorterminal.com/api/v1/tools/cohere-chat.json\n- Best model APIs and inference for AI agents: https://www.anchorterminal.com/best/inference/index.md\n- All 136 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- Security \u0026 auth, 75 against 57\n- Payments \u0026 pricing, 52 against 30\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### Cohere Chat API (Command models) (B)\n\nGood for: Teams that want Command models for RAG with citations, tool use and multilingual work, and that may later move to a private deployment or Model Vault.\n\nAhead on:\n- Schema \u0026 documentation, 84 against 75\n\nAlso in its favour:\n- Free to start without a card\n- No incidents deducted, where Cloudflare AI Gateway loses 3 points for them\n\nWatch for: Production keys work like trial keys on Command A+, Reasoning, Translate and Vision. The docs send production use of those models to sales or to Model Vault\n\n\n## Score by category\n\n| Category | Weight | Cloudflare AI Gateway | Cohere Chat API (Command models) | Edge |\n| --- | --- | --- | --- | --- |\n| Reliability | 16% (20 this run) | 66 | 64 | Cloudflare AI Gateway +2 |\n| Performance | 10%, pending | pending | pending | not scored in this run |\n| Schema \u0026 documentation | 13% (16.2 this run) | 75 | 84 | Cohere Chat API (Command models) +9 |\n| Agent ergonomics | 13% (16.2 this run) | 73 | 72 | Cloudflare AI Gateway +1 |\n| Security \u0026 auth | 14% (17.5 this run) | 75 | 57 | Cloudflare AI Gateway +18 |\n| Payments \u0026 pricing | 10% (12.5 this run) | 52 | 30 | Cloudflare AI Gateway +22 |\n| Task success | 10%, pending | pending | pending | not scored in this run |\n| Maintenance \u0026 community | 7% (8.8 this run) | 75 | 72 | Cloudflare AI Gateway +3 |\n| Transparency \u0026 trust | 7% (8.8 this run) | 73 | 74 | Cohere Chat API (Command models) +1 |\n| Negative events | ≤15 | -3 | 0 | |\n| **Total** | | **66.8 · B** | **64.7 · B** | |\n\n## Facts side by side\n\n| Fact | Cloudflare AI Gateway | Cohere Chat API (Command models) |\n| --- | --- | --- |\n| Kind | Model router | Model API |\n| Vendor | Cloudflare, Inc. | Cohere |\n| Hosted endpoint | `https://api.cloudflare.com/client/v4/accounts/{account_id}/ai` | `https://api.cohere.com/v2/chat` |\n| Transports | HTTP | HTTP |\n| Auth | API key | API key |\n| Pricing | Freemium | Freemium |\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 | Proprietary service under Cohere's Commercial SaaS Agreement. The SDKs are MIT |\n| Read-only variant documented | no | no |\n| llms.txt | yes | yes |\n| Last release | 2026-10-06 | 2026-09-09 |\n| Terms last updated | 2025-09-12 | 2025-04-08 |\n| Privacy policy last updated | no date given | 2026-05-01 |\n| Customer content may train models | not found in the text | yes |\n| Terms restrict automated access | yes | not found in the text |\n| Terms restrict benchmarking | not found in the text | yes |\n| Terms or service can change without notice | yes | yes |\n| Arbitration or class-action waiver | yes | not found in the text |\n| Popularity | 251k npm/wk | 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**Cohere Chat API (Command models).** A public OpenAPI file, Markdown twins of every docs page and SDKs in four languages make the Chat API easy for an agent to read. Production keys do not cover the four newest Command models, whose limits are set by sales, and the SaaS agreement lets Cohere share API data with third parties.\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### Cohere Chat API (Command models)\n\n1. Call `POST https://api.cohere.com/v2/chat` with `Authorization: bearer \u003ckey\u003e`. `model` and `messages` are the only required fields\n2. Use `command-a-03-2025`, `command-r-08-2024`, `command-r-plus-08-2024` or `command-r7b-12-2024` for production traffic. Newer variants stay at trial limits on a production key\n3. Keep a trial key under 20 chat requests a minute and 1,000 calls a month, and do not use it for commercial work\n4. Set `response_format` with a `json_schema` for structured output, and tell the model to produce JSON when using `json_object` without a schema\n5. Ask the account Owner to turn off training under Data Controls in the dashboard before sending confidential prompts\n\n## Questions\n\n### Which is better for AI agents, Cloudflare AI Gateway or Cohere Chat API (Command models)?\n\nCloudflare AI Gateway scores 66.8 (B) on agent readiness against Cohere Chat API (Command models)'s 64.7 (B), and leads in 5 of 7 scored categories. Cohere Chat API (Command models) leads on schema \u0026 documentation.\n\n### Do Cloudflare AI Gateway and Cohere Chat API (Command models) need an API key?\n\nBoth need an API key.\n\n### Can an agent call Cloudflare AI Gateway and Cohere Chat API (Command models) without installing anything?\n\nYes. Cloudflare AI Gateway has a hosted endpoint at https://api.cloudflare.com/client/v4/accounts/{account_id}/ai and Cohere Chat API (Command models) at https://api.cohere.com/v2/chat.\n\n\n## For agents\n\n- This comparison as JSON: https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-cohere-chat.json, and with the fewest tokens: https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-cohere-chat.min.md\n- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {\"a\": \"cloudflare-ai-gateway\", \"b\": \"cohere-chat\"}`. From a terminal: `anchor compare cloudflare-ai-gateway cohere-chat`\n- Each listing in full: https://www.anchorterminal.com/api/v1/tools/cloudflare-ai-gateway.json and https://www.anchorterminal.com/api/v1/tools/cohere-chat.json\n\n## Other comparisons with Cloudflare AI Gateway or Cohere Chat API (Command models)\n\n- [Claude API vs Cloudflare AI Gateway](https://www.anchorterminal.com/compare/anthropic-api-vs-cloudflare-ai-gateway.md)\n- [Claude API vs Cohere Chat API (Command models)](https://www.anchorterminal.com/compare/anthropic-api-vs-cohere-chat.md)\n- [Antseed vs Cohere Chat API (Command models)](https://www.anchorterminal.com/compare/antseed-vs-cohere-chat.md)\n- [BlockRun.AI vs Cloudflare AI Gateway](https://www.anchorterminal.com/compare/blockrun-ai-vs-cloudflare-ai-gateway.md)\n- [BlockRun.AI vs Cohere Chat API (Command models)](https://www.anchorterminal.com/compare/blockrun-ai-vs-cohere-chat.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 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 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 Mistral AI API](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-mistral-api.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 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 Workers AI vs Cohere Chat API (Command models)](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-cohere-chat.md)\n- [Cohere Chat API (Command models) vs DeepInfra](https://www.anchorterminal.com/compare/cohere-chat-vs-deepinfra.md)\n- [Cohere Chat API (Command models) vs DeepSeek API](https://www.anchorterminal.com/compare/cohere-chat-vs-deepseek-api.md)\n- [Cohere Chat API (Command models) vs Gemini Developer API](https://www.anchorterminal.com/compare/cohere-chat-vs-gemini-api.md)\n- [Cohere Chat API (Command models) vs GroqCloud](https://www.anchorterminal.com/compare/cohere-chat-vs-groq.md)\n- [Cohere Chat API (Command models) vs Mistral AI API](https://www.anchorterminal.com/compare/cohere-chat-vs-mistral-api.md)\n- [Cohere Chat API (Command models) vs Novita AI](https://www.anchorterminal.com/compare/cohere-chat-vs-novita-ai.md)\n- [Cohere Chat API (Command models) vs OpenAI API](https://www.anchorterminal.com/compare/cohere-chat-vs-openai-api.md)\n- [Cohere Chat API (Command models) vs OpenRouter](https://www.anchorterminal.com/compare/cohere-chat-vs-openrouter.md)\n- [Cohere Chat API (Command models) vs Prism Inference](https://www.anchorterminal.com/compare/cohere-chat-vs-prism-inference.md)\n- [Cohere Chat API (Command models) vs SambaCloud](https://www.anchorterminal.com/compare/cohere-chat-vs-sambanova.md)\n- [Cohere Chat API (Command models) vs SiliconFlow](https://www.anchorterminal.com/compare/cohere-chat-vs-siliconflow.md)\n- [Antseed vs Cloudflare AI Gateway](https://www.anchorterminal.com/compare/antseed-vs-cloudflare-ai-gateway.md)\n",
  "meta": {
    "attribution": "Anchor Terminal (https://www.anchorterminal.com)",
    "docs": "https://www.anchorterminal.com/docs/",
    "generatedAt": "2026-10-10",
    "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"
  },
  "page": {
    "breadcrumbs": [
      {
        "name": "Home",
        "url": "https://www.anchorterminal.com/"
      },
      {
        "name": "Compare",
        "url": "https://www.anchorterminal.com/compare/"
      },
      {
        "name": "Cloudflare AI Gateway vs Cohere Chat API (Command models)",
        "url": ""
      }
    ],
    "description": "Cloudflare AI Gateway scores 66.8 (B) to Cohere Chat's 64.7 (B) for llm inference. Prices, MCP, x402, uptime and agent notes side by side.",
    "facts": [
      "Cloudflare AI Gateway B 66.8",
      "Cohere Chat API (Command models) B 64.7",
      "scores"
    ],
    "h1": "Cloudflare AI Gateway vs Cohere Chat API (Command models)",
    "image": "https://www.anchorterminal.com/assets/og/compare-cloudflare-ai-gateway-vs-cohere-chat.png",
    "path": "/compare/cloudflare-ai-gateway-vs-cohere-chat",
    "published": "2026-10-01",
    "section": "tools",
    "title": "Cloudflare AI Gateway vs Cohere Chat for AI agents (2026)",
    "toc": null,
    "updated": "2026-10-09",
    "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-cohere-chat"
  },
  "tokens": {
    "markdown": 3100,
    "slim": 780
  },
  "version": 1
}
