Google launched Gemini Decisions API for applications that need a bounded choice instead of generated prose. It scores yes/no checks, selections from a fixed list, or ordered rubric levels against shared text, images, audio, video or PDFs. One request can ask up to 1,000 independent questions of the same input. Responses include probabilities and a confidence value so code can route uncertain cases for review.
- Interface: Get a Gemini API key, install
google-genai3.2 or later, and callclient.decisions.create(model="gemini-decision-1", input=..., questions=...)with API versionv1beta. JavaScript and REST examples are in the API guide. The yes/no question type is namednoulin the actual API. - Good fit: Route a support message to a queue and check whether it reports damage in the same call. A rubric can score severity; the returned score is a probability-weighted average, so inspect the level probabilities when the distinction matters.
- Cost: Google’s pricing page lists a free tier and $0.10 per million input tokens on the paid tier, with no generated output tokens. Shared input is counted once per request; each question’s instructions and criteria add input tokens. Google says free-tier content may be used to improve its products, while paid-tier content is not.
- Limits: Choice questions always distribute probability across the supplied options, even if none fits. Add an explicit “other” option or a separate scope check. The API is currently on the Gemini Developer API
v1betawith this model only; it has no context caching or Batch API. Google’s latency and benchmark claims come from its launch materials, not an independent test here.
This is useful when an application needs a fast, typed decision over the same evidence for several rules. It still needs thresholds, fallback handling and evaluation on the application’s own examples.