Cloudflare AI Gateway vs LiteLLM
No clear leader: LiteLLM (67.6) and Cloudflare AI Gateway (65.6) are within the 5-point margin; treat as a tie. The attribute-by-attribute breakdown below, with a source and date on every value, is the honest way to compare them.
Capabilities
Feature-by-feature on the axes that matter for llm gateways. “-” means undocumented, not absent.
What each one is
The product in its own terms, so the numbers below have context.
Cloudflare AI Gateway
A Cloudflare service that enables running AI models and building AI agents globally through API calls, with integrated data search capabilities and no infrastructure management required.
LiteLLM
An open-source proxy that provides a single OpenAI-compatible API for accessing 100+ LLM providers, with built-in cost tracking, spending controls, and governance features. Self-hosted and air-gapped capable.
Pricing
List pricing as published by each vendor, with the date we read it. Always verify at the source before you buy.
Cloudflare AI Gateway
Free for core features (caching, rate limiting, analytics). Paid log storage and Logpush available on Workers Paid plan.
- FreeFree
- dashboard analytics
- caching
- rate limiting
- DLP scanning
- Workers Paid$0.05 per million requests
- 10M log storage per gateway
- Logpush available
LiteLLM
Free open-source self-hosted tier; Enterprise priced to scale
- Open SourceFree
- 100+ LLM providers, one OpenAI API
- Virtual keys, users & teams
- Spend tracking
- Budgets + rate limits
- LLM fallbacks
- +3 more
- EnterpriseContact sales
- Everything in Open Source, plus:
- SSO + SCIM
- OIDC / JWT auth
- Audit logs
- Secret managers + key rotation
- +5 more
Platform & deployment
Where each product runs and how it can be hosted. A dash means undocumented, not unsupported.
Integrations
What each product connects to. Counts come from the vendor's own integration directory where one exists.
- OpenAI
- Anthropic
- Google Gemini
Cloudflare AI Gateway
- Workers AI
- Vectorize
- MCP (Model Context Protocol)
- Third-party LLM models
- Replicate
- Cloudflare Workers
- Agent Memory
- Cloudflare Workers AI
- Cloudflare Vectorize
- Claude Code
- Claude Desktop
- GitHub Copilot CLI
- OpenAI Codex
- OpenCode
- Pi
LiteLLM
- Azure
- AWS Bedrock
- Cloudflare
- Google VertexAI
- Meta Llama
- Mistral AI
- NLP Cloud
- OVHCloud
- vLLM
- Nvidia NIM
- Slack
- Discord
- Microsoft Teams
- PagerDuty
- Prometheus
- AWS Secrets Manager
- Google Cloud Secret Manager
- MCP servers
- Gemini
- Bedrock
- VertexAI
- Langfuse
- Langsmith
- Datadog
- +11 more
Cloudflare AI Gateway or LiteLLM: which one depends on you
A composite score cannot know your constraints. Describe them and both get re-weighted against what you actually need, with the evidence behind every position.
Free to run, no account needed to start. How the evaluation works
Comparison generated from independently-sourced facts. Every value links to its source and retrieval date. See the method.