You can now start using AI Gateway with a single API call — no setup required. Use default as your gateway ID, and AI Gateway creates one for you automatically on the first request. To try it out, create an API token with AI Gateway - Read , AI Gateway - Edit , and Workers AI - Read permissions, then run: curl -X PO...
AI Gateway - Get started with AI Gateway automatically
Cloudflare Developer Platform Changelog · 2026-03-02
Related items
AI Gateway - Automatically retry on upstream provider failures on AI Gateway
AI Gateway now supports automatic retries at the gateway level. When an upstream provider returns an error, your gateway retries the request based on the retry policy you configure, without requiring any client-side changes. You can configure the retry count (up to 5 attempts), the delay between retries (from 100ms...
AI Gateway - Request timeouts and retries with AI Gateway
AI Gateway adds additional ways to handle requests - Request Timeouts and Request Retries , making it easier to keep your applications responsive and reliable. Timeouts and retries can be used on both the Universal Endpoint or directly to a supported provider . Request timeouts A request timeout allows you to trigge...
Automate safety monitoring with computer vision and generative AI
This post describes a solution that uses fixed camera networks to monitor operational environments in near real-time, detecting potential safety hazards while capturing object floor projections and their relationships to floor markings. While we illustrate the approach through distribution center deployment examples...
D1, Workers - D1 automatically retries read-only queries
D1 now detects read-only queries and automatically attempts up to two retries to execute those queries in the event of failures with retryable errors. You can access the number of execution attempts in the returned response metadata property totalattempts . At the moment, only read-only queries are retried, that is,...
AI Gateway - Log AI Gateway request metadata without storing payloads
AI Gateway now supports the cf-aig-collect-log-payload header, which controls whether request and response bodies are stored in logs. By default, this header is set to true and payloads are stored alongside metadata. Set this header to false to skip payload storage while still logging metadata such as token counts,...
Agents, Workers - Agents SDK v0.3.0, workers-ai-provider v3.0.0, and ai-gateway-provider v3.0.0 with AI SDK v6 support
We've shipped a new release for the Agents SDK v0.3.0 bringing full compatibility with AI SDK v6 and introducing the unified tool pattern, dynamic tool approval, and enhanced React hooks with improved tool handling. This release includes improved streaming and tool support, dynamic tool approval (for "human in the l...