Comparison

Everstack vs Cloudflare AI Gateway

This one is decided by a single question, and it is not a feature. Cloudflare AI Gateway is a hosted platform service with no self-hosting option, available on every Cloudflare plan including free. If traffic traversing Cloudflare is fine, it is very hard to beat. If it is not, nothing else on this page matters.

EverstackEverstack
vs
Cloudflare AI GatewayCloudflare AI Gateway

What is Cloudflare AI Gateway?

Cloudflare AI Gateway is a platform service providing visibility and control over AI applications: analytics and logging on request metrics, token usage and cost, caching served from Cloudflare's edge rather than the model provider, rate limiting, and request retry with model fallback. It supports Workers AI, Anthropic, OpenAI, Google Gemini and others, and is available on all Cloudflare plans.

Why teams choose Everstack

  • Runs inside your own infrastructure and compliance boundary
  • No dependency on a single vendor's edge network
  • The gateway comes with an agent runtime, sandboxes and evaluations

Cloudflare AI Gateway: Strengths & Limitations

Strengths

  • Available on all Cloudflare plans, including the free one, which makes it the cheapest way to get analytics and caching in front of model calls.
  • One line of code to get started, and if you already run on Cloudflare it is essentially free capability.
  • Cloudflare's edge network is one of the best-operated pieces of infrastructure on the internet. You are not going to match its reliability or latency footprint by self-hosting.
  • Caching served directly from Cloudflare rather than the model provider is a real cost and latency win.
  • Nothing to deploy, patch, monitor or scale.

Limitations

  • It is a Cloudflare platform service. There is no self-hosting option, so requests and their logs traverse Cloudflare infrastructure.
  • That makes it a poor fit where a deployment or data residency constraint is the reason you are shopping for a gateway at all.
  • Scope stops at the request: analytics, logging, caching, rate limiting, retries and fallback.
  • Agent execution, isolated sandboxes, memory, evaluations and human review are not part of it.

Everstack advantage

Self-hosted, inside your own boundaryNo vendor edge in the request pathRuntime, sandboxes and evals includedPortable across Docker, Kubernetes or cloud

The facts, side by side

Licence, deployment model and list price, taken from each vendor's own documentation. Every source is linked at the bottom of this page.

FactEverstackCloudflare AI Gateway
Deployment modelSelf-hosted on your infrastructure with Docker or Kubernetes, or Everstack Cloud if you prefer managed.Cloudflare-hosted only. The documentation presents it exclusively as a platform service and mentions no self-hosting capability.
Where requests and logs travelWherever you deploy it.Through Cloudflare's network.
Cost of entryStarter $0, Build $20/month, Scale $100/month, Enterprise custom (August 2026).Available on all Cloudflare plans, including free. If you are already a Cloudflare customer this is close to free capability.
CachingSemantic and exact-match caching, self-hosted.Serves requests directly from Cloudflare's cache instead of the original model provider, which is a genuine latency and cost win at their edge.
Rate limiting, retries and fallbackYes, with per-tenant policy.Yes, including model fallback on error.
Provider coverageMulti-provider.Multi-provider, including Workers AI, Anthropic, OpenAI and Google Gemini.
Agent runtime, sandboxes and evaluationsSame control plane, sharing one trace.Out of scope.
Operational burdenReal. Self-hosting means you deploy, patch, monitor and scale it.None. This is the strongest argument for Cloudflare and it is a good one.

Capabilities and deployment model read from developers.cloudflare.com/ai-gateway on 31 August 2026. Cloudflare plan inclusion is per their own documentation.

Feature comparison

Direct capability comparison across key dimensions

FeatureEverstackCloudflare AI Gateway
Gateway
Multi-provider routing
Caching
Rate limiting
Retries and model fallback
Analytics and logging
Deployment
Self-hosting
Runs without vendor infrastructure in the path
Zero operational burden
Global edge presence
Runtime
Stateful agent sessions
Isolated code execution
Vector memory
Quality
Datasets and evaluation runs
Human annotation queues

The same job, in both products

Working code rather than adjectives. Each snippet follows the quickstart published by the product it belongs to.

Route a chat completion through the gateway

Both are a base URL change. Cloudflare's includes your account and gateway identifiers in the path; Everstack's points at wherever you deployed it.

Everstack

call.py
from openai import OpenAIimport osclient = OpenAI(    base_url="https://{instance}.{region}.everstack.ai/openai/v1",    api_key=os.environ["EVERSTACK_API_KEY"],)response = client.chat.completions.create(    model="gpt-4o-mini",    messages=[{"role": "user", "content": "Summarise this report"}],)

Cloudflare AI Gateway

call.py
from openai import OpenAIimport osclient = OpenAI(    base_url=(        "https://gateway.ai.cloudflare.com/v1/"        f"{os.environ['CF_ACCOUNT_ID']}/{os.environ['CF_GATEWAY_ID']}/openai"    ),    api_key=os.environ["OPENAI_API_KEY"],)response = client.chat.completions.create(    model="gpt-4o-mini",    messages=[{"role": "user", "content": "Summarise this report"}],)

Key evaluation questions

What to ask when comparing Cloudflare AI Gateway to Everstack

QuestionEverstackCloudflare AI Gateway
Can it run inside my own infrastructure?Yes, that is the default.No. It is a Cloudflare platform service with no self-hosting option.
How much operational work is it?Real. You run it.None, and this is its strongest argument.
What does it cost to start?Starter is $0, then $20 or $100 per month.Available on all Cloudflare plans, including free.
Does it execute agent code?Yes, in isolated sandboxes.No, that is outside its scope.

Feature-by-feature analysis

Where each product is genuinely stronger, row by row

Where the gateway runs

Everstack wins
Everstack

On your infrastructure, inside your own compliance boundary, portable across Docker, Kubernetes or any cloud.

Cloudflare AI Gateway

On Cloudflare. The documentation presents it exclusively as a platform service with no self-hosting option.

Why Everstack

If a deployment or data residency constraint is why you are shopping for a gateway, this decides it immediately and nothing else on the page matters.

Operational burden

Cloudflare AI Gateway wins
Everstack

Real. You deploy it, patch it, monitor it and scale it.

Cloudflare AI Gateway

None. Nothing to run, and Cloudflare's edge is better operated than most self-hosted infrastructure will ever be.

Why Cloudflare AI Gateway

This is a genuine and significant advantage for Cloudflare, and any honest comparison has to lead with it rather than bury it.

Cost of entry

Cloudflare AI Gateway wins
Everstack

A deployment plus a plan.

Cloudflare AI Gateway

Available on all Cloudflare plans including free. If you are already a customer, it is close to free capability.

Why Cloudflare AI Gateway

Hard to argue with free. The question is whether the deployment model works for you, not whether the price does.

Scope past the request

Everstack wins
Everstack

Agent sessions, isolated sandboxes, memory, workflows and evaluations on the same control plane, sharing a trace.

Cloudflare AI Gateway

Analytics, logging, caching, rate limiting, retries and fallback. The request boundary is the boundary.

Why Everstack

Only matters if you have those problems. If you do not, the narrower service is the better engineering decision.

Moving from Cloudflare AI Gateway to Everstack

Both are OpenAI-compatible, so the endpoint change is trivial. The substantial part is that you are moving from a managed edge service to infrastructure you operate, which is a real trade you should make deliberately.

  1. 1

    Size the infrastructure you are taking on

    Cloudflare handles scaling, patching and global distribution. Self-hosting means you do. Work out expected request volume and availability requirements before anything else.

  2. 2

    Swap the endpoint

    Replace the gateway.ai.cloudflare.com base URL with your Everstack deployment. Application code otherwise stays as it is.

  3. 3

    Re-create caching and rate limit policy

    Cloudflare gateway settings map to Everstack routing and cache configuration, including per-tenant limits.

  4. 4

    Keep both while you compare

    Run a share of traffic through each and compare latency and cache hit rate honestly. Cloudflare's edge is hard to beat on latency, and you should know the size of that gap before you commit.

What breaks

  • Cloudflare-specific request headers and gateway configuration have no direct equivalent.
  • Workers AI as a provider is Cloudflare-specific and does not carry over.
  • Anything integrated with Cloudflare Analytics or their logging pipeline stays there.

What does not carry over

  • Historical request logs held in Cloudflare Analytics.
  • Cached responses, which start cold.
  • Cloudflare account-level configuration and bindings.

Read this part first

When to choose Cloudflare AI Gateway instead

Cloudflare AI Gateway is an excellent piece of infrastructure and for many teams it is obviously correct. Pick it over Everstack when any of these is true.

  • You already run on Cloudflare. Adding a gateway that is available on all plans and takes one line of code is close to free, and standing up your own instead is hard to justify.
  • You do not want to operate infrastructure. This is the strongest argument on the page. Self-hosting has real ongoing cost in attention, not just money.
  • Latency at the edge matters to you. Cloudflare's network footprint is not something a self-hosted deployment matches.
  • Analytics, caching and rate limiting are the whole requirement. If you do not need agent execution or evaluations, a platform is over-buying.
  • You have no data residency or deployment constraint. If traffic traversing Cloudflare is fine, the managed option is simply less work.
  • You want Workers AI as a first-class provider, which is a Cloudflare-native capability.

Frequently asked questions

Common questions about choosing between Everstack and Cloudflare AI Gateway

Ready to get started?

See how Everstack compares to Cloudflare AI Gateway for your specific use case.

Sources & References

Last reviewed: August 31, 2026. This comparison is for informational purposes and reflects our understanding of competitor capabilities based on publicly available documentation.

Open-source AI infrastructure

Ship the AI stack
you can actually operate.

Start with one model call. Add agents, sandboxes, evaluations, memory, and traces without replacing the foundation underneath them.

One-time starter credit per account on Everstack Cloud. Expires 30 days after signup.