Comparison · reviewed August 21, 2026

AI Gateway HQ vs. Cloudflare AI Gateway

Set a firm spending ceiling that reserves funds ahead of each provider call.

  • Pre-dispatch control
  • Operator-ready evidence
  • Prompt storage off by default
Working sandbox capture
A view of the working productThis working product capture shows the settings and records discussed in the Cloudflare AI Gateway comparison. Open it to inspect the interface.
Why teams choose AI Gateway HQ

Choose AI Gateway HQ when finance has said ‘stop at the boundary,’ not ‘report shortly after it.’ Cloudflare is attractive for edge distribution; AI Gateway HQ is purpose-built for conservative, attributable AI spend and policy decisions.

Strict mode atomically reserves organization and workload exposure before forwarding. Cloudflare documents real-time limits calculated from best-effort cost estimates and allows at most 20 spend-limit rules per gateway.

Capability review

Compare what each gateway does.

Our column describes the working product. The Cloudflare AI Gateway column summarizes its linked documentation and pricing; it does not rely on anonymous review scores.

Decision areaWhat AI Gateway HQ deliversWhat Cloudflare AI Gateway documents
Gateway and routing

A compatible endpoint, encrypted BYOK pools, health-aware routing, shared cooldowns, and reason-coded fallback.

Edge-adjacent analytics, logging, caching, provider routing, DLP, and guardrail integrations across Cloudflare services.

Spend enforcement

Budget and capacity are reserved before forwarding. Settlement uses supported provider-reported usage, and promotional credit cannot fund server-paid models.

Real-time spend limits can split or filter by model, provider, identity, or custom metadata and can block or use a cheaper dynamic-route fallback. Cloudflare calls cost tracking a best-effort estimate and documents a 20-rule maximum per gateway.

Identity and governance

OIDC, required MFA, least-privilege roles, workload keys, signed context, staged enforcement, and local attack screening.

Cloudflare account controls plus DLP and Workers AI guardrails; it fits an existing Cloudflare security estate.

Deployment and evidence

AWS serverless deployment behind WAF, tenant-bound encryption, signed releases, metadata-only request records by default, tamper-evident exports, and approved support access.

Globally operated Cloudflare service with persistent-log allowances tied to Workers plans, rather than a customer-run gateway package.

Public commercial model

A free BYOK proving tier, then $0.10 per 1,000 successful Flex requests. Inference bought through customer-owned accounts has no percentage markup.

Core AI Gateway is free; separate platform meters apply, and Unified Billing lists a 5% fee.

When to consider Cloudflare AI Gateway

Consider Cloudflare when its global network, Workers platform, and existing Cloudflare security estate outweigh exact wallet enforcement.

Comparison method

We reviewed Cloudflare AI Gateway's linked documentation and pricing on August 21, 2026. Vendors measure requests, logs, credits, infrastructure, and capacity differently, so compare the underlying units and recheck current terms before purchasing.