# AI Gateway - Prevent Unified Billing fallback for BYOK third-party providers

Publisher-attributed story with a reviewed brief or permitted publisher paragraph. The original publisher is responsible for the linked reporting.

- Publisher: Cloudflare Developers
- Category: AI
- Original publication time: 2026-09-14T00:00:00Z
- First observed by NexusTechWire: 2026-10-01T15:54:34Z
- Original source: https://developers.cloudflare.com/changelog/post/2026-09-14-require-provider-credentials/
- NexusTechWire record: https://nexustechwire.com/news/news-cb4402666fe3f00df218

## From the publisher

AI Gateway can now require credentials for third-party provider requests. Credentials must accompany the request or be stored on the gateway. This setting prevents fallback to Unified Billing with Cloudflare-managed credentials. Turn on Require provider credentials in your gateway settings. To use the API, set byok\_only to true in the request body of a PUT request to update the gateway: \{ "byok\_only": true \} To require provider credentials for one third-party request, set the cf-aig-no-wholesale header to true. This header cannot relax the gateway setting. 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. For configuration details and request-level controls, refer to Prevent Unified Billing fallback for BYOK third-party providers.

Source license: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). Publisher excerpt shortened and converted to plain text. Original source license applies.

Read the full original: [Cloudflare Developers](https://developers.cloudflare.com/changelog/post/2026-09-14-require-provider-credentials/)

This record does not reproduce the complete article or represent independent confirmation of every source claim.
