Catching rogue AI behavior with identity-aware analytics
Aug 5, 2026Ming Lu, Kenny Johnson, Ayush Kumar

Summary
Introduces identity-aware AI Gateway with Cloudflare Access integration, allowing authentication via SAML providers and policy setting for access control. Adds `cf.user_id` to request metadata for per-user logging and spend tracking. Introduces User Insights tab for behavioral baselining and anomaly detection, comparing session costs against a user's p95 and an account's p99 to identify deviations. Implements a dollar floor to filter out low-cost anomalies. Outlines future work on task-based smart routing and prompt classification.
More from the Artificial Intelligence Integration & Impact trail
- Introducing Clef-omni with full multimodality, plus a faster Clef and a cheaper Clef-flash
- Introducing Web Search API via AI Gateway
- Introducing Clef: our open-source decision models, and new RL fine-tuning platform
- One year later: Sovereign AI and the fight for choice
- AI Search is now generally available