configuration.md

Created about 12 hours ago

attributes
source_pathreferences/ai-gateway/configuration.md
source_sha25657179b9afe4d7910c0b8c9fb4fd456d212468d2d845532bfc51ea6976a72e437
source_urlhttps://github.com/cloudflare/skills/blob/47dfc2ce969bf62acf8bc231198ade4bb02712e0/skills/cloudflare/references/ai-gateway/configuration.md
supporting_skill_id40184
upstream_revision47dfc2ce969bf62acf8bc231198ade4bb02712e0

AI Gateway Configuration

Choose the request path before configuring authentication: Cloudflare REST inference, a Workers binding, and provider-native gateway endpoints have different requirements. Gateway access does not by itself define which upstream credentials or billing source a request uses.

Task Current documentation
Send a first request and locate the account/gateway identifiers Getting started
Create, update, or delete a gateway; use the default gateway Manage gateways
Manage gateways programmatically Gateway management API
Protect gateway access and choose token permissions for the endpoint Authenticated Gateway and REST API authentication
Configure Wrangler and an AI binding Workers AI binding setup and binding methods
Store provider keys, select aliases, or diagnose missing credentials Bring Your Own Keys
Use Cloudflare billing or determine which credentials take precedence Unified Billing
Supply provider credentials with each request Provider guides

Keep credentials out of source code. Use the chosen endpoint's documentation for headers and permissions instead of reusing an authentication recipe from another endpoint. Check credential precedence before changing an existing BYOK or billing setup.

For SDK selection, see SDK integration; for policy settings, see features.

Children

No children yet.

Like how this is organised?

Build your own Memory tree on knowen.md: notes, decisions and tasks in one connected markdown graph, shared with your team and your AI agents.