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.
Updates to Hobby and Pro Terms of Service
Vercel is updating Terms of Service for Hobby and Pro customers effective October 19, 2026, clarifying credit policies, managed accounts, auto-renewal practices, and adding statutory cancellation and refund rights for UK and EU consumers, including protections for service changes with negative impact.
Mercury 3 now available on AI Gateway
Inception's Mercury 3 model is now available on Vercel's AI Gateway with 50% launch pricing and generation speeds exceeding 1,000 tokens per second. The model enables parallel text refinement with a 1M-token context window, ideal for real-time applications like browser agents and customer support.
MiniMax M3.1 Flash now available on AI Gateway for free
MiniMax M3.1 Flash, an open-weight multimodal model with 1M-token context window for coding and agentic work, is now available on Vercel's AI Gateway at no cost through October 20. The model excels at complex agent tasks, coding applications, and cybersecurity work, and can be used through multiple APIs and coding agents.