AI Gateway Updates & Release Notes

Follow

18 updates curated from 1 source by the Releasebot Team. Last updated: Aug 7, 2026

Get this feed:
  • Aug 7, 2026
    • Date parsed from source:
      Aug 7, 2026
    • First seen by Releasebot:
      Aug 7, 2026
    Cloudflare logo

    AI Gateway by Cloudflare

    AI Gateway, Workers AI - Workers AI and AI Gateway unify model access and billing

    AI Gateway now provides a unified path for Workers AI and supported third-party models, with shared AI bindings and REST APIs plus observability, logging, caching, security, and billing controls. It also adds unified billing with prepaid credits and higher rate limits for frontier models.

    Unified entrypoints and observability

    Workers AI and AI Gateway now provide a unified path for accessing models and managing inference traffic. Use the same AI binding and REST API to call models hosted on Workers AI or by supported third-party providers, with AI Gateway providing observability, logging, caching, security, and billing controls.

    The AI binding supports both Workers AI and third-party models through env.AI.run(). The REST API provides shared /ai/ endpoints with Cloudflare authentication across providers.

    Route a Workers AI request through AI Gateway by specifying a gateway ID. Use default to automatically create a gateway on the first authenticated request, or specify an existing gateway to separate applications and workloads:

    const response = await env.AI.run(
    "@cf/zai-org/glm-5.2",
    {
    messages: [{ role: "user", content: "What is the capital of France?" }],
    },
    {
    gateway: { id: "default" },
    },
    );
    const response = await env.AI.run(
    "@cf/zai-org/glm-5.2",
    {
    messages: [{ role: "user", content: "What is the capital of France?" }],
    },
    {
    gateway: { id: "default" },
    },
    );
    

    Requests routed through AI Gateway can be logged and included in analytics for request volume, errors, latency, token usage, and costs. You can also configure controls such as caching, rate limiting, and request retries on the gateway.

    Unified billing and higher rate limits

    You can now use prepaid AI Gateway credits to pay for Workers AI inference. This provides one credit balance for Workers AI and supported third-party model providers. To use credits for Workers AI, set the gateway's Workers AI billing setting to Unified billing. Workers AI requests routed through that gateway deduct from your credit balance in real time.

    Prepaid credits also provide access to the following Workers AI frontier models without requiring the Workers Paid plan. Each frontier Workers AI model has a rate limit of 50 requests per minute per account, per model when billed with AI Gateway credits, compared to 20 requests per minute through standard Workers AI billing:

    • @cf/moonshotai/kimi-k2.6
    • @cf/moonshotai/kimi-k2.7-code
    • @cf/zai-org/glm-5.2

    These limits are designed for typical agentic and coding workloads, where requests to frontier models can take longer to complete.

    For details, refer to Workers AI limits, Workers AI pricing, Unified Billing, and the AI Gateway model catalog.

    Original source
  • Aug 5, 2026
    • Date parsed from source:
      Aug 5, 2026
    • First seen by Releasebot:
      Aug 6, 2026
    Cloudflare logo

    AI Gateway by Cloudflare

    AI Gateway - Track AI spend and catch anomalous usage with User Insights

    AI Gateway adds User Insights, giving teams a single dashboard for AI spend visibility and abnormal usage detection. It shows organization-wide cost, requests, tokens and adoption, plus user-level drilldowns, with no extra setup and no additional cost.

    AI Gateway now includes User Insights

    AI Gateway now includes User Insights, a dashboard that gives you two things at once: clear visibility into how much your organization spends on AI, and a security signal that surfaces users whose usage suddenly looks abnormal. It works on the traffic already flowing through your gateway, so there is no additional setup.

    On the spend side, User Insights shows organization-wide totals for cost, requests, tokens, and adoption, and lets you drill into an individual user to see their spend, top models and providers, cache hit rate, and more. To attribute usage to individual users, add a user identifier with custom metadata or put your gateway behind Cloudflare Access.

    On the security side, User Insights baselines each user's normal usage from their 95th percentile (p95) session cost over the last 30 days, then flags sessions that exceed both that baseline and an organization-level threshold. A sudden jump above a user's own pattern is often the first sign of a compromised credential or a misbehaving agent, so you can investigate before it shows up on your bill.

    User Insights is available to all AI Gateway customers at no additional cost.

    Original source
  • All of your release notes in one feed

    Join Releasebot and get updates from Cloudflare and hundreds of other software products.

    Create account
  • Aug 5, 2026
    • Date parsed from source:
      Aug 5, 2026
    • First seen by Releasebot:
      Aug 5, 2026
    Cloudflare logo

    AI Gateway by Cloudflare

    AI Gateway, Access - Identity-aware controls are now available in AI Gateway

    AI Gateway now integrates with Cloudflare Access, adding endpoint protection and identity-aware controls for authenticated users. It can use Access identity in logs, analytics, routing, and spend controls, with verified user IDs added to request metadata as cf.user_id.

    AI Gateway now integrates with Cloudflare Access, giving you two new capabilities:

    • Protect your gateway endpoint. Put your AI Gateway behind Access so you can set policies that control who is allowed to call a specific gateway's endpoint.
    • Identity-aware controls. When traffic reaches AI Gateway through an Access-protected custom domain, AI Gateway can use the authenticated user's Access identity in logs, analytics, routing, and spend controls.

    With identity-aware controls, you can set spend limits by authenticated user, control which gateways different users can access, filter logs by user, and build policies without passing user IDs from the client application. AI Gateway adds the verified Access user ID to request metadata as cf.user_id.

    For setup instructions, refer to Cloudflare Access.

    Original source
  • Jun 12, 2026
    • Date parsed from source:
      Jun 12, 2026
    • First seen by Releasebot:
      Jul 18, 2026
    Cloudflare logo

    AI Gateway by Cloudflare

    AI Gateway - View the user agent of requests in AI Gateway logs

    AI Gateway adds user agent logging and filtering to help identify which SDK, library, or app sent each request.

    AI Gateway logs now capture the user agent of the client that made each request, making it easier to identify which SDK, library, or application sent the traffic flowing through your gateway. For example, you can tell apart requests coming from openai-python versus a custom application or a Cloudflare Worker.

    The user agent appears alongside the other details in each log entry, and you can filter logs by user agent (equals, does not equal, or contains) in the dashboard.

    For more information, refer to Logging.

    Original source
  • Jun 5, 2026
    • Date parsed from source:
      Jun 5, 2026
    • First seen by Releasebot:
      Jul 18, 2026
    Cloudflare logo

    AI Gateway by Cloudflare

    AI Gateway - Control AI costs with spend limits

    AI Gateway adds spend limits that track dollar-based budget usage and block requests once the cap is reached. The new controls can be scoped by model, provider, or custom metadata, with fixed or sliding time windows for flexible cost control across Unified Billing and BYOK requests.

    AI Gateway now supports spend limits — cost-based budgets that track cumulative dollar spend and block requests when the budget is exceeded. Unlike rate limiting, which caps the number of requests, spend limits track actual cost based on token usage and model pricing.

    You can scope limits by model, provider, or custom metadata dimensions. For example, give each user a $200/day budget, cap total gateway spend at $10,000/day, or limit a specific model to $50/day per user. Each rule uses a configurable time window with fixed or sliding enforcement.

    Spend limits work with both Unified Billing and BYOK requests for models with known pricing.

    For more details, refer to the Spend limits documentation.

    Original source
  • Similar to AI Gateway with recent updates:

  • May 21, 2026
    • Date parsed from source:
      May 21, 2026
    • First seen by Releasebot:
      Jul 18, 2026
    Cloudflare logo

    AI Gateway by Cloudflare

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

    AI Gateway now supports the AI REST API on api.cloudflare.com, giving users one unified way to call models from OpenAI, Anthropic, Google, or Workers AI. It adds multiple compatible endpoints, automatic logging, caching, rate limiting, guardrails, and Unified Billing for third-party models.

    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 models and modalities
    • POST /ai/v1/chat/completions — OpenAI SDK compatible
    • POST /ai/v1/responses — OpenAI Responses API compatible
    • POST /ai/v1/messages — Anthropic SDK compatible
    curl -X POST "https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/v1/chat/completions" \
    --header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
    --header "Content-Type: application/json" \
    --data '{
    "model": "openai/gpt-5.5",
    "messages": [{"role": "user", "content": "What is Cloudflare?"}]
    }'
    

    All AI Gateway features — logging, caching, rate limiting, and guardrails — are applied automatically. Third-party models are billed through Unified Billing, so you do not need to manage separate provider API keys.

    Third-party model requests are routed through your account's default gateway, which is created automatically on first use. To route requests through a specific gateway, add the cf-aig-gateway-id header.

    If you are already calling Workers AI models through the existing REST API, that path (/ai/run/@cf/{model}) continues to work. To call Workers AI models through AI Gateway, use the @cf/ model prefix (for example, @cf/moonshotai/kimi-k2.6) and include the cf-aig-gateway-id header to specify which gateway to route through.

    For more details and examples, refer to the REST API documentation.

    Original source
  • Apr 2, 2026
    • Date parsed from source:
      Apr 2, 2026
    • First seen by Releasebot:
      Jul 18, 2026
    Cloudflare logo

    AI Gateway by Cloudflare

    AI Gateway - Automatically retry on upstream provider failures on AI Gateway

    AI Gateway now supports automatic gateway-level retries, helping requests recover from upstream errors without client-side changes. It adds configurable retry counts, delays, and backoff strategies, with per-request headers able to override the defaults.

    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 to 5 seconds), and the backoff strategy (Constant, Linear, or Exponential). These defaults apply to all requests through the gateway, and per-request headers can override them.

    This is particularly useful when you do not control the client making the request and cannot implement retry logic on the caller side. For more complex failover scenarios — such as failing across different providers — use Dynamic Routing.

    For more information, refer to Manage gateways.

    Original source
  • Mar 17, 2026
    • Date parsed from source:
      Mar 17, 2026
    • First seen by Releasebot:
      Jul 18, 2026
    Cloudflare logo

    AI Gateway by Cloudflare

    AI Gateway - Log AI Gateway request metadata without storing payloads

    AI Gateway adds support for the cf-aig-collect-log-payload header, giving users control over whether request and response bodies are stored in logs while preserving usage metadata like token counts, model, provider, cost, status code, and duration.

    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, model, provider, status code, cost, and duration.

    This is useful when you need usage metrics but do not want to persist sensitive prompt or response data.

    curl https://gateway.ai.cloudflare.com/v1/$ACCOUNT_ID/$GATEWAY_ID/openai/chat/completions \
    --header "Authorization: Bearer $TOKEN" \
    --header 'Content-Type: application/json' \
    --header 'cf-aig-collect-log-payload: false' \
    --data '{
    "model": "gpt-4o-mini",
    "messages": [
    {
    "role": "user",
    "content": "What is the email address and phone number of user123?"
    }
    ]
    }'
    

    For more information, refer to Logging.

    Original source
  • Mar 2, 2026
    • Date parsed from source:
      Mar 2, 2026
    • First seen by Releasebot:
      Jul 18, 2026
    Cloudflare logo

    AI Gateway by Cloudflare

    AI Gateway - Get started with AI Gateway automatically

    AI Gateway now supports a no-setup start with a single API call, automatically creating a default gateway ID on first request. It also brings logging, caching, rate limiting, and access to multiple AI providers through one endpoint.

    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 POST https://gateway.ai.cloudflare.com/v1/$CLOUDFLARE_ACCOUNT_ID/default/compat/chat/completions \
    --header "cf-aig-authorization: Bearer $CLOUDFLARE_API_TOKEN" \
    --header 'Content-Type: application/json' \
    --data '{
    "model": "workers-ai/@cf/meta/llama-3.3-70b-instruct-fp8-fast",
    "messages": [
    {
    "role": "user",
    "content": "What is Cloudflare?"
    }
    ]
    }'
    

    AI Gateway gives you logging, caching, rate limiting, and access to multiple AI providers through a single endpoint. For more information, refer to Get started.

    Original source
  • Feb 19, 2026
    • Date parsed from source:
      Feb 19, 2026
    • First seen by Releasebot:
      Jul 18, 2026
    Cloudflare logo

    AI Gateway by Cloudflare

    AI Gateway, Workers AI - AI dashboard experience improvements

    AI Gateway adds dashboard improvements that make AI workflows easier to start and manage, including simpler onboarding, a clearer top-level AI section, faster route building, better analytics, and accessibility upgrades across the Cloudflare dashboard.

    Workers AI and AI Gateway have received a series of dashboard improvements to help you get started faster and manage your AI workloads more easily.

    Navigation and discoverability

    AI now has its own top-level section in the Cloudflare dashboard sidebar, so you can find AI features without digging through menus.

    Onboarding and getting started

    Getting started with AI Gateway is now simpler. When you create your first gateway, we now show your gateway's OpenAI-compatible endpoint and step-by-step guidance to help you configure it. The Playground also includes helpful prompts, and usage pages have clear next steps if you have not made any requests yet.

    We've also combined the previously separate code example sections into one view with dropdown selectors for API type, provider, SDK, and authentication method so you can now customize the exact code snippet you need from one place.

    Dynamic Routing

    The route builder is now more performant and responsive.

    You can now copy route names to your clipboard with a single click.

    Code examples use the Universal Endpoint format, making it easier to integrate routes into your application.

    Observability and analytics

    Small monetary values now display correctly in cost analytics charts, so you can accurately track spending at any scale.

    Accessibility

    Improvements to keyboard navigation within the AI Gateway, specifically when exploring usage by provider.

    Improvements to sorting and filtering components on the Workers AI models page.

    For more information, refer to the AI Gateway documentation.

    Original source
  • Aug 25, 2025
    • Date parsed from source:
      Aug 25, 2025
    • First seen by Releasebot:
      Jul 18, 2026
    Cloudflare logo

    AI Gateway by Cloudflare

    Secrets Store, AI Gateway, SSL/TLS - Manage and deploy your AI provider keys through Bring Your Own Key (BYOK) with AI Gateway, now powered by Cloudflare Secrets Store

    AI Gateway adds Cloudflare Secrets Store integration for Bring Your Own Key, letting users securely manage AI provider keys in one place and reference them in gateway config instead of passing plain text secrets. It also supports creating secrets from the dashboard, wrangler, and the API.

    Cloudflare Secrets Store is now integrated with AI Gateway, allowing you to store, manage, and deploy your AI provider keys in a secure and seamless configuration through Bring Your Own Key. Instead of passing your AI provider keys directly in every request header, you can centrally manage each key with Secrets Store and deploy in your gateway configuration using only a reference, rather than passing the value in plain text.

    You can now create a secret directly from your AI Gateway in the dashboard by navigating into your gateway -> Provider Keys -> Add.

    You can also create your secret with the newly available ai_gateway scope via wrangler, the Secrets Store dashboard, or the API.

    Then, pass the key in the request header using its Secrets Store reference:

    curl -X POST https://gateway.ai.cloudflare.com/v1/<ACCOUNT_ID>/my-gateway/anthropic/v1/messages \
    --header 'cf-aig-authorization: ANTHROPIC_KEY_1 \
    --header 'anthropic-version: 2023-06-01' \
    --header 'Content-Type: application/json' \
    --data '{"model": "claude-3-opus-20240229", "messages": [{"role": "user", "content": "What is Cloudflare?"}]}'
    

    Or, using Javascript:

    import Anthropic from '@anthropic-ai/sdk';
    const anthropic = new Anthropic({
    apiKey: "ANTHROPIC_KEY_1",
    baseURL: "https://gateway.ai.cloudflare.com/v1/<ACCOUNT_ID>/my-gateway/anthropic",
    });
    const message = await anthropic.messages.create({
    model: 'claude-3-opus-20240229',
    messages: [{role: "user", content: "What is Cloudflare?"}],
    max_tokens: 1024
    });
    

    For more information, check out the blog!

    Original source
  • Jun 3, 2025
    • Date parsed from source:
      Jun 3, 2025
    • First seen by Releasebot:
      Jul 18, 2026
    Cloudflare logo

    AI Gateway by Cloudflare

    AI Gateway - AI Gateway adds OpenAI compatible endpoint

    AI Gateway adds an OpenAI Compatible endpoint for switching between providers without changing request or response formats. It launches with chat completions, supports easy provider changes, and can pair with the Universal Endpoint for standardized fallbacks across providers.

    Users can now use an OpenAI Compatible endpoint in AI Gateway to easily switch between providers, while keeping the exact same request and response formats. We're launching now with the chat completions endpoint, with the embeddings endpoint coming up next.

    To get started, use the OpenAI compatible chat completions endpoint URL with your own account id and gateway id and switch between providers by changing the model and apiKey parameters.

    import OpenAI from "openai";
    const client = new OpenAI({
    apiKey: "YOUR_PROVIDER_API_KEY", // Provider API key
    baseURL:
    "https://gateway.ai.cloudflare.com/v1/{account_id}/{gateway_id}/compat",
    });
    const response = await client.chat.completions.create({
    model: "google-ai-studio/gemini-2.0-flash",
    messages: [{ role: "user", content: "What is Cloudflare?" }],
    });
    console.log(response.choices[0].message.content);
    

    Additionally, the OpenAI Compatible endpoint can be combined with our Universal Endpoint to add fallbacks across multiple providers. That means AI Gateway will return every response in the same standardized format, no extra parsing logic required!

    Learn more in the OpenAI Compatibility documentation.

    Original source
  • Mar 21, 2025
    • Date parsed from source:
      Mar 21, 2025
    • First seen by Releasebot:
      Jul 18, 2026
    • Modified by Releasebot:
      Aug 5, 2026
    Cloudflare logo

    AI Gateway by Cloudflare

    AI Gateway - AI Gateway launches Realtime WebSockets API

    AI Gateway adds real-time AI interactions with the new Realtime WebSockets API, bringing persistent low-latency connections for natural conversational experiences, including speech-to-speech. It works with OpenAI Realtime API, Google Gemini Live API, Cartesia, and ElevenLabs.

    We are excited to announce that AI Gateway now supports real-time AI interactions with the new Realtime WebSockets API.

    This new capability allows developers to establish persistent, low-latency connections between their applications and AI models, enabling natural, real-time conversational AI experiences, including speech-to-speech interactions.

    The Realtime WebSockets API works with the OpenAI Realtime API ↗, Google Gemini Live API ↗, and supports real-time text and speech interactions with models from Cartesia ↗, and ElevenLabs ↗.

    Here's how you can connect AI Gateway to OpenAI's Realtime API ↗ using WebSockets:

    OpenAI Realtime API example

    import WebSocket from "ws";
    const url =
    "wss://gateway.ai.cloudflare.com/v1/&lt;account_id&gt;/&lt;gateway&gt;/openai?model=gpt-4o-realtime-preview-2024-12-17";
    const ws = new WebSocket(url, {
    headers: {
    "cf-aig-authorization": process.env.CLOUDFLARE_API_KEY,
    Authorization: "Bearer " + process.env.OPENAI_API_KEY,
    "OpenAI-Beta": "realtime=v1",
    },
    });
    ws.on("open", () =&gt; console.log("Connected to server."));
    ws.on("message", (message) =&gt; console.log(JSON.parse(message.toString())));
    ws.send(
    JSON.stringify({
    type: "response.create",
    response: { modalities: ["text"], instructions: "Tell me a joke" },
    }),
    );
    

    Get started by checking out the Realtime WebSockets API documentation.

    Original source
  • Feb 26, 2025
    • Date parsed from source:
      Feb 26, 2025
    • First seen by Releasebot:
      Jul 18, 2026
    Cloudflare logo

    AI Gateway by Cloudflare

    AI Gateway - Introducing Guardrails in AI Gateway

    AI Gateway adds Guardrails to monitor harmful content and let teams moderate prompts, responses, and hazard categories.

    AI Gateway now includes Guardrails, to help you monitor your AI apps for harmful or inappropriate content and deploy safely.

    Within the AI Gateway settings, you can configure:

    • Guardrails: Enable or disable content moderation as needed.
    • Evaluation scope: Select whether to moderate user prompts, model responses, or both.
    • Hazard categories: Specify which categories to monitor and determine whether detected inappropriate content should be blocked or flagged.

    Learn more in the blog or our documentation.

    Original source
  • Feb 6, 2025
    • Date parsed from source:
      Feb 6, 2025
    • First seen by Releasebot:
      Jul 18, 2026
    • Modified by Releasebot:
      Aug 5, 2026
    Cloudflare logo

    AI Gateway by Cloudflare

    AI Gateway - Request timeouts and retries with AI Gateway

    AI Gateway adds request timeouts and retries to help keep applications responsive and reliable, with support on the Universal Endpoint or directly to supported providers.

    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 trigger fallbacks or a retry if a provider takes too long to respond.

    To set a request timeout directly to a provider, add a cf-aig-request-timeout header.

    Provider-specific endpoint example

    curl https://gateway.ai.cloudflare.com/v1/{account_id}/{gateway_id}/workers-ai/@cf/meta/llama-3.1-8b-instruct \
    --header 'Authorization: Bearer {cf_api_token}' \
    --header 'Content-Type: application/json' \
    --header 'cf-aig-request-timeout: 5000'
    --data '{"prompt": "What is Cloudflare?"}'
    

    Request retries

    A request retry automatically retries failed requests, so you can recover from temporary issues without intervening.

    To set up request retries directly to a provider, add the following headers:

    cf-aig-max-attempts (number)

    cf-aig-retry-delay (number)

    cf-aig-backoff ("constant" | "linear" | "exponential)

    Original source
Releasebot

Curated by the Releasebot team

Releasebot is an aggregator of official product update announcements from hundreds of software vendors and thousands of sources.

Our editorial process involves the manual review and audit of release notes procured with the help of automated systems.