Lattice
Skip to content

Cloudflare AI Gateway

developers.cloudflare.comservicesaas

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 Lattice editorial · Facts verified · method

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. — that is what this layer of the stack is answerable for. See the full Routing & Gateways section for the rest of the options.

Visit developers.cloudflare.comCompare with another 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)

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.

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