Free core features
Core AI Gateway features are offered for free on all plans with a Cloudflare account.
- Dashboard analytics
- Caching
- Rate limiting
- DLP scanning with two predefined profiles without a Zero Trust subscription
AI App Integrations Tools

PRODUCT OVERVIEW
Cloudflare AI Gateway is a developer-facing proxy for AI applications that routes requests to providers such as OpenAI, Anthropic, Google, Workers AI, and others through a single gateway. It adds observability with analytics and logging for requests, tokens, costs, and errors, and controls scaling with caching, rate limiting, spend limits, request retries, and model fallbacks. Security features include guardrails, data loss prevention scanning, authentication, and encrypted key storage. It is intended for teams building or operating AI apps that need cost, reliability, and usage visibility without changing provider APIs. Core features are offered free on all plans; logs, guardrails, unified billing, and Logpush have documented usage-based or fee details.
Sign up or log in to the Cloudflare dashboard to access AI Gateway.
Set up an AI Gateway instance in the dashboard; no domain needs to be added to Cloudflare.
Update your AI provider API endpoint to route through AI Gateway, or use Workers bindings and the REST API.
Enable caching, rate limiting, spend limits, retries, fallbacks, guardrails, or DLP as needed.
Review analytics, logs, and cost data in the AI Gateway dashboard.
Monitor AI application usage and costs across providers
Reduce repeated API calls and latency with caching
Protect AI apps from abuse with rate limiting
Improve reliability with retries and model fallbacks
Scan prompts and responses for sensitive data
Moderate harmful content in prompts and responses
Route requests across multiple AI providers
Track per-user or per-team spend with custom metadata
Yes, AI Gateway is available to use on all plans.
Dashboard analytics, caching, and rate limiting are offered for free on all plans.
No, AI Gateway does not require a domain added to Cloudflare; you can route requests from existing AI providers through it.
AI Gateway supports providers including OpenAI, Anthropic, Google AI Studio, Google Vertex AI, Workers AI, Amazon Bedrock, Azure OpenAI, Cohere, DeepSeek, Groq, Mistral AI, Perplexity, Replicate, xAI, and others.
Guardrails usage is billed as Workers AI token-based inference, with cost scaling with the length of prompts and responses evaluated.
A 5% fee is applied to all credits purchased through Unified Billing; provider inference pricing is passed through with no markup.
For accounts that created a gateway before September 24, 2026, Workers Free allows 100,000 logs total across all gateways, and Workers Paid allows 10,000,000 logs per gateway.
DLP scanning in AI Gateway is free on all plans; accounts without a Zero Trust subscription have access to two predefined DLP profiles.
Core features are free on all plans. Logs, Guardrails, Unified Billing, and Logpush have usage-based or fee details documented on the pricing page. Prices subject to change.
Core AI Gateway features are offered for free on all plans with a Cloudflare account.
Legacy log storage limit for accounts on the Workers Free plan that created a gateway before September 24, 2026.
Legacy log storage limit for accounts on the Workers Paid plan that created a gateway before September 24, 2026.
Purchase provider credits through Cloudflare; a 5% fee applies to credits purchased.
Guardrails evaluates prompts and responses using Workers AI and is billed as Workers AI token-based inference.
Logpush exports AI Gateway logs and is billed according to Logpush pricing based on exported and transformed log volume.
COMMUNITY REVIEWS
No reviews yet.