-
Notifications
You must be signed in to change notification settings - Fork 9.9k
changelog and model docs #24184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
changelog and model docs #24184
Changes from 1 commit
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
42 changes: 42 additions & 0 deletions
42
src/content/changelog/workers-ai/2025-08-05-openai-open-models.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| --- | ||
| title: OpenAI open models now available on Workers AI | ||
| description: Partnering with OpenAI as a Day 0 launch partner to bring you 2 new open models on Workers AI | ||
| products: | ||
| - agents | ||
| - workers-ai | ||
| date: 2025-08-05 | ||
| --- | ||
|
|
||
| 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). | ||
|
|
||
| Get started with the new models at `@cf/openai/gpt-oss-120b` and `@cf/openai/gpt-oss-20b`. | ||
| 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. | ||
|
|
||
| ## Responses API | ||
| 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. | ||
|
|
||
| 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. | ||
|
|
||
| ``` | ||
| curl https://api.cloudflare.com/client/v4/accounts/<account_id>/ai/v1/responses \ | ||
| -H "Content-Type: application/json" \ | ||
| -H "Authorization: Bearer $CLOUDFLARE_API_KEY" \ | ||
| -d '{ | ||
| "model": "@cf/openai/gpt-oss-120b", | ||
| "reasoning": {"effort": "medium"}, | ||
| "input": [ | ||
| { | ||
| "role": "user", | ||
| "content": "What are the benefits of open-source models?" | ||
| } | ||
| ] | ||
| }' | ||
|
|
||
|
|
||
| ``` | ||
|
|
||
| ## Code Interpreter | ||
| 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. | ||
|
|
||
| ## Web Search (coming soon) | ||
| 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. | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.