Comparison

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.

Machine formatsMarkdownJSONGraphQLMarkdown is open. JSON and GraphQL need a free key.
Cloudflare AI Gateway66
LiteLLM68
Score
vioscaleAI score
Cloudflare AI Gateway66 / 100low · 33%
LiteLLM68 / 100low · 35%
Pricing
Free tier
Cloudflare AI Gateway✓
LiteLLM✓
Model
Cloudflare AI Gatewayfreemium
LiteLLMfreemium
Price level
Cloudflare AI Gatewaylow
LiteLLMlow
Starting price
Cloudflare AI Gateway$0.05
LiteLLM–
Transparent
Cloudflare AI Gateway✓
LiteLLM✓
Integrations
Count
Cloudflare AI Gateway6
LiteLLM140
Market
Availability
Cloudflare AI GatewayAvailable worldwide
Content
Faq
Cloudflare AI Gateway5 items
LiteLLM5 items

Capabilities

Feature-by-feature on the axes that matter for llm gateways. “-” means undocumented, not absent.

Capabilities
Openai compatible API
Cloudflare AI Gateway✓
LiteLLM✓
Automatic failover
Cloudflare AI Gateway✓
LiteLLM✓
Routing strategy
Cloudflare AI Gateway-
LiteLLMCost based
Caching
Cloudflare AI GatewayExact
LiteLLM-
Virtual key management
Cloudflare AI Gateway-
LiteLLM✓
Budget spend controls
Cloudflare AI Gateway-
LiteLLM✓
Rate limiting
Cloudflare AI Gateway✓
LiteLLM✓
Guardrails moderation
Cloudflare AI GatewayBuilt in
LiteLLMBuilt in
Request cost observability
Cloudflare AI Gateway✓
LiteLLM✓
Streaming support
Cloudflare AI Gateway✓
LiteLLM-
Deployment model
Cloudflare AI GatewayManaged SaaS
LiteLLMSelf hosted
Open source
Cloudflare AI Gateway✗
LiteLLM✓
Pricing model
Cloudflare AI GatewayUsage based saas
LiteLLMOpen source self host

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.

Independently observed

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.

Independently observed

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

from $0.05/million requestsHybridFree tier

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
as of verify ↗

LiteLLM

HybridFree tier30-day trial

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
as of verify ↗

Platform & deployment

Where each product runs and how it can be hosted. A dash means undocumented, not unsupported.

Platforms
Web
Cloudflare AI Gateway✓
LiteLLM✓
CLI
Cloudflare AI Gateway✗
LiteLLM✓
Deployment
Cloud / SaaS
Cloudflare AI Gateway✓
LiteLLM✗
Self-hosted
Cloudflare AI Gateway✗
LiteLLM✓
Air-gapped
Cloudflare AI Gateway✗
LiteLLM✓

Integrations

What each product connects to. Counts come from the vendor's own integration directory where one exists.

In common (3)
  • OpenAI
  • Anthropic
  • Google Gemini

Cloudflare AI Gateway

18 total - 15 not shared
  • 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
Independently observed

LiteLLM

38 total - 35 not shared
  • 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
Independently observed
Still deciding?

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.