Lattice
Skip to content

Cloudflare AI Gateway

Cloudflare AI Gateway is a SaaS service in the Routing & Gateways layer of the AI stack. Edge gateway adding caching, retries and rate limiting.

By Facts verifiedmethod

Licence
proprietary
Cost
free tier
Owned by
ML Platform

Use Cloudflare AI Gateway when

Edge caching and latency dominate, on Cloudflare already.

Skip Cloudflare AI Gateway when

Requests must not transit a third party's network.

Decides which model answers, and what it costs. See every routing tool.

Badge this entry
Lattice badge: Cloudflare AI Gateway verified 2026-09
[![Cloudflare AI Gateway on Lattice: verified 2026-09](https://lattice.kunjshah.in/routing-gateways/cloudflare-ai-gateway/badge.svg)](https://lattice.kunjshah.in/routing-gateways/cloudflare-ai-gateway)

Rules of thumb

  • Route on measured quality, not on price alone. A cheaper model that fails your eval set is not cheaper.
  • A gateway is in the request path, so it adds latency to every call. Measure that overhead before you add policy to it.
  • Fallbacks that switch models silently change your output. Log which model answered every request, or you cannot debug quality.

Quick answers

Is Cloudflare AI Gateway open source?
No. Cloudflare AI Gateway is proprietary. It has a free tier, with paid plans above it.
What are the alternatives to Cloudflare AI Gateway?
The closest alternatives to Cloudflare AI Gateway are Portkey and Envoy AI Gateway.

Ask an AI about this page

Opens the assistant with this page’s link and a question already filled in.

Compared in

Reading on routing

Alternatives to Cloudflare AI Gateway

compare 2 →

Listed as an alternative to

  • LiteLLM
  • Portkey
  • Envoy AI Gateway

Also in routing

  • LiteLLM
  • Portkey
  • OpenRouter
  • Martian
  • Envoy AI Gateway
  • Bifrost
  • RouteLLM
  • Not Diamond
  • TrueFoundry