---
title: "Cloudflare AI Gateway vs Prism — AI gateway comparison"
description: "Cloudflare AI Gateway and Prism compared: deployment, licence, pricing, routing, failover, subscription accounts, local models and more, with sources."
url: https://prism.tm/compare/cloudflare-ai-gateway/
---

[COMPARE](https://prism.tm/compare/) | CHECKED 3 OCTOBER 2026

# Cloudflare AI Gateway vs Prism.

Cloudflare AI Gateway is a managed gateway on Cloudflare's network between your apps and AI providers: routing, caching, observability and unified billing. Prism is a self-hosted adaptive AI gateway that runs on your machine.

**Prism is not yet publicly available.** In the table, opt-in means off by default; in development and planned mean not available yet. [Request access](https://prism.tm/request-access/)  

## Why teams choose Prism over Cloudflare AI Gateway

-   **Requests go straight to your providers** Prism runs on your machine. Cloudflare proxies requests through its network and logs payloads by default (you can turn logging off). Prism's journal stores no prompt bodies.
-   **Subscription accounts, chosen per request** Prism supports many kinds of subscription account, several each, with failover between accounts. Cloudflare documents no subscription sign-in; its BYOK picks a key per request by an alias header.
-   **Local models under the same policy** Add a URL for Ollama, llama.cpp, vLLM or LM Studio; private requests stay local. Cloudflare reaches self-hosted models only as custom providers at an HTTPS base URL; HTTP is not supported.
-   **API spend and subscription value apart** Every response carries its cost; budgets warn, downgrade, go local or reject. Cloudflare's Unified Billing adds a percentage on credits.
-   **Failover with reasons** Prism moves to the next eligible provider or account and reports every attempt and its reason.

Where Cloudflare AI Gateway fits: a managed gateway with nothing to install, for teams already using Cloudflare. Core features are free; Logs (for new customers), Guardrails and Logpush are billed.

Cloudflare AI Gateway Prism

Deployment Managed service on Cloudflare's network[source](https://developers.cloudflare.com/ai-gateway/get-started/) One self-hosted binary

Pricing Core free; Logs (new customers)/Guardrails/Logpush billed; a fee on Unified Billing credits[source](https://developers.cloudflare.com/ai-gateway/reference/pricing/) Free edition at no charge; paid editions priced per user

Logging On by default, including payloads; can be turned off[source](https://developers.cloudflare.com/ai-gateway/observability/logging/) Journal stores no prompt bodies

Local models Custom HTTPS providers only[source](https://developers.cloudflare.com/ai-gateway/configuration/custom-providers/) Ollama, llama.cpp, vLLM, LM Studio from a URL; private stays local

Subscription accounts None documented[source](https://developers.cloudflare.com/ai-gateway/configuration/bring-your-own-keys/) Many kinds, several each, failover between accounts

Prism notes: subscription operation is tested against test servers; sign-in to Claude, Gemini, Cursor and Grok CLI subscriptions is closed by default because these providers' terms forbid third-party programs, and other providers' terms may also restrict third-party gateway use — Prism shows a risk notice before every sign-in.

More questions: [Prism FAQ](https://prism.tm/faq/) · [Prism and other products](https://prism.tm/compare/#faq)

## Sources

Cloudflare AI Gateway facts were checked on 3 October 2026 against official pages from Cloudflare; follow them for current details. Prism facts come from Prism's documentation as of 12 November 2026. Cloudflare AI Gateway is a trademark of its owner; Prism is not affiliated with it.

-   [developers.cloudflare.com/ai-gateway/get-started/](https://developers.cloudflare.com/ai-gateway/get-started/)
-   [developers.cloudflare.com/ai-gateway/reference/pricing/](https://developers.cloudflare.com/ai-gateway/reference/pricing/)
-   [developers.cloudflare.com/ai-gateway/observability/logging/](https://developers.cloudflare.com/ai-gateway/observability/logging/)
-   [developers.cloudflare.com/ai-gateway/configuration/custom-providers/](https://developers.cloudflare.com/ai-gateway/configuration/custom-providers/)
-   [developers.cloudflare.com/ai-gateway/configuration/bring-your-own-keys/](https://developers.cloudflare.com/ai-gateway/configuration/bring-your-own-keys/)
-   [www.cloudflare.com/products/ai-gateway/](https://www.cloudflare.com/products/ai-gateway/)
-   [developers.cloudflare.com/ai-gateway/features/unified-billing/](https://developers.cloudflare.com/ai-gateway/features/unified-billing/)

Want to try Prism with your own providers?

[Request access](https://prism.tm/request-access/?topic=free)
