Cloudflare vs LLM APIAI Gateway Benchmark Comparison

Cloudflare
Faster in 3 of 4
vs
LLM API
Faster in 0 of 4

Cloudflare was faster in 3 of 4 shared AI gateway benchmarks, and 1 was roughly even.

Shared benchmarks
4
Last run
October 30, 2026
Want the full run details?Sign up free →

Scorecard

Median of each benchmark's primary metric; lower is better. Medians within 5% count as roughly even, and a benchmark gets no speed verdict when either provider completed fewer than 50% of runs.

BenchmarkCloudflareLLM APIResultRatio
Anthropic
Cold end-to-end latency · Run October 30, 2026
519ms
100% success
762ms
100% success
Cloudflare faster
1.47x
OpenAI
Cold end-to-end latency · Run October 30, 2026
803ms
100% success
1781ms
100% success
Cloudflare faster
2.22x
Gemini
Cold end-to-end latency · Run October 30, 2026
1971ms
100% success
2220ms
100% success
Cloudflare faster
1.13x
Kimi
Cold end-to-end latency · Run October 30, 2026
2100ms
100% success
2118ms
100% success
Roughly even
1.01x

Anthropic

Run October 30, 2026

Time for a cold request routed through the gateway to Claude Haiku 4.5 to return its complete response.

Cold end-to-end latency

Cloudflare

100% success
Median
519ms
P95
642ms
P99
670ms
Cloudflare Anthropic results →

LLM API

100% success
Median
762ms
P95
804ms
P99
809ms
LLM API Anthropic results →

Cloudflare had a 1.47x lower median cold end-to-end latency (519ms vs 762ms for LLM API).

Median cold end-to-end latency over time

10 runs from August 28, 2026 to October 30, 2026.

CloudflareLLM API
View the full Anthropic leaderboard →

OpenAI

Run October 30, 2026

Time for a cold request routed through the gateway to GPT-5.4 Mini to return its complete response.

Cold end-to-end latency

Cloudflare

100% success
Median
803ms
P95
1155ms
P99
1537ms
Cloudflare OpenAI results →

LLM API

100% success
Median
1781ms
P95
2676ms
P99
2830ms
LLM API OpenAI results →

Cloudflare had a 2.22x lower median cold end-to-end latency (803ms vs 1781ms for LLM API).

Median cold end-to-end latency over time

10 runs from August 28, 2026 to October 30, 2026.

CloudflareLLM API
View the full OpenAI leaderboard →

Gemini

Run October 30, 2026

Time for a cold request routed through the gateway to Gemini 3.6 Flash to return its complete response.

Cold end-to-end latency

Cloudflare

100% success
Median
1971ms
P95
2389ms
P99
2402ms
Cloudflare Gemini results →

LLM API

100% success
Median
2220ms
P95
2447ms
P99
2549ms
LLM API Gemini results →

Cloudflare had a 1.13x lower median cold end-to-end latency (1971ms vs 2220ms for LLM API).

Median cold end-to-end latency over time

9 runs from August 28, 2026 to October 30, 2026.

CloudflareLLM API
View the full Gemini leaderboard →

Kimi

Run October 30, 2026

Time for a cold request routed through the gateway to Kimi K3 to return its complete response.

Cold end-to-end latency

Cloudflare

100% success
Median
2100ms
P95
2891ms
P99
2973ms
Cloudflare Kimi results →

LLM API

100% success
Median
2118ms
P95
2760ms
P99
3524ms
LLM API Kimi results →

The medians are within 5% of each other (2100ms vs 2118ms), so this counts as roughly even.

Median cold end-to-end latency over time

10 runs from August 28, 2026 to October 30, 2026.

CloudflareLLM API
View the full Kimi leaderboard →

Methodology

  • One workload, every provider. The same script, payload, and model hit every provider, addressed the way its own API expects. Nobody gets a tuned or special path.
  • Repeated on a schedule. Every suite runs many iterations per provider, automated on a recurring schedule, so results reflect steady state rather than one lucky request.
  • Raw results published. Every run is committed as JSON to the public benchmarks repo, next to the code that produced it. Nothing is cherry-picked or held back.
  • How this comparison is built. Each benchmark compares the two providers' medians; results within 5% count as roughly even. A comparison is published only when both providers completed the latency benchmark on at least two of the same model families reliably: at least 50% success for each provider, in benchmark runs from the last 30 days.

Frequently asked questions

Have another question? Email us.

Cloudflare was faster in 3 of 4 shared AI gateway benchmarks, and 1 was roughly even. In Anthropic (October 30, 2026), Cloudflare had a median cold end-to-end latency of 519ms versus 762ms for LLM API, 1.47x faster. In OpenAI (October 30, 2026), Cloudflare had a median cold end-to-end latency of 803ms versus 1781ms for LLM API, 2.22x faster. In Gemini (October 30, 2026), Cloudflare had a median cold end-to-end latency of 1971ms versus 2220ms for LLM API, 1.13x faster. In Kimi (October 30, 2026), Cloudflare had a median cold end-to-end latency of 2100ms and LLM API 2118ms, which counts as roughly even.

PartnersGoogle Cloud Run