AI Gateway supports OpenAI's Responses API
Cloudflare AI Gateway adds support for OpenAI's Responses API, letting developers route requests directly via the OpenAI SDK in TypeScript or Python by pointing to the gateway's base URL.
OpenAI's Responses API is now available through AI Gateway. The Responses API is a modern alternative to the Chat Completions API. Point your OpenAI SDK to AI Gateway's base URL and use the names to route requests. TypeScript and Python are both supported. All of the functionality in the Responses API was already accessible through AI Gateway via the AI SDK and Chat Completions API, but you can now use the Responses API directly.creator/model Install the OpenAI SDK and point it at AI Gateway. Send a prompt and get a response from any supported model. Combine reasoning levels with a JSON schema to get structured responses.
To learn more about the Responses API, read the .documentation Read more What you can do Getting started Basic example: text generation Structured output with reasoning : Send prompts, get responses, stream tokens as they arriveText generation and streaming : Define functions the model can invoke, then feed results backTool calling : Constrain responses to a JSON schemaStructured output : Control how much effort the model spends thinking with configurable effort levelsReasoning