Cloudflare AI Gateway Proxy

The AI Gateway proxy endpoint accepts requests in each provider's native API format and forwards them through Cloudflare's edge with analytics, caching, retries, rate limiting, fallback, and guardrails applied. URL pattern is https://gateway.ai.cloudflare.com/v1/{account_id}/{gateway_id}/{provider}. Authentication uses a Cloudflare API token with AI Gateway Read/Edit and Workers AI Read permissions; provider credentials can be sent as headers (BYOK) or stored via Unified Billing.

Cloudflare AI Gateway Proxy is one of 4 APIs that Cloudflare AI Gateway publishes on the APIs.io network.

Tagged areas include LLM Proxy, REST API, and Multi-Provider. The published artifact set on APIs.io includes API documentation, a getting-started guide, an API reference, and authentication docs.

API entry from apis.yml

apis.yml Raw ↑
aid: cloudflare-ai-gateway:cloudflare-ai-gateway-proxy
name: Cloudflare AI Gateway Proxy
description: The AI Gateway proxy endpoint accepts requests in each provider's native API format and forwards
  them through Cloudflare's edge with analytics, caching, retries, rate limiting, fallback, and guardrails
  applied. URL pattern is https://gateway.ai.cloudflare.com/v1/{account_id}/{gateway_id}/{provider}. Authentication
  uses a Cloudflare API token with AI Gateway Read/Edit and Workers AI Read permissions; provider credentials
  can be sent as headers (BYOK) or stored via Unified Billing.
humanURL: https://developers.cloudflare.com/ai-gateway/
baseURL: https://gateway.ai.cloudflare.com
tags:
- LLM Proxy
- REST API
- Multi-Provider
properties:
- type: Documentation
  url: https://developers.cloudflare.com/ai-gateway/
- type: GettingStarted
  url: https://developers.cloudflare.com/ai-gateway/get-started/
- type: APIReference
  url: https://developers.cloudflare.com/ai-gateway/usage/providers/
- type: Authentication
  url: https://developers.cloudflare.com/ai-gateway/get-started/