AI Gateway now supports OpenAI's Responses API
OpenAI's Responses API is now available through AI Gateway, providing a modern alternative to Chat Completions API. You can point the OpenAI SDK directly to AI Gateway's base URL to route requests, with full support for TypeScript and Python, including text generation, streaming, tool calling, structured output, and reasoning features.
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
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
Source: original entry ↗
More from Vercel
Follow Vercel to get its new changes in your feed and email digest.
OpenAI Decisions API now available on AI Gateway
OpenAI's Decisions API is now accessible through Vercel's AI Gateway with an OpenAI-compatible endpoint, enabling decision models to answer typed questions and return probabilities, choices, and scores for routing, triage, and guardrails use cases. Support is available across the OpenAI SDK, AI SDK, HTTP API, and CLI with the latest versions.
Timestamp attributes now supported in Vercel Flags
Vercel Flags now supports timestamp attributes for entities, allowing you to create time-based targeting rules. Use this feature to run limited-time campaigns, show content between specific dates, or target users based on registration date.
Glyph Cluster now available in stealth on AI Gateway
Glyph Cluster, a reasoning model for coding and long-context analysis, is now available as a stealth model on Vercel's AI Gateway for Pro and Enterprise plan teams with purchased AI Gateway credits at no cost during the stealth period. The model supports function calling, streams responses, and can be accessed via AI SDK, OpenAI-compatible APIs, and coding agents.