Cloudflare AI Gateway Adds User Insights to Track and Control AI Spend
Cloudflare has expanded its AI Gateway with a User Insights feature that attributes AI costs to individual users and flags sessions that deviate from normal spending patterns. The dashboard displays metrics including requests, tokens, median spend, model usage, and cache behavior per identity, and is available to existing AI Gateway customers at no extra charge. To function accurately, the tool requires requests to carry stable identity metadata — either server-attached custom fields or a verified Cloudflare Access subject — otherwise all unattributed traffic is grouped under a single anonymous bucket. Cloudflare recommends teams follow a structured rollout: establish identity coverage first, then use anomaly flags as an investigation queue rather than definitive proof of misuse, and enforce both global and per-user spend limits separately. The feature is aimed at teams and developers routing multiple users through a shared gateway, where retry loops, compromised credentials, or costly workflows can generate unexpected bills.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in