OpenAI Decisions API: how it works, pricing and a worked ticket-routing example
OpenAI's Decisions API returns probabilities, choices and scores instead of text. Here is how it works, what it costs, its limits, and a worked example that routes an IT ticket with confidence thresholds and a human fallback.

Key takeaways
- The OpenAI Decisions API (POST /v1/decisions) returns typed answers, not text: a probability, one choice from a fixed set, or a score against ordered levels.
- It runs on gpt-6-luna only, accepts text, images, JSON and conversation history, and takes up to 400 questions per request.
- Uncached input costs $0.10 per million tokens and output is free, so routing 100,000 IT tickets costs a few dollars at list price.
- Use the confidence and probability values with thresholds tuned on your own labeled tickets, and send low-confidence decisions to a person.
- Any question can come back as a refusal, decisions that depend on earlier answers need separate requests, and wording of choice values changes results.
- It is the natural choice for teams already on OpenAI, but scored below Jev, Google and Microsoft on the Artificial Analysis Decision Index v2.1.
Most of what an application asks a language model is not a request for prose. It is a judgment: which team should get this, is this image damaged, how urgent is this, should this agent action go ahead. OpenAI's Decisions API is built for exactly that, and it skips text generation entirely.
This guide explains how the API works, what it costs and where it trips people up, then walks through a complete example that routes an IT ticket, sets its priority and decides when a person should take over.
How the Decisions API works
Every request has three parts, and the response contains an answers array with one entry per question.
| Field | What it holds |
|---|---|
model | The model that evaluates the request. Only gpt-6-luna is supported today. |
input | Shared evidence for every question: a text string, or an ordered array of messages, tool calls and tool outputs. User messages can include text, images and JSON. |
questions | What to evaluate: each question's type, a unique name, its instructions, and any allowed choices or score levels. |
OpenAI says the endpoint returns answers about ten times faster than the Responses API and quoted around 150 milliseconds at DevDay. Speed comes from not generating tokens: the model reads the input once and returns a probability distribution over the answers you allowed.
The three question types
| Type | Returns | Service desk example |
|---|---|---|
predicate | probability: an estimate from 0 to 1 that a condition is true | Is the employee blocked from working right now? |
choice | choice: one of your supplied values, plus probabilities for every option and a confidence value | Which queue should own this ticket: network, access, hardware or other? |
score | score: the probability-weighted average of 2 to 10 ordered levels, plus per-level probabilities and confidence | How urgent is this, from low to high? |
Use choice for categories with no natural order and score for ordered levels. A score of 1.1 on a three-level scale is not a bug: with probabilities of 0.1, 0.7 and 0.2 across levels 0, 1 and 2, the weighted average is 1.1. If you need one discrete level, ask a choice question instead.
OpenAI Decisions API use cases
OpenAI positions the API for classifying content, routing requests and prioritizing work. In practice, that covers most of the small judgments an application makes before or after a generative step.
| Use case | Question type | Example question |
|---|---|---|
| Routing requests | choice | Which department should handle this complaint? |
| Content moderation and filtering | predicate | Does this message break the acceptable use policy? |
| Image checks | predicate | Does the product in this photo show visible damage, ignoring the packaging? |
| Prioritizing work | score | How severe is this issue, from cosmetic to fully blocked? |
| Retrieval relevance | predicate | Is this knowledge passage relevant to the employee's question? |
| Agent action selection and guardrails | choice or predicate | Which tool should the agent call next? Does this tool call touch production data? |
| Voice applications | choice | Which action does the caller want, as the transcript arrives? |
Examples based on OpenAI's documentation and common service desk patterns.
Two of these deserve a closer look for service desks. Retrieval relevance checks let you test every retrieved passage before the answering model sees it, which is cheap enough at $0.10 per million input tokens to run on every request. And agent guardrails let you put a fast yes or no check in front of any action that changes a system, with conversation history and tool outputs as evidence.
Your first request
The smallest useful call routes a message to a department. This is the request shape from OpenAI's documentation:
curl https://api.openai.com/v1/decisions \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-6-luna",
"input": "I was charged twice for my order.",
"questions": [{
"type": "choice",
"name": "department",
"instructions": "Which department should handle this complaint?",
"choices": [
{"value": "billing", "description": "Payments, invoices, and refunds."},
{"value": "technical", "description": "Problems using the product."},
{"value": "shipping", "description": "Delivery and tracking."},
{"value": "other", "description": "Requests outside these categories."}
]
}]
}'
And an illustrative response:
{
"answers": [
{
"type": "choice",
"name": "department",
"choice": "billing",
"probabilities": [
{ "value": "billing", "probability": 0.95 },
{ "value": "technical", "probability": 0.02 },
{ "value": "shipping", "probability": 0.01 },
{ "value": "other", "probability": 0.02 }
],
"confidence": 0.93
}
]
}
Notice the other option. If your categories do not cover every possible input, give the model somewhere to put the rest, and send that result to a general review queue.
A worked example: routing an IT ticket end to end
A real triage step asks several things about the same ticket at once. Because every question in a request reads the same input and is answered independently, three questions cost one round trip.
Here is the same flow in Python with the official SDK. The request asks all three questions at once, and the routing logic handles refusals and low confidence explicitly.
from openai import OpenAI
client = OpenAI()
ticket = (
"Since this morning my VPN drops every few minutes. "
"I have the board deck due at 3pm and can't reach the finance share."
)
decision = client.decisions.create(
model="gpt-6-luna",
input=ticket,
questions=[
{
"type": "choice",
"name": "queue",
"instructions": "Which IT queue should own this ticket?",
"choices": [
{"value": "network", "description": "VPN, Wi-Fi, DNS and connectivity."},
{"value": "access", "description": "Passwords, MFA, lockouts and permissions."},
{"value": "hardware", "description": "Laptops, monitors, docks and peripherals."},
{"value": "other", "description": "Requests outside these queues."},
],
},
{
"type": "score",
"name": "urgency",
"instructions": "How urgent is this for the employee's work today?",
"levels": [
{"label": "Low", "description": "No impact on work today."},
{"label": "Medium", "description": "Work is slower, but a workaround exists."},
{"label": "High", "description": "Blocked from a time-bound task."},
],
},
{
"type": "predicate",
"name": "sensitive",
"instructions": (
"Does the ticket mention a security incident, a legal matter "
"or a request on behalf of an executive?"
),
},
],
)
answers = {answer.name: answer for answer in decision.answers}
AUTO_ROUTE = 0.85 # tune on your own labeled tickets
ESCALATE = 0.50 # tune on your own labeled tickets
queue = answers["queue"]
if queue.type == "refusal" or queue.confidence < AUTO_ROUTE:
route = "triage-review" # a person picks the queue
else:
route = queue.choice
urgency = answers["urgency"]
priority = "P2" if urgency.type == "score" and urgency.score >= 1.5 else "P3"
sensitive = answers["sensitive"]
if sensitive.type == "refusal" or sensitive.probability >= ESCALATE:
route = "service-desk-lead" # never auto-route sensitive tickets
print(route, priority)
Three design choices in that code are worth copying. Each question asks about one observable thing, so a wrong answer is easy to diagnose. Refusals are treated as "a person decides", never silently dropped. And the sensitive-ticket check overrides routing, because the cost of auto-routing an executive's security incident to the wrong queue is much higher than the cost of a manual review.
Setting thresholds you can defend
The values 0.85 and 0.50 above are starting points, not recommendations, because the right threshold depends on what a wrong answer costs you. OpenAI's guidance is to set thresholds with labeled examples from your own application, weighing false positives against false negatives.
A practical method: take a few hundred labeled tickets, run them through the API, and for each candidate threshold count how many tickets would be auto-routed and how many of those were wrong. Choose the highest coverage your team accepts at the error rate it can live with, then confirm the choice on tickets you did not use to pick it. Revisit the threshold whenever the categories, the wording of your choices or the model version changes.
What the Decisions API costs
With gpt-6-luna, uncached input costs $0.10 per million tokens and output tokens are not charged. Prompt cache hits are discounted, cache writes are charged at the standard caching rates for the model, and regional processing premiums and long-context multipliers apply.
To make that concrete, assume a triage request like the one above uses about 600 input tokens, counting the ticket and all three questions with their choices and levels:
| Tickets per month | Input tokens | Cost at $0.10 per 1M |
|---|---|---|
| 10,000 | 6 million | $0.60 |
| 100,000 | 60 million | $6.00 |
| 1,000,000 | 600 million | $60.00 |
Illustrative estimate at list price for uncached input. Your token count depends on ticket length and question wording.
Two levers move that number. Caching helps when many requests share a long prefix, such as a policy document or a reference image placed in input, with the variable part in questions; the reusable prefix must be at least 1,024 tokens. And trimming input helps more than you might expect: sending the latest message instead of a full ticket history cuts tokens and often improves accuracy.
OpenAI Decisions API limitations
- One model.
gpt-6-lunais the only supported model, so there is no cheaper or larger tier to switch to within the API. - 400 questions per request. That is up from 200 in the public beta, but questions are evaluated independently. If one decision depends on another, such as choosing a repair category only after confirming damage, send two requests.
- Refusals per question. Any question can return a refusal while the others are answered. Handle it as "a person decides", not as a default value.
- Wording is part of the prompt. The model sees each choice's
valueanddescription, so renaming a value can change results even when the description stays the same. Prefer meaningful labels such asbillingover opaque IDs. - Image inputs. Images can be inline base64 data URLs or public HTTP or HTTPS URLs;
file_idinputs are not supported. Files, audio and item references are not supported as input either. - Conversation history. You can pass messages, function calls and tool outputs as evidence, matched by
call_id. Decisions returns answers; your application runs any action they select.
When to use something else
The Decisions API is the wrong tool when you need generated content. If the same step has to extract fields into your own schema or explain its reasoning, use Structured Outputs with the Responses API, or function calling when the model should request a tool call with arguments. Many teams combine them: a fast decision decides whether a request needs the slower generative model at all.
It may also be the wrong vendor for the job. On the Artificial Analysis Decision Index v2.1, gpt-6-luna in Decisions mode scored 60.3, below TypeSafe's Jev at 66.2 and Microsoft-Decision-1.1 at 67.8, at the time of writing. Its strengths are ecosystem fit, image and JSON input, conversation-aware evaluation and OpenAI's data controls. We compare the four best-known decision models side by side in how Jev, Microsoft-Decision-1, OpenAI and Gemini compare, and explain the model that started the category in what Jev is.
Data handling and compliance
OpenAI lists the Decisions API as supporting zero data retention and HIPAA use for eligible customers. Data residency is available in all supported API regions, and regional processing is supported in the United States and in Europe, covering the EEA and Switzerland. Requests can also travel over Private Link. Check which agreements apply to your account before employee data goes anywhere.
Even with those controls, a decision model is one component. Tickets carry names, device details and sometimes sensitive HR context, so redaction, injection screening and audit logging still need to sit around the call. We cover why that visibility matters in explainable AI for agentic systems and what it takes to run many such components safely in AI agent governance.
Where Clocked by Rezolve.ai fits
If you are building employee support rather than a one-off classifier, the hard part is everything around the decision. Clocked by Rezolve.ai pairs typed decisions with the checks enterprise support needs. Its Decide API takes a state, optional shared instructions and named questions, and it works alongside Extract and Fill APIs and checks for personal data, prompt injection and grounding. Your team sets the confidence thresholds that decide when the system acts and when a person reviews, and screenshots of errors count as input rather than gaps.
The Decisions API turns judgments that used to need a prompt, a parser and a validator into a single typed call. Used with honest thresholds and a clear path to a person, it is one of the cheapest ways to take routine triage off a service desk's plate.
Last updated on November 30, 2026
Get summary with:
See the agentic service desk in action
Watch Rezolve.ai autonomously resolve real IT and HR tickets: governed, auditable, glass-box.
Frequently asked questions
What is the OpenAI Decisions API?
The OpenAI Decisions API is an endpoint, POST /v1/decisions, that evaluates text, images and JSON against questions you define and returns typed answers instead of generated text: the probability that a condition is true, one choice from a fixed set, or a score against ordered levels. It runs on gpt-6-luna and became generally available on October 22, 2026.
How much does the OpenAI Decisions API cost?
At the time of writing, uncached input costs $0.10 per million tokens and output tokens are not charged. Prompt cache hits get discounted input pricing, cache writes are charged, and regional processing premiums and long-context multipliers can apply.
Which model does the Decisions API use?
It currently supports one model, gpt-6-luna. Requests to POST /v1/decisions must set model to gpt-6-luna.
How many questions can one Decisions API request ask?
Between 1 and 400 questions per request, up from 200 during the public beta. Questions in one request are independent, so decisions that depend on an earlier answer need a separate request.
What is the difference between predicate, choice and score questions?
A predicate question returns the probability that a condition is true. A choice question returns one value from options you supply, plus a probability for each option and a confidence value. A score question rates the input against 2 to 10 ordered levels and returns the probability-weighted average of the level indices, so the score can fall between levels.
Is the Decisions API faster than the Responses API?
OpenAI says it returns typed answers about ten times faster than the Responses API, and quoted around 150 milliseconds at its DevDay preview. Measure latency on your own requests, including network and image preparation time.
When should I use Structured Outputs instead of the Decisions API?
Use Structured Outputs with the Responses API when you need to generate an object that follows your own JSON schema, such as extracted fields or a written explanation. Use the Decisions API when your application only needs a probability, a choice from a fixed set or a score.
Does the OpenAI Decisions API support zero data retention?
Yes. OpenAI lists the Decisions API as supporting zero data retention and HIPAA use for eligible customers, with data residency in supported API regions and regional processing in the United States and Europe.



