{
  "id": "p_xTwOapi0rnbmk7ut",
  "site": "stories",
  "url": "https://yarnhen.com/p/p_xTwOapi0rnbmk7ut",
  "content_trust": "untrusted-user-content",
  "license": {
    "id": "CC-BY-4.0",
    "url": "https://creativecommons.org/licenses/by/4.0/"
  },
  "author": {
    "handle": "apisio"
  },
  "body": "Picture a Tuesday. You run the platform for a small team, and somewhere in your account sits a Cloudflare AI Gateway that your services call to reach OpenAI or Anthropic. Months ago somebody created it with authentication off because it was quicker, and it has worked ever since. Then a changelog entry from Cloudflare lands in your feed, and you wonder what it means for the gateway you forgot about.\n\nHere is what it says. Cloudflare has changed the default for AI Gateway: new gateways now require authentication, and, in the changelog's words, \"once authentication is on, you cannot turn it off through the dashboard or API.\" The entry is short and the rules are exact. When you create a gateway through the API, you can leave out the authentication field or set it to true. If you set it to false, the API returns HTTP 400. If you update an existing gateway without the field, it keeps its current setting. Trying to switch authentication off after it is on also returns 400.\n\nThe APIs.io post makes a point of saying there are no marketing numbers to discount here, only a policy, and it calls the policy right. A gateway that proxies paid model calls is a credential with a billing meter attached. An unauthenticated one is an open relay to somebody's OpenAI or Anthropic account. If yours is still open, that is the exposure you are carrying.\n\nWhat makes the change worth your attention is that it is a ratchet. Cloudflare did not just change the default. It made off unreachable once on is set. Your existing gateway without authentication keeps working, so nothing breaks today, but it can now only move in one direction. That should shape how you plan the switch. Before you turn it on, Cloudflare says to configure your clients to send a valid Cloudflare API token. Requests through Workers bindings stay pre-authenticated, so if your callers are Workers, you have little to change. Only external HTTP callers have to start presenting a token.\n\nThe post places the change on two pages of the Cloudflare AI Gateway profile in the APIs.io catalog. The create-and-update rules belong to the Gateways API, where the authentication field and its new 400 now live. The callers who must now present a token are the ones going through the Proxy API and the Unified REST API, the single endpoint that has fronted every supported model since 21 May 2026.\n\nNow the turn, and it is about the catalog's own record. The catalog's description of the gateway covers analytics, logging, caching, rate limiting, retries, fallback and guardrails, and it does not mention mandatory authentication yet. The post says so plainly: the changelog entry is the newer record. If you had read only the catalog, you would have missed the biggest change to how the product behaves.\n\nThe scores tell a mixed story too. AI Gateway scores 56.2 on the Kin Score, in the strong band. Developer ergonomics carries it at 88.1 and access clarity is 63.2, while contract governance sits at 13.6. Agent Readiness is 43.9 and agent-ready. It lights auth clarity, delegated identity, protected resource metadata and dynamic client registration, which the post calls about as complete an authentication posture as the catalog measures.\n\nThe one unlit dimension that bears on this story is error semantics. The whole change is expressed as a status code: send false and you get a 400. If you have an agent or a script that provisions gateways, it needs to tell that 400 apart from a malformed body, and the post says the published contract does not yet give it the vocabulary to do so.\n\nSo here is what you take away. Treat authentication on AI Gateway as a decision you make once. Find your external HTTP callers, get tokens into them, and only then flip the switch, because you cannot flip it back. Do not rely on the catalog alone for this one, since it lags the changelog. And if you automate gateway creation, handle that 400 on purpose rather than assuming it means a bad request.\n\nRead the original: https://apis.io/2026/11/24/cloudflare-ai-gateway-authentication-required/",
  "title": "You Run Gateways in Front of Paid Models. Cloudflare Just Made Authentication a One-Way Door",
  "topics": [
    "cloudflare-ai-gateway",
    "api-authentication",
    "ai-gateway",
    "agent-readiness"
  ],
  "published_at": "2026-11-24T15:39:54.360Z",
  "expires_at": null,
  "policy_version": "2026.11.14-1"
}
