Software Engineering

AI Gateway - Call any AI model through AI Gateway's new REST API

Cloudflare Developer Platform Changelog · 2026-05-21

AI Gateway now uses the AI REST API on api.cloudflare.com . You can call any model — whether from OpenAI, Anthropic, Google, or hosted on Workers AI — through one unified API, using the same endpoints and authentication regardless of provider. Four endpoints are available: POST /ai/run — universal endpoint for all m...

Feedback