News Developer Tools

Vercel adds OpenAI Decisions API to its AI Gateway

Vercel's AI Gateway now supports OpenAI's Decisions API, which returns probabilities, choices and scores instead of generated text for tasks like triage.

Vercel's AI Gateway now supports OpenAI's Decisions API through an OpenAI-compatible endpoint at /v1/decisions. Vercel says it works with GPT-6 Luna Decisions and any other decision model on the gateway.

Decision models answer typed questions about a shared input and return probabilities, choices and scores instead of generated text. Vercel lists routing, triage, guardrails and rubric scoring as suited uses. One request can carry yes/no, choice and score questions about the same input. Answers come back as an array in question order, and each answer carries its question's name.

The model ID openai/gpt-6-luna-decisions is separate from openai/gpt-6-luna, which stays a language model for text generation. Requests to the decisions ID go to the Decisions API and are billed at its rates. Other decision models, including Jev, Liquid d1 and Laya, can be set in the same field.

Developers can call the API with the OpenAI SDK, the AI SDK, the existing HTTP API at /v1/evaluate, or the AI CLI. Using decisions.create requires OpenAI SDK 7.30.0 or later for JavaScript, or 3.26.0 or later for Python.

Source: OpenAI Decisions API now available on AI Gateway – Vercel.