Skip to content

Commit 840e52d

Browse files
committed
changelog and model docs
1 parent 55e72ae commit 840e52d

File tree

3 files changed

+1006
-0
lines changed

3 files changed

+1006
-0
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
title: OpenAI open models now available on Workers AI
3+
description: Partnering with OpenAI as a Day 0 launch partner to bring you 2 new open models on Workers AI
4+
products:
5+
- agents
6+
- workers-ai
7+
date: 2025-08-05
8+
---
9+
10+
We're thrilled to be a Day 0 partner with [OpenAI](http://openai.com/index/introducing-gpt-oss) to bring their [latest open models](https://openai.com/index/gpt-oss-model-card/) to Workers AI, including support for Responses API, Code Interpreter, and Web Search (coming soon).
11+
12+
Get started with the new models at `@cf/openai/gpt-oss-120b` and `@cf/openai/gpt-oss-20b`.
13+
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.
14+
15+
## Responses API
16+
The new Responses API is available through the REST API at `https://api.cloudflare.com/client/v4/accounts/<account_id>/ai/run/@cf/openai/gpt-oss-120b/responses`. Responses API streaming support is coming soon.
17+
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/run/@cf/openai/gpt-oss-120b/chat/completions` will return the Chat Completions format for backwards compatibility.
19+
20+
```
21+
curl https://api.cloudflare.com/client/v4/accounts/<account_id>/ai/v1/responses \
22+
-H "Content-Type: application/json" \
23+
-H "Authorization: Bearer $CLOUDFLARE_API_KEY" \
24+
-d '{
25+
"model": "@cf/openai/gpt-oss-120b",
26+
"reasoning": {"effort": "medium"},
27+
"input": [
28+
{
29+
"role": "user",
30+
"content": "What are the benefits of open-source models?"
31+
}
32+
]
33+
}'
34+
35+
36+
```
37+
38+
## Code Interpreter
39+
The model is natively trained to support stateful code execution, and we've implemented support for this feature using our [Sandbox SDK](https://github.com/cloudflare/sandbox-sdk) and [Containers](https://blog.cloudflare.com/containers-are-available-in-public-beta-for-simple-global-and-programmable/). Cloudflare's Developer Platform is uniquely positioned to support this feature, so we're very excited to bring our products together to support this new use case.
40+
41+
## Web Search (coming soon)
42+
We are working to implement Web Search for the model, where users can bring their own Exa API Key so the model can browse the Internet.

0 commit comments

Comments
 (0)