Skip to content

Commit 66deb5b

Browse files
[AI Gateway] Address review feedback
1 parent 067e243 commit 66deb5b

3 files changed

Lines changed: 4 additions & 19 deletions

File tree

src/content/changelog/ai-gateway/2026-09-14-require-provider-credentials.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ Turn on **Require provider credentials** in your gateway settings. To use the AP
1414
}
1515
```
1616

17-
Requests without applicable credentials then return an HTTP `400` response. Workers AI requests remain allowed. They continue to use standard Workers AI account billing.
17+
Requests without applicable credentials then return an HTTP `400` response. Workers AI requests remain allowed, and the setting does not change their configured billing mode.
1818

1919
For configuration details and request-level controls, refer to [Require provider credentials](/ai-gateway/features/unified-billing/#require-provider-credentials).

src/content/docs/ai-gateway/configuration/manage-gateway.mdx

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ products:
88
- ai-gateway
99
---
1010

11-
import { DashButton, Render, Steps } from "~/components";
11+
import { Render } from "~/components";
1212

1313
You have several different options for managing an AI Gateway.
1414

@@ -69,22 +69,7 @@ Workers AI requests routed through this gateway will deduct from your AI Gateway
6969

7070
### Require provider credentials
7171

72-
By default, third-party provider requests without credentials can use [Unified Billing](/ai-gateway/features/unified-billing/). To prevent this fallback:
73-
74-
<Steps>
75-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and go to **AI** > **AI Gateway**.
76-
77-
<DashButton url="/?to=/:account/ai/ai-gateway" />
78-
79-
2. Select your gateway.
80-
3. Go to **Settings** and find **Require provider credentials**.
81-
4. Turn on **Require provider credentials**.
82-
5. Confirm the change.
83-
</Steps>
84-
85-
Third-party provider requests must use credentials supplied with the request or stored on the gateway. Requests without applicable credentials return an HTTP `400` response instead of using Unified Billing.
86-
87-
Workers AI requests do not use provider credentials. This setting does not block these requests. They use standard Workers AI account billing, not AI Gateway Unified Billing.
72+
To prevent Unified Billing fallback for third-party provider requests, turn on **Require provider credentials**. Refer to [Require provider credentials](/ai-gateway/features/unified-billing/#require-provider-credentials) for dashboard and API instructions.
8873

8974
## Retry requests
9075

src/content/docs/ai-gateway/features/unified-billing.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Send a [`PUT` request](/api/resources/ai_gateway/methods/update/) to update the
9494

9595
To require provider credentials for one third-party provider request, set the `cf-aig-no-wholesale` header to `true`. This header can prevent Unified Billing fallback but cannot relax the gateway setting. If **Require provider credentials** is on, setting the header to `false` has no effect.
9696

97-
Workers AI requests do not use provider credentials. This setting does not block these requests. They use standard Workers AI account billing, not AI Gateway Unified Billing.
97+
Workers AI requests do not use provider credentials. This setting does not block these requests or change the gateway's configured Workers AI billing mode.
9898

9999
## Use Unified Billing
100100

0 commit comments

Comments
 (0)