tokens&
For enterprises
Submit
Sign in
tokens&

Build better AI stacks, claim useful opportunities, and give AI infrastructure companies a source-labeled adoption readout they can trust.

For buildersFor enterprises

Product

  • Startup credits and perks
  • Agent Skills
  • Submit project, tool, product, or perk

Enterprise

  • Start free company workspace

Community

  • Community
  • Newsletter
  • Events
Xin

© 2026 tokensand, LLC. All rights reserved.

  • Terms
  • Privacy
  • Security
  • Data Processing
  • Status
  1. Home
  2. Alternatives
  3. Alternatives to Cloudflare AI Gateway
Cloudflare AI Gateway

Best Alternatives to Cloudflare AI Gateway

LLM APIs · 8 alternatives ranked of 23 in the category

Looking for alternatives to Cloudflare AI Gateway? These are the llm apis tools that score highest on adoption, reviews, benchmarks, and public code, with what separates each one from Cloudflare AI Gateway.

Claude Code Router logo
Claude Code Router

LLM APIs· github.com

Open source

Open-source router for Claude Code that lets builders route coding-agent requests across OpenAI-compatible model providers and custom backends.

How each alternative differs from Cloudflare AI Gateway

Ranked by adoption, review, benchmark, and repository signals. Each note below is drawn from the two products’ own catalog records, so a product with nothing to separate it from Cloudflare AI Gateway carries no note.

  1. 1

    Claude Code Router

    Claude Code Router is listed as open source, while Cloudflare AI Gateway is not, is open source against Cloudflare AI Gateway's freemium model, and carries 37k GitHub stars to Cloudflare AI Gateway's 1.2k.

  2. 2

    Z.ai GLM 5.2 on OpenRouter

    Z.ai GLM 5.2 on OpenRouter is listed as open source, while Cloudflare AI Gateway is not, is paid against Cloudflare AI Gateway's freemium model, and carries 6.4k GitHub stars to Cloudflare AI Gateway's 1.2k.

  3. 3

    LLMRouter

    LLMRouter is listed as open source, while Cloudflare AI Gateway is not, is open source against Cloudflare AI Gateway's freemium model, and carries 2.1k GitHub stars to Cloudflare AI Gateway's 1.2k.

  4. 5

    Cerebras Inference

    Cerebras Inference is paid against Cloudflare AI Gateway's freemium model.

  5. 6

Frequently asked questions

What is the closest alternative to Cloudflare AI Gateway?

Claude Code Router ranks highest among the alternatives to Cloudflare AI Gateway we track. Claude Code Router is listed as open source, while Cloudflare AI Gateway is not, is open source against Cloudflare AI Gateway's freemium model, and carries 37k GitHub stars to Cloudflare AI Gateway's 1.2k. Open-source router for Claude Code that lets builders route coding-agent requests across OpenAI-compatible model providers and custom backends.

Is there an open-source alternative to Cloudflare AI Gateway?

Yes. Claude Code Router, Z.ai GLM 5.2 on OpenRouter, LLMRouter, fal, and Millwright are listed as open source in our catalog. Cloudflare AI Gateway is not listed as open source. Claude Code Router is the highest ranked of them: Open-source router for Claude Code that lets builders route coding-agent requests across OpenAI-compatible model providers and custom backends.

37,257
Open source
Z.ai GLM 5.2 on OpenRouter logo
Z.ai GLM 5.2 on OpenRouter

LLM APIs· openrouter.ai

Commercial

OpenRouter-hosted Z.ai GLM 5.2 model for long-horizon agent workflows and project-scale coding, with 1M-token model context, reasoning controls, tool calling, and structured outputs.

6,430
Open source
LLMRouter logo
LLMRouter

LLM APIs· ulab-uiuc.github.io

Open source

Open-source intelligent LLM routing library with single-round, multi-round, personalized, and agentic routers plus CLI, training, evaluation, and OpenAI-compatible serving.

2,148
Open source
NVIDIA NIM LLM APIs logo
NVIDIA NIM LLM APIs

LLM APIs· developer.nvidia.com

Freemium

NVIDIA-hosted and self-deployable NIM large language model APIs exposing OpenAI-compatible inference endpoints for RAG, agentic AI, and production generative applications.

254
API available
Cerebras Inference logo
Cerebras Inference

LLM APIs· cerebras.ai

Commercial

High-speed hosted inference API and SDKs for running Cerebras-supported language models in builder applications.

167
API available
fal logo
fal

LLM APIs· fal.ai

Freemium

Serverless generative media API platform for running image, video, and audio models from builder applications.

184
Open source
Millwright logo
Millwright

LLM APIs· github.com

Open source

Open-source Rust LLM router for deterministic policy, cache affinity, provider health, and spend control across OpenAI-compatible, Anthropic, and Amazon Bedrock endpoints.

26
Open source
Auriko logo
Auriko

LLM APIs· auriko.ai

Freemium

LLM routing and cost-optimization API for switching models across providers with zero-markup pricing, cache-aware routing, API reference, and model marketplace workflows.

API available
fal

fal is listed as open source, while Cloudflare AI Gateway is not.

  • 7

    Millwright

    Millwright is listed as open source, while Cloudflare AI Gateway is not and is open source against Cloudflare AI Gateway's freemium model.