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 · Try the console demo
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.
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 · Prism and other products
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/
- developers.cloudflare.com/ai-gateway/reference/pricing/
- developers.cloudflare.com/ai-gateway/observability/logging/
- developers.cloudflare.com/ai-gateway/configuration/custom-providers/
- developers.cloudflare.com/ai-gateway/configuration/bring-your-own-keys/
- www.cloudflare.com/products/ai-gateway/
- developers.cloudflare.com/ai-gateway/features/unified-billing/
Want to try Prism with your own providers?
Request access