decision-4b, decision-9b, and decision-27b — all reachable through the same
OpenAI-compatible /v1/decisions endpoint.
Anatomy of a request
A request has three parts:model— which decision model answers, for exampledecision-9binput— the text the questions are aboutquestions— up to 64 of them, all asked about the same input
name (an identifier you choose, echoed back in the
answer), instructions (the question itself), and a type. Types are built
into the model so it reports its probability over
the type’s fixed set of answers.
Use
choice for unordered categories (departments, topics) and score for
ordered ones (severity, urgency, quality). A score of 1.4 over levels
["routine", "elevated", "critical"] reads as “elevated, leaning critical.”
Example
name:
Working with the answers
Decisions are probabilities. You have to pick the threshold to interpret them. A moderation gate might block above 0.9, send 0.5–0.9 to human review, and pass the rest. These probabilities are one of the advantages over text output.choice and score answers carry a confidence, which is just a convenient
way to extract the probability of the chosen answer.
Ask several questions in one request when they share the same input: the
model reads the input once, so additional questions are nearly free.
Choosing a model
All three sizes answer faster than generating text; they differ in accuracy and speed relative to each other.
The sizes tend to agree on easy calls and diverge on hard ones. On the
escalation example above, “should this be escalated?” gets 0.38 from the 4B,
0.66 from the 9B, and 0.89 from the 27B.
The sizes also compose: for instance, you can run the
decision-4b over
everything and route uncertain answers — a predicate probability near 0.5, or a
choice with no clear winner — to a larger model.
