AI Gateway Now Supports Automatic Setup with Default Gateway ID
Key Points
- AI Gateway now supports automatic setup with zero configuration
- Use 'default' gateway ID to create gateway on first API call
- Provides instant access to logging, caching, and rate limiting
Summary
Cloudflare AI Gateway now allows developers to start using the service immediately without manual setup. By using default as the gateway ID, AI Gateway automatically creates a gateway on the first API request.
Key Points
- Zero-setup deployment: Use
defaultas gateway ID to automatically create a gateway on first request - Simple API access: Single curl command gets you started with AI Gateway functionality
- Required permissions: API token needs
AI Gateway - Read,AI Gateway - Edit, andWorkers AI - Readpermissions - Full feature access: Automatic setup provides logging, caching, rate limiting, and multi-provider AI access
- Compatible endpoint: Uses standard
/compat/chat/completionsendpoint for easy integration