AI Gateway is generally available: a unified interface for managing and scaling your generative AI workloads
May 22, 2024Kathy Liao, Michelle Chen, Phil Wittig

Summary
AI Gateway is now generally available, acting as a proxy for generative AI workloads. It provides a unified interface for managing and scaling AI ops, offering features like analytics (request, token, cost tracking), real-time logs, caching rules, rate limiting, support for Workers AI and 10+ external providers (including Groq and Cohere), and universal endpoints with request fallbacks. The post details a code example for integrating with OpenAI and a curl example for using multiple providers. Future plans include persistent logs, custom metadata, prompt management, and fine-tuning capabilities.
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