On October 6, 2026, OpenAI's changelog announced the Decisions API in beta. It turns text and images into typed answers.
Endpoint: POST https://api.openai.com/v1/decisions
Model: gpt-6-luna is the only supported model
Question types: predicate (a probability from 0 to 1), choice and score
Price: $0.10 per 1M input tokens. The guide says you pay only for input tokens.
Status: public beta. The guide says general availability is expected "in the coming weeks".
Prerequisites
An OpenAI API key in OPENAI_API_KEY
The OpenAI SDK, updated to the version the Decisions guide names
Steps
Update the OpenAI SDK to the version the guide names.
Send images as inline base64 data. The guide says hosted image links and file_id inputs are not supported.
Give every question a unique name. The response repeats it back.
Follow the first Python sample in the official Decisions guide. It sends one product photo with one predicate question and prints the probability that comes back.
Test it
Run the guide's first sample with a photo of your own. It should return a probability between 0 and 1, or an answer of type refusal.
Not confirmed
The exact date of general availability is not stated.
Rate limits specific to the Decisions API are not stated in the guide.
The guide says regional processing premiums and long-context multipliers may apply, but gives no amounts.
The guide's code sample is not reproduced here because it could not be copied exactly. Use the one on the official page.