
Cloudflare AI Gateway
Edge proxy to observe and control all your AI traffic.
About
Cloudflare AI Gateway is a managed proxy on Cloudflare's edge network that sits between applications and AI providers. It adds unified request logging, analytics, rate limiting, response caching, cost tracking with dollar budgets, and content guardrails to calls against 20+ LLM providers through one universal endpoint.
Setup is a one-line base-URL change in most apps, with bring-your-own-key support so provider credentials stay in the Cloudflare dashboard. It is free for teams already on Cloudflare infrastructure, which has made it a default governance layer for serverless and edge AI workloads.
What it can do
- Unified multi-provider endpoint
- Caching, rate limiting, and logging
- Cost budgets and analytics
- Guardrails and BYOK key management
Setup
Create a gateway in the Cloudflare dashboard under AI > AI Gateway; point your client base URL at the gateway endpoint.
Prerequisites
A Cloudflare account; provider API keys for BYOK mode.
Use cases
Works with
Trust score — 9/10
Scored 9/10 (verified tier, metrics-v1). Evidence: Verified via vendor site/docs/GitHub and reputable coverage, wave 105; Trending score 90/100 from researcher assessment.
Sources
Every fact above was checked against these sources. Where a claim comes from the provider and couldn't be independently verified, the text says so.