AI Info Guide
AI news for everyone

Cloudflare AI Gateway Launches Identity-Based Policies and Deprecates Legacy Spend Limits

December 4, 2026 · Central Time

Cloudflare has introduced AI Gateway policies, replacing its legacy spend-limits feature with rule-based controls that tie model access and dollar caps directly to verified user identities or custom request metadata. Announced in the Cloudflare Changelog, the update allows administrators to govern who can call which models and providers—and how much individuals or teams can spend—without maintaining separate proxy logic.

Policies evaluate verified caller attributes from Cloudflare Access, including user email addresses and identity provider (IdP) groups, or values passed via custom metadata. Each rule targets an identity and a set of models or providers, and then allows, blocks, or caps matching requests.

For example, an organization can assign a shared monthly budget to an entire team or email domain, enforce per-user spend caps inside that shared budget, or block a specific IdP group such as contractors from calling anthropic/claude-opus-* models. Spend caps reset on hourly, daily, weekly, or monthly UTC boundaries, and administrators can dry-run rules using Test policies in the dashboard before affecting live traffic.

Crucially for existing Cloudflare AI Gateway users, Cloudflare states that Policies replace spend limits, which are now deprecated—though existing spend-limit rules continue running while teams migrate.

However, the short changelog notice leaves several commercial and operational details unverified. It does not publish a sunset date when deprecated spend-limit rules will stop executing, does not specify which Cloudflare AI Gateway or Cloudflare Zero Trust/Access plan tiers include identity-based Policies, and does not state maximum policy counts per gateway or added per-request evaluation latency. It also does not detail how policies handle multi-provider fallback or cached responses when calculating spend caps.

This release fits IT security, FinOps, and platform engineering teams using Cloudflare AI Gateway alongside Cloudflare Access who want IdP-group model restrictions and per-user UTC spend caps with pre-deploy simulation. Existing spend-limit users should plan migration to Policies and verify Zero Trust/Access plan requirements.

Original sources

↑ Back to top