Cloudflare combines two AI services
Cloudflare has unified Workers AI and AI Gateway, bringing model access, billing and traffic-management controls under a common interface, according to the company’s developer changelog and documentation.
The change allows developers to use Cloudflare-hosted models and supported third-party model providers through the same AI binding or HTTP API. Cloudflare documents the shared interfaces as the env.AI.run() binding and /ai/ REST endpoints, both using Cloudflare authentication.
Workers AI and AI Gateway previously addressed different parts of the AI application stack. Workers AI provides access to models running on Cloudflare-managed GPU infrastructure. AI Gateway sits in front of model providers and supplies functions including observability, logging, caching, security controls and billing management, Cloudflare says.