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.
is now available on through an OpenAI-compatible endpoint. Use it with or any other decision model on AI Gateway.OpenAI's Decisions APIAI GatewayGPT-6 Luna Decisions/v1/decisions
Decision models answer typed questions about a shared input and return probabilities, choices, and scores instead of generated text, which suits routing, triage, guardrails, and rubric scoring. You can ask predicate (yes/no), choice, and score questions against the same input in one request.
is a separate model ID from , which stays a language model for text generation. Requests to the decisions ID go to the Decisions API and are billed at its rates.openai/gpt-6-luna-decisionsopenai/gpt-6-luna
Call it with the , the , the existing at , or the .OpenAI SDKAI SDKHTTP APIAI CLI/v1/evaluate
requires the OpenAI SDK 7.30.0 or later for JavaScript, or 3.26.0 or later for Python. In the AI SDK, requires 7.0.128 or later.decisions.createexperimental_decideai
Point the OpenAI SDK at AI Gateway and call as you would against OpenAI. In the AI SDK, questions are keyed by name and the yes/no type is called . Each key in becomes a key in :decisions.createbooleanquestionsanswers
Answers come back as an array in question order, each carrying the question's . Set to any decision model, including , , and .namemodelJevLiquid d1Laya
See the for request limits and error formats, the for the AI SDK, or browse on AI Gateway.OpenAI-compatible Decisions API referencedecision documentationall decision models
Upgrading
OpenAI SDK and AI SDK
Source: original entry ↗
More from Vercel
Follow Vercel to get its new changes in your feed and email digest.
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.
Claude Haiku 5.5 now available on AI Gateway
Claude Haiku 5.5 is now available through Vercel's AI Gateway, featuring adaptive thinking with effort levels and zero data retention. The fastest Claude model is optimized for high-volume cost-sensitive tasks like summarization, classification, and live customer support.