Skip to content

Commit 8a4a33a

Browse files
committed
updates
1 parent dd72967 commit 8a4a33a

File tree

4 files changed

+63
-824
lines changed

4 files changed

+63
-824
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,6 @@ pnpm-debug.log*
2929
/assets/secrets
3030
/worker/functions/
3131

32-
.idea
32+
.idea
33+
34+
public/*

src/content/changelog/workers-ai/2025-08-05-openai-open-models.mdx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,12 @@ Get started with the new models at `@cf/openai/gpt-oss-120b` and `@cf/openai/gpt
1313
Check out the [blog](https://blog.cloudflare.com/openai-gpt-oss-on-workers-ai) for more details about the new models, and the [`gpt-oss-120b`](/workers-ai/models/gpt-oss-120b) and [`gpt-oss-20b`](/workers-ai/models/gpt-oss-20b) model pages for more information about pricing and context windows.
1414

1515
## Responses API
16-
The new Responses API is available through the REST API at `https://api.cloudflare.com/client/v4/accounts/<account_id>/ai/v1/responses`. Responses API streaming support is coming soon.
16+
If you call the model through:
17+
- Workers Binding, it will accept/return Responses API – `env.AI.run(“@cf/openai/gpt-oss-120b”)`
18+
- REST API on `/run` endpoint, it will accept/return Responses API – `https://api.cloudflare.com/client/v4/accounts/<account_id>/ai/run/@cf/openai/gpt-oss-120b`
19+
- REST API on new `/responses` endpoint, it will accept/return Responses API – `https://api.cloudflare.com/client/v4/accounts/<account_id>/ai/v1/responses`
20+
- REST API for OpenAI Compatible endpoint, it will return Chat Completions (coming soon) – `https://api.cloudflare.com/client/v4/accounts/<account_id>/ai/v1/chat/completions`
1721

18-
The existing Workers Binding `env.AI.run(“@cf/openai/gpt-oss-120b”)` and REST API `https://api.cloudflare.com/client/v4/accounts/<account_id>/ai/run/@cf/openai/gpt-oss-120b` and OpenAI compatible REST API endpoint `https://api.cloudflare.com/client/v4/accounts/<account_id>/ai/v1/chat/completions` will return the Chat Completions format for backwards compatibility.
1922

2023
```
2124
curl https://api.cloudflare.com/client/v4/accounts/<account_id>/ai/v1/responses \

0 commit comments

Comments
 (0)