Cloudflare’s AI Platform: an inference layer designed for agents
Quick Answer
Cloudflare's AI Gateway now offers a unified API for accessing over 70 AI models from 12+ providers, enabling seamless integration and cost management.
Quick Take
Developers can easily switch between models like OpenAI's and Anthropic's with a single line of code, while also preparing to bring their own fine-tuned models using Replicate's Cog technology.
Key Points
- Access 70+ models from providers like OpenAI, Anthropic, and Google through one API.
- Switching models requires only a single line of code in the AI.run() function.
- AI Gateway centralizes AI spend management across multiple providers for better cost tracking.
- Developers can soon bring their own fine-tuned models using Replicate's Cog technology.
- New features include automatic retries on failures and enhanced logging controls.
Source Excerpt
We're building AI Gateway into a unified inference layer for AI, letting developers call models from 14+ providers. New features include Workers AI binding integration and an expanded catalog with multimodal models.
Want this in your inbox every morning?
Daily brief at your local 8am — bilingual EN/中文, free.
More from Cloudflare AI
See more →
Temporary Cloudflare Accounts for AI agents
Cloudflare introduces Temporary Accounts on Cloudflare Workers, enabling AI agents to deploy live Workers instantly using 'wrangler deploy --temporary'. This feature removes barriers for AI agents, allowing them to operate more efficiently in real-time environments.

