Announced at DevDay 2026, the Decisions API takes context and a list of choices, then returns exactly one of them — no free text, no JSON schema, no parsing. Here is what the primitive actually is and where it fits.
Structured Outputs enforce a JSON schema; the Decisions API selects one discrete choice. When the decision is categorical, the difference is not just speed — it is the shape of the contract.
Luna is OpenAI's smallest, most cost-effective model, purpose-tuned for classification. Sub-150ms decisions change what you can put in the hot path — here is how to measure and budget for it.
Agent loops fail in predictable ways: free-text tool names, hallucinated arguments, parser errors. Routing the next action through the Decisions API makes the loop deterministic.
A model that cannot write outside a declared set cannot hallucinate a choice that was never offered. That is the Decisions API guarantee, and it simplifies production reasoning.
The Decisions API accepts text and image context in the same call. Screenshot triage, visual moderation, and image verification become one constrained decision.