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.
Gemini 4 Argon now available on AI Gateway
Google's Gemini 4 Argon model is now available through Vercel's AI Gateway with support for coding, agentic work, and complex reasoning tasks. The model features a 1M token context window, multimodal input capabilities (text, image, PDF, video), tool calling, and configurable thinking levels for enhanced performance.
MAI-Image-2.6 and MAI-Image-2.6-Flash now available on AI Gateway
Microsoft's MAI-Image-2.6 and MAI-Image-2.6-Flash models are now available on AI Gateway, enabling image generation and editing through a single API key without requiring separate provider accounts. Both models support photorealistic imagery, text rendering, targeted edits, and up to five reference images with output sizes up to 1536×1536.
Repository checkout and Git LFS downloads are now faster
Repository checkout and Git LFS downloads are now faster on Vercel, reducing build preparation time. Average checkout time improved by 20%, with LFS-enabled projects seeing a 54% improvement and saving approximately 13 seconds per deployment.