AI Indexes
IT AI Index
Index › Data platform › LLM gateways › LiteLLM vs Cloudflare AI Gateway
LLM gateways and observability · October 2026 Edition

LiteLLM vs Cloudflare AI Gateway

Two of fourteen models named LiteLLM first on the direct prompt; zero named Cloudflare AI Gateway. Both were named by all fourteen models and LiteLLM carries 58 labels and Cloudflare AI Gateway 29, so the shares are not directly comparable.

LiteLLM

endorsed leader

Named in four categories this edition.

Cloudflare AI Gateway

accepted challenger

Named in two categories this edition.

First-choice share31%2%Of first choices across the direct, paraphrase, budget and scale prompts, 0 to 100.
Negative rate16%3%Negative labels as a share of the product's labels, 0 to 100.
Rank in category#1#6A position in a field of 8; printed, not drawn.
Labels5829A count; the two differ.
The two percentage rows are drawn on one 0 to 100 track, LiteLLM reading right to left. Rank and label count are printed, not drawn.Portkey was named alongside these two in nine of the fourteen direct answers. LiteLLM vs Portkey · LiteLLM vs OpenRouter · LiteLLM vs Helicone

Share is the count of first choices across the direct, paraphrase, budget and scale prompts over all fourteen models, for a mid-market B2B company; rank is within the category; every quote names the model and the prompt it came from. Both figures come from the LLM gateways and observability page.

By framing

How many of the fourteen models made each the first choice, per way of asking, and how many argued against it.
LiteLLMFirst choices, of fourteen modelsCloudflare AI Gateway
Direct20
Paraphrase201 against LiteLLM
Comparative80
Budget-constrained131
Scale-constrained001 against Cloudflare AI Gateway
Negative018 against LiteLLM
Bars are first choices, 0 to 14 each sideModels that argued againstA model can name both, so the two sides of a row do not sum to fourteen.

Across every category in the October 2026 Edition, LiteLLM and Cloudflare AI Gateway were named in the same answer seventy times, of the 193 answers naming LiteLLM and the 78 naming Cloudflare AI Gateway. In those answers Cloudflare AI Gateway took the first choice eight times and LiteLLM twenty-eight.

Every model, every framing

The eighty-four answers behind the chart above, one cell each: where LiteLLM and Cloudflare AI Gateway stood in it.
ModelDirectParaphraseComparativeBudget-constrainedScale-constrainedNegative
Claude Haiku 4.5
GPT-5.4 mini
Gemini 3.5 Flash
Perplexity Sonar
Grok 4.1 Fast
Mistral Small
DeepSeek V4 Flash
Llama 4 Maverick
Qwen 3.7 Flash
Kimi K2
GLM 4.7 FlashX
MiniMax M2.5
GPT-6 Luna
Muse Glimmer 30B
LiteLLM Cloudflare AI Gateway first choice named as an alternative argued againstblank: not namedEach cell is one answer, LiteLLM on the left and Cloudflare AI Gateway on the right.

The direct prompt

The plain question, one answer per model, grouped by where LiteLLM and Cloudflare AI Gateway stood in it.

LiteLLM first, Cloudflare AI Gateway an alternative

2 of 14 modelsCloudflare AI Gateway was named in the answer but not as the choice, or not at all.
GPT-5.4 miniLiteLLM alternatives: Portkey
Gemini 3.5 FlashLiteLLM alternatives: Bifrost, Cloudflare AI Gateway, Portkey

Neither was the first choice, one was named

11 of 14 modelsThe answer put something else first and named one of the two as an alternative.
Claude Haiku 4.5Portkey alternatives: Bifrost, LiteLLM, Nexos.ai, OpenRouter
Perplexity SonarPortkey alternatives: Bifrost, LiteLLM
Grok 4.1 FastPortkey AI Gateway alternatives: Bifrost, Cloudflare AI Gateway, LiteLLM
Mistral SmallNexos.ai alternatives: Cloudflare AI Gateway
DeepSeek V4 FlashPortkey alternatives: Helicone, LiteLLM, OpenRouter
Qwen 3.7 FlashPortkey alternatives: Amazon Bedrock, Azure AI, LiteLLM
Kimi K2Portkey alternatives: Cloudflare AI Gateway, Kong AI Gateway, LiteLLM
GLM 4.7 FlashXOpenRouter, Portkey alternatives: Kong AI Gateway, LiteLLM
MiniMax M2.5Helicone, Portkey.ai alternatives: Cloudflare AI Gateway, Kong AI Gateway
GPT-6 LunaPortkey, now branded PRISMA AIRS AI Gateway alternatives: Cloudflare AI Gateway, LiteLLM
Muse Glimmer 30BPortkey alternatives: LiteLLM, OpenRouter

Neither was named

1 of 14 modelsThe answer made no first choice from these two in this category.
Llama 4 Maverickno first choice

Bold names in an answer are the products the judge labeled a first choice; a model naming several gives each of them that label. The full answer text for every row is in the record.

By buyer segment

The same question asked on behalf of a different buyer. Each standing is computed within its segment and they are never added together. The figures above are the mid-market standing, which is the one the category orders by.
Small business
LiteLLM leads by twenty-four points.
LiteLLM31%#1 of 7
Cloudflare AI Gateway7%#4 of 7
The full small business standing →
Mid-marketThe figures above
LiteLLM leads by thirty points.
LiteLLM31%#1 of 8
Cloudflare AI Gateway2%#6 of 8
The full mid-market standing →
Enterprise
LiteLLM leads by twenty-six points.
LiteLLM26%#2 of 8
Cloudflare AI Gateway0%#7 of 8
The full enterprise standing →

What the models said about LiteLLM

Every negative label with a quote, up to three, then the highest-weighted positives, up to three. Six of eight in this category shown.

“High Caution/Avoid if Possible: LiteLLM (especially older/self-hosted versions): Suffered a major supply chain attack” Grok 4.1 Fast · negative prompt · hard negative
“Avoid: - LiteLLM in its current state (until security issues are fully resolved)” Kimi K2 · negative prompt · hard negative
“Avoid LiteLLM unless you have dedicated security engineering” DeepSeek V4 Flash · negative prompt · hard negative
“For the most budget-conscious, LiteLLM (free, open-source) and OpenRouter (low-fee pay-as-you-go) are top choices.” Mistral Small · budget prompt · first choice
“If you are a Platform Engineer: Use LiteLLM. It allows you to standardize on one API key for the whole company” GLM 4.7 FlashX · comparative prompt · first choice
“If your engineering team is already familiar with Docker and prefers open-source, deploy LiteLLM + Langfuse.” Gemini 3.5 Flash · paraphrase prompt · first choice

What the models said about Cloudflare AI Gateway

Every negative label with a quote, up to three, then the highest-weighted positives, up to three. Three of three in this category shown.

“Insanely fast, great for basic caching and logging, but lacks deep enterprise budgeting/RBAC controls.” Gemini 3.5 Flash · scale prompt · soft negative
“The safest bets are Cloudflare AI Gateway for hosted, or Kong self-hosted for enterprise compliance.” DeepSeek V4 Flash · negative prompt · first choice
“For most budget-conscious companies, I'd start with Cloudflare AI Gateway” GPT-6 Luna · budget prompt · first choice
Also compared

Comparisons are drawn for the top eight products in each category, each against each. The output is the models' output; nothing here is a recommendation by the index.