OpenAI Decisions API Tutorial for Building Decision Agents

AI-generated summary of reporting by Analytics Vidhya Gen AI Blog. Read the original for the full story.

Why it matters

Developers can now replace hand-built confidence thresholds and evaluation pipelines with OpenAI's Decisions API, which returns structured verdicts (probability, choice, or rubric score) instead of open-ended text.

Read this as

OpenAI has a new tool called the Decisions API that lets software make reliable yes/no-style judgments instead of writing freeform answers. It can return a probability that something is true, pick one option from a list, or grade an answer against a scale. The article shows it checking a delivery photo, classifying a news headline, and grading an exam answer. Developers building support-ticket triage or automated review systems would use it.

OpenAI's Decisions API (endpoint /v1/decisions) targets classification-style automation, escalation checks, routing, and grading, at $0.10 per 1M input tokens with no output or cache charges, and claims to be 10x faster than the general Responses API. It currently supports only one model, gpt-6-luna, which is a real lock-in and capability risk. Teams running support triage or content moderation gain the most; those needing generation or tool use still need the Responses API.

The Decisions API is a POST endpoint (/v1/decisions) taking 'model', 'input', and 'questions' parameters, where 'questions' acts like a system prompt with a 'type' field: predicate (condition + probability), choice (probabilities per option plus a pick), or score (ordered levels with a probability-weighted average, e.g. Incorrect/Partial/Correct scored 0/1/2). It accepts text, images, or both, runs only on gpt-6-luna, and costs $0.10 per 1M input tokens with no output or cache charges, though long-context inputs cost more. Demo results: delivery-photo predicate returned probability 0.00 (manual review), headline choice returned 'markets' at 0.52 confidence, and grading returned a weighted score of 2.0/2.0.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

OpenAI Decisions API Responses API gpt-6-luna gpt-6-astra Jev Vellore Institute of Technology

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading