# Cloudflare AI Gateway vs LiteLLM

**Leader by vioscaleAI score:** Cloudflare AI Gateway

| Attribute | Cloudflare AI Gateway | LiteLLM |
|---|---|---|
| **vioscaleAI score** | 65.1 (35% (low)) | 57.6 (35% (low)) |
| content.faq | `[{"answer":"A platform providing visibility into AI API usage through analytics and logging, with controls for caching, rate limiting, and request management across multiple AI providers. It is indexed under Llm Gateways.","source":"https://developers.cloudflare.com/ai-gateway/reference/pricing/","question":"What is Cloudflare AI Gateway?","confidence":0.6},{"answer":"Cloudflare AI Gateway offers a free tier, so you can start without paying. Paid plans start at $0.05. Prices are published openly on the vendor's own pricing page. Pricing changes often, so verify at source before relying on it.","source":"https://developers.cloudflare.com/ai-gateway/reference/pricing/","question":"Is Cloudflare AI Gateway free?","confidence":0.6},{"answer":"We have confirmed browser-based access to Cloudflare AI Gateway. That is the extent of what we could verify from public sources, so it may well offer desktop or mobile clients we have not indexed.","source":"https://developers.cloudflare.com/ai-gateway/reference/pricing/","question":"What platforms does Cloudflare AI Gateway support?","confidence":0.6},{"answer":"We have only confirmed a cloud / SaaS deployment for Cloudflare AI Gateway, so it appears to be vendor-hosted. If a self-hosted option exists we have not found it documented publicly.","source":"https://developers.cloudflare.com/ai-gateway/reference/pricing/","question":"Can Cloudflare AI Gateway be self-hosted?","confidence":0.6},{"answer":"We have confirmed 10 integrations for Cloudflare AI Gateway, including Workers AI, Vectorize, MCP (Model Context Protocol), Third-party LLM models, OpenAI, Anthropic, Google Gemini and Replicate, plus 2 more. This is what we could verify from public sources, so the vendor may support others we have not indexed.","source":"https://developers.cloudflare.com/ai-gateway/reference/pricing/","question":"What does Cloudflare AI Gateway integrate with?","confidence":0.6}]` | `[{"answer":"A gateway that consolidates language model API requests across 140+ providers through a single endpoint, with centralized cost tracking, budget controls, rate limiting, and team-based access management. Available as open-source software for self-hosted deployment or as an enterprise managed service. It is indexed under Llm Gateways.","source":"https://litellm.ai","question":"What is LiteLLM?","confidence":0.6},{"answer":"LiteLLM does not publish its prices. Pricing is quoted on request, across 2 plans (Free and Enterprise), so the figure depends on your seat count and requirements. We record this as a pricing-transparency signal rather than guessing a number. Pricing changes often, so verify at source before relying on it.","source":"https://litellm.ai","question":"How much does LiteLLM cost?","confidence":0.6},{"answer":"LiteLLM supports the web and Linux. Platforms we have not confirmed are simply not listed here rather than ruled out.","source":"https://litellm.ai","question":"What platforms does LiteLLM support?","confidence":0.6},{"answer":"Yes. LiteLLM can be deployed cloud / SaaS, air-gapped and self-hosted, so it does not have to run on the vendor's infrastructure.","source":"https://litellm.ai","question":"Can LiteLLM be self-hosted?","confidence":0.6},{"answer":"We have confirmed 29 integrations for LiteLLM, including OpenAI, Anthropic, Azure, AWS Bedrock, Cloudflare, Google VertexAI, Meta Llama and Mistral AI, plus 21 more. This is what we could verify from public sources, so the vendor may support others we have not indexed.","source":"https://litellm.ai","question":"What does LiteLLM integrate with?","confidence":0.6}]` |
| deployment.options | `{"cloud":true}` | `{"cloud":true,"on_prem":true,"air_gapped":true,"self_hosted":true}` |
| description.long | An intermediary service that routes AI model requests through Cloudflare's network to provide visibility, caching, rate limiting, cost tracking, and data loss prevention. It enables organizations to observe and control AI traffic without modifying their existing tools or coding agents. | An open-source AI gateway that abstracts access to over 140 language model providers behind a single OpenAI-compatible API, enabling teams to implement spend tracking, request routing, and governance controls without changing application code. |
| features.capabilities | `{"caching":"exact","open_source":false,"pricing_model":"usage-based-saas","rate_limiting":true,"deployment_model":"managed-SaaS","architecture_model":"global_edge_network","automatic_failover":true,"guardrails_moderation":"built-in","openai_compatible_api":true,"request_cost_observability":true,"bring_your_own_keys_byok_routing":true,"pii_redaction_and_data_masking_in_flight":true,"universal_api_key_for_100_plus_llm_providers":true,"zero_data_retention_and_prompt_logging_opt_out":false,"auto_fallback_routing_on_rate_limit_or_downtime":true,"organization_wide_cost_tracking_and_chargebacks":true,"semantic_caching_for_repeat_queries_and_cost_savings":false}` | `{"open_source":true,"pricing_model":"open-source-self-host","rate_limiting":true,"deployment_model":"self-hosted","routing_strategy":"cost-based","architecture_model":"open_source_proxy","automatic_failover":true,"budget_spend_controls":true,"guardrails_moderation":"built-in","openai_compatible_api":true,"virtual_key_management":true,"request_cost_observability":true,"bring_your_own_keys_byok_routing":true,"mit_or_apache_permissive_oss_license":true,"custom_rate_limiting_by_user_or_tenant_id":true,"universal_api_key_for_100_plus_llm_providers":true,"auto_fallback_routing_on_rate_limit_or_downtime":true,"organization_wide_cost_tracking_and_chargebacks":true}` |
| integrations.count | 6 | 140 |
| integrations.list | `[{"name":"Workers AI"},{"name":"Vectorize"},{"name":"MCP (Model Context Protocol)"},{"name":"Third-party LLM models"},{"name":"OpenAI"},{"name":"Anthropic"},{"name":"Google Gemini"},{"name":"Replicate"},{"name":"Cloudflare Workers"},{"name":"Agent Memory"},{"name":"Cloudflare Workers AI","native":true,"category":"ai"},{"name":"Cloudflare Vectorize","native":true,"category":"database"},{"name":"Claude Code","native":true,"category":"coding_agent"},{"name":"Claude Desktop","native":true,"category":"coding_agent"},{"name":"GitHub Copilot CLI","native":true,"category":"coding_agent"},{"name":"OpenAI Codex","native":true,"category":"coding_agent"},{"name":"OpenCode","native":true,"category":"coding_agent"},{"name":"Pi","native":true,"category":"coding_agent"}]` | `[{"name":"OpenAI"},{"name":"Anthropic"},{"name":"Azure"},{"name":"AWS Bedrock"},{"name":"Cloudflare"},{"name":"Google VertexAI"},{"name":"Meta Llama"},{"name":"Mistral AI"},{"name":"NLP Cloud"},{"name":"OVHCloud"},{"name":"vLLM"},{"name":"Nvidia NIM"},{"name":"Slack"},{"name":"Discord"},{"name":"Microsoft Teams"},{"name":"PagerDuty"},{"name":"Prometheus"},{"name":"AWS Secrets Manager"},{"name":"Google Cloud Secret Manager"},{"name":"MCP servers"},{"name":"Gemini"},{"name":"Bedrock"},{"name":"VertexAI"},{"name":"Langfuse"},{"name":"Langsmith"},{"name":"Datadog"},{"name":"Email"},{"name":"Webhook"},{"name":"S3"},{"name":"Google Cloud Storage"},{"name":"Azure Data Lake"},{"name":"GCP Secret Manager"},{"name":"Amazon S3","native":true,"category":"storage","direction":"outbound"},{"name":"Google Gemini","native":true,"category":"llm","direction":"bidirectional"},{"name":"Lunary","native":true,"category":"observability","direction":"outbound"},{"name":"MLflow","native":true,"category":"observability","direction":"outbound"}]` |
| market.availability | `{"primaryMarkets":[],"availabilityScope":"global","availableCountries":[],"notAvailableCountries":[]}` | `{"primaryMarkets":[],"availabilityScope":"global","availableCountries":[],"notAvailableCountries":[]}` |
| platform.support | `{"web":true}` | `{"cli":true,"web":true}` |
| pricing | `{"type":"hybrid","plans":[{"free":true,"name":"Free","features":["dashboard analytics","caching","rate limiting","DLP scanning"],"description":"Core AI Gateway features: dashboard analytics, caching, rate limiting, and DLP scanning"},{"free":false,"name":"Workers Paid","features":["10M log storage per gateway","Logpush available"],"components":[{"per":{"qty":1,"unit":"million requests"},"kind":"metered","amount":0.05,"currency":"USD","description":"Logpush requests after 10 million/month"}],"description":"Higher log storage limits and Logpush available","includedLimits":{"log_storage":"10,000,000 logs per gateway"}}],"summary":"Free for core features (caching, rate limiting, analytics). Paid log storage and Logpush available on Workers Paid plan.","currency":"USD","freeTier":true,"sourceUrl":"https://developers.cloudflare.com/ai-gateway/reference/pricing/","retrievedAt":"2026-10-02T16:15:28.076Z","startingPrice":{"unit":"million requests","amount":0.05,"currency":"USD"}}` | `{"type":"hybrid","plans":[{"free":true,"name":"Open Source","summary":"Free forever, self-hosted","features":["100+ LLM providers, one OpenAI API","Virtual keys, users & teams","Spend tracking","Budgets + rate limits","LLM fallbacks","Request/response logging","Prometheus metrics","Admin UI"],"description":"Free forever, self-hosted","contactSales":false},{"free":false,"name":"Enterprise","summary":"Custom pricing by annual request volume and deployment needs","features":["Everything in Open Source, plus:","SSO + SCIM","OIDC / JWT auth","Audit logs","Secret managers + key rotation","Org & team admins","Multi-region control plane","24/7 support & SLAs","Dedicated support & onboarding","Volume discount tiers"],"commitment":"annual","description":"Annual deployment priced by request volume and architecture","contactSales":true}],"summary":"Free open-source self-hosted tier; Enterprise priced to scale","freeTier":true,"sourceUrl":"https://www.litellm.ai/pricing","retrievedAt":"2026-10-02T10:55:52.193Z","freeTrialDays":30,"billingPeriods":["year"]}` |
| pricing.free_tier | yes | yes |
| pricing.model | freemium | freemium |
| pricing.price_level | low | low |
| pricing.starting_price | `{"amount":0.05,"currency":"USD"}` | - |
| pricing.transparent | yes | no |

## Capabilities (Llm Gateways)

| Capability | Cloudflare AI Gateway | LiteLLM |
|---|:--:|:--:|
| **Capabilities** |  |  |
| Openai compatible API | ✓ | ✓ |
| Automatic failover | ✓ | ✓ |
| Routing strategy | - | Cost based |
| Caching | Exact | - |
| Virtual key management | - | ✓ |
| Budget spend controls | - | ✓ |
| Rate limiting | ✓ | ✓ |
| Guardrails moderation | Built in | Built in |
| Request cost observability | ✓ | ✓ |
| Streaming support | - | - |
| Deployment model | Managed SaaS | Self hosted |
| Open source | ✗ | ✓ |
| Pricing model | Usage based saas | Open source self host |

*Source: vioscaleAI. Generated 2026-10-16T19:05:51.181Z. "-" = undocumented, not absent.*
