Skip to content

Commit 6e60439

Browse files
committed
[AI Gateway] Revise changelog: update title, date, and reframe Workers AI binding section
1 parent dd97650 commit 6e60439

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

src/content/changelog/ai-gateway/2026-03-25-run-api-preview.mdx

Lines changed: 0 additions & 21 deletions
This file was deleted.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
title: AI Gateway Run API (preview) and third-party model support in Workers AI binding
3+
description: AI Gateway introduces the Run API in preview and adds support for running third-party models through the Workers AI binding.
4+
products:
5+
- ai-gateway
6+
date: 2026-03-27
7+
---
8+
9+
AI Gateway introduces the Run API (`/run`), a new endpoint with its own request envelope separate from the OpenAI-compatible `/chat/completions` format. The Run API is in preview. Authenticate with [Unified Billing](/ai-gateway/features/unified-billing/) or [BYOK (Gateway Key Store)](/ai-gateway/configuration/bring-your-own-keys/).
10+
11+
The Workers AI binding (`env.AI.run()`) now supports calling third-party models available through the Run API. You can run these models directly from a Cloudflare Worker without managing provider credentials in your code:
12+
13+
```ts
14+
const response = await env.AI.run(
15+
"google/nano-banana",
16+
{ prompt: "a cat riding a burrito" },
17+
{ gateway: { id: "my-gateway" } },
18+
);
19+
```
20+
21+
For more information, refer to the [Run API](/ai-gateway/usage/run-api/) documentation.

0 commit comments

Comments
 (0)