# Cloudflare AI Gateway vs LiteLLM

| Attribute | Cloudflare AI Gateway | LiteLLM |
|---|---|---|
| **Vioscale score** | 69.1 (37% (low)) | 68.8 (36% (low)) |
| deployment.options | `{"cloud":true}` | `{"cloud":true,"hybrid":true,"on_prem":true,"air_gapped":true,"self_hosted":true}` |
| description.long | 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. | An open-source AI gateway that provides a centralized control point for managing multiple large language models from different providers. It offers virtual key management, spend tracking, budget controls, and intelligent request routing without charging per token. |
| 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 | 8 | 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":"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"}]` |
| market.availability | `{"primaryMarkets":[],"availabilityScope":"global","availableCountries":[],"notAvailableCountries":[]}` | `{"primaryMarkets":[],"availabilityScope":"global","availableCountries":[],"notAvailableCountries":[]}` |
| platform.support | `{"cli":true,"web":true}` | `{"cli":true,"web":true}` |
| pricing | `{"type":"hybrid","plans":[{"free":true,"name":"Free","summary":"Free - core features with limited logging","features":["Dashboard analytics","Caching","Rate limiting","Request retries","Model fallback","DLP scanning (2 predefined profiles)"],"includedLimits":{"logs":"100,000 total","dlp_profiles":"2 predefined"}},{"free":false,"name":"Workers Paid","summary":"$0.05 per million requests after 10M/month included","features":["All free features","10M logs per gateway","Logpush","DLP with full profiles (if Zero Trust included)"],"components":[{"per":{"qty":1,"unit":"million requests"},"kind":"metered","amount":0.05,"currency":"USD"}],"includedLimits":{"logs":"10,000,000 per gateway","requests":"10 million per month"}},{"free":false,"name":"Enterprise","summary":"Custom pricing","contactSales":true}],"summary":"Free core features; usage-based pricing for requests on paid plans. Inference costs passed through at provider rates with no markup.","currency":"USD","freeTier":true,"sourceUrl":"https://developers.cloudflare.com/ai-gateway/reference/pricing/","retrievedAt":"2026-08-21T12:43:26.398Z","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","Virtual keys, users & teams","Spend tracking","Prometheus metrics","Logging and alerting","Admin UI","Guardrails","Load balancing"],"components":[{"kind":"fixed","amount":0,"period":"month","currency":"USD"}],"description":"MIT-licensed, self-hosted gateway","contactSales":false,"includedLimits":{"providers":"100+","deployment":"self-hosted"}},{"free":false,"name":"Enterprise","summary":"Priced annually based on gateway request capacity and deployment architecture","features":["Everything in Open Source, plus:","SSO + SCIM provisioning","OIDC / JWT authentication","Audit logs on every request","Secret manager integration","Key rotation","Organization & team administration","Multi-region control plane","24/7 support & SLAs","Dedicated support & onboarding","Volume discount tiers","Air-gapped deployment available"],"commitment":"annual","description":"Production deployment with governance, security, and professional support","contactSales":true,"includedLimits":{"deployment":"self-hosted or air-gapped"}}],"summary":"Free open-source tier. Enterprise pricing based on annual request volume, not per-token.","currency":"USD","freeTier":true,"sourceUrl":"https://www.litellm.ai/pricing","retrievedAt":"2026-08-19T13:43:01.911Z","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 | yes |

## 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: Vioscale. Generated 2026-09-01T17:35:35.154Z. "-" = undocumented, not absent.*
