Cloudflare Security Best Practices for AI Apps
The security practices we follow when we put AI on Cloudflare Workers: server-only session state, a budget in front of every model call, safe handling of uploads and saved results, rate limiting at two levels, and the seven layers between the internet and a model call. Written with a focus on keeping the bill under control.