Deep Dive · Decision Models

Gemini Decision 1: A Smart If-Statement That Tells You How Sure It Is

No generated text, no thinking tokens, no parsing: ask a typed question over text, image, audio, PDF or video, get a probability and a confidence score back in a single pass. The model is cheap enough to run on every tool call — and the four mistakes in this video are the price of treating it like an LLM.

Gemini Decision 1 — video thumbnail
Video: Prompt Engineering 18:10 13 November 2026
decision models Gemini Decision 1 classification agents

🎯 What the model is 0:00

Gemini Decision 1 is a specialised multimodal model behind Google's new Decisions API. You give it an input and a set of typed questions; it returns probabilities and a confidence score, and generates no text at all.

PropertyValue
OutputProbabilities plus confidence — never text
Output tokensAlways zero; only input tokens are billed
InputsText, images, audio, video, PDFs — and mixtures in one request
Questions per requestMany, scored in parallel against the same input
Who elseTypeSafe's Jev started the category in September; OpenAI also ships a Decisions API
"A smart if-statement that tells you how confident it is" is the best one-line description of the class, and it names the actual contract: your code branches on a number, not on a sentence it has to parse. Everything else in this article follows from taking that contract seriously.
Disclosure: the author works at Google and says so; the codelab is his own unofficial project, created 11 November with the quickstart, notebook and three apps. The video is a product explainer by an employee — which is why the API claims were checked against Google's documentation, and where the documentation disagrees or adds limits, that is stated.

⚖️ Why an LLM is a bad fit 1:44

Cost of asking an LLM a yes/no questionConsequence
Thinking tokensYou pay for reasoning you then ignore
Output tokensYou pay to generate a sentence you must parse
LatencyYou wait for generation
ParsingBrittle code that breaks when the model phrases things differently
The real argument is not cost, it is the interface. A branch in your program needs a boolean; an LLM gives you prose and a parsing problem. A decision model gives you the boolean and a probability, which means the boundary between "model judgement" and "business logic" becomes explicit instead of string-matching.

🧱 Three question types 3:11

TypeWhat you get backTypical use
Yes/noA probability, and a confidence scoreIs this a receipt? Is the order confirmed? Is there alcohol on this bill?
ChoiceThe winner plus the probability of every optionWhich department handles this? Which cue does this belong to?
ScoreA number on an ordered rubric, with a legendHow frustrated does this customer sound?
The documentation adds two details worth designing around: each question can carry descriptions of what its options mean — for yes/no, a true description and a false description — and every question is scored independently against the same input in one forward pass, so asking more questions costs tokens but barely costs latency.

He demonstrates all three in a single call: a customer message about a cracked mug, a yes/no for damage, a choice for the support queue, and a score for frustration. One input, one pass, three answers.

🔤 The word "noul" 4:14

He says the three primitives will look familiar to anyone who used TypeSafe's Jev. They will — and one of them is familiar by name.

PrimitiveJev's vocabularyGemini's API field
Yes/no probabilityNoulQuestion type noul
Pick from a listChoiceQuestion type choice
Score on a rubricScoreQuestion type score
Google kept TypeSafe's coined word. The documentation for Gemini's yes/no question type calls it noul — the term Jev introduced for a probability over a proposition. Whatever one thinks of the naming, it is the clearest sign that decision models have settled into a shared vocabulary in the space of two months, which is usually how a category becomes real.

He is also right that the category got crowded quickly: Jev in September, an OpenAI Decisions API, and now Google's. Three implementations of the same three primitives within a quarter is convergence, not coincidence.

📥 Inputs and multiple questions 8:43

The interesting engineering property is that only the input changes between modalities — the call shape stays identical.

DemoQuestion askedResult
Receipt photoIs this a receipt? Is there alcohol on it?High probability yes for the first; low probability but high confidence for the second
Caller audioDoes the caller want a human?Hands off to a person without transcribing first
Claim form PDF plus receipt photoDo the two totals match?Yes for the matching pair, no when the total is swapped
Screen recording of a checkoutWas the order confirmed by the end?Decision on video directly
The alcohol example teaches the single most misunderstood thing about the API: "probability of yes is low, confidence is high" is not a contradiction — it means the model is confident the answer is no. If you compare one number where you should read two, your thresholds will fire in exactly the wrong places.
Documented input limitsValue
Inline dataUp to 100 MB per request, 50 MB for PDFs
URI inputsFiles API URIs, or public/signed HTTPS URLs up to 15 MB each
BillingShared input billed once; each question adds tokens for its own instructions and criteria

💰 Price, and where the saving comes from 6:17

ItemVerified value
Input price, paid tier$0.10 per million tokens, all modalities
Free tierFree of charge
Output priceNot applicable — zero output tokens
Context cachingNot available
Batch APINot supported

His cost comparison: routing one message to one of four queues cost about $10 per million calls with the decision model, against roughly $170 per million calls with Gemini 3.8 Flash using structured output. Those are his own test figures rather than published ones — but the direction is arithmetic: at a tenth of the input price with no output tokens at all, a large multiple is expected.

His most honest observation is that the saving does not come from sending fewer tokens. Each question adds roughly fifty tokens of its own instructions and criteria, so the decision call can send more input than the LLM equivalent. The saving comes from the price per token and from generating nothing — which is precisely why the "1000 questions in one call for half a cent" demo works.
Two documented limits he does not mention, and both matter at scale: there is no context caching, so a long shared document is re-billed on every request rather than reused, and batching is not supported, so you cannot schedule bulk classification for a discount. At $0.10 per million that is cheap — but a 50-page PDF evaluated a thousand times a day is still a line item.

🧭 Where it actually fits 4:36

He rejects the canonical support-ticket-classification demo as the place where most value lives, and offers three better ones.

UseWhy it is the right toolWhat he showed
Small decisions inside an agent loopWhich tool to call, whether the task is done — currently made with thinking tokensPicking the right tool from 24 on every request in his test
A cheap gate before an expensive callScore retrieved chunks and forward only the useful ones10 chunks, one question, the 3 relevant ones on top
Checks you used to samplePrompt-injection screening on every tool output, all of itRunnable at this price on every call, not a sample
The third use is the one with security consequences. A classifier that costs nothing per call changes a sampling decision into a policy: you no longer choose which tool outputs to inspect, you inspect all of them. That is the same argument the safeagents review made about unattended agents — cheap checks make checks mandatory.

The re-ranking use deserves a caveat he does not give: as a re-ranker it competes with purpose-built cross-encoders that are cheaper still and often more accurate on relevance. The decision model's advantage is that you can ask a question about the chunk, not just measure similarity — "does this chunk contain the customer's order number" rather than "is this chunk similar".

❌ Mistake 1: no way out 11:38

His router sends support messages to one of three departments. It works on the test cases. Then he asks where the weather in Paris is good, and it picks technical support with 92% confidence.

Why it happenedWhat confidence actually means
A choice question always returns one of your options, even when none fitsIt tells you which option is closest — not whether any option is right
This is the single most important limitation in the whole design, and it is structural rather than a bad day at the model. High confidence is a statement about the ranking of your options, not about the appropriateness of the set. The fix is one line — add an "other" option with a description of what belongs there — and with it the same question routes to other. Every closed-set classifier in production should have that escape hatch, whether it is a model or not.

❌ Mistake 2: dumping the policy 12:16

The expense auditor sent the entire expense policy along with a receipt photo and asked whether the tip exceeded 20%. On a receipt with a 15% tip, the model answered yes with high confidence.

DiagnosisFix
The receipt was dated after the trip, breaking a different rule in the policy — and that failure leaked into the tip answerRemove the irrelevant policy text; the same question then answers correctly
Arithmetic asked of a probability modelCompare the numbers and check the dates in code; let the model only read the photo
"Send only what the question needs" is in Google's own documentation, and this demo shows why it is not a style preference. A decision model does not reason step by step and then answer; it scores the question against the whole input, so unrelated context can bleed into the answer. That is the exact opposite of the instinct trained by chat models, where more context usually feels safer.
The deeper rule: do arithmetic in code, not in a probability model. Asking a scoring model whether 15% exceeds 20% is asking it to be a calculator it was never built to be — and getting a confident wrong answer is the predictable outcome. Cascade small, single-purpose decisions instead: is this a receipt, is it itemised, is there alcohol, does the total match.

❌ Mistake 3: one big question 14:11

His browser agent asked a choice question — "what should the agent do next?" — over the checkout page. It kept stopping at step two.

ObservationMechanism
The agent stalls when several actions are equally validThe probability mass splits across options, so no single answer clears the cutoff
Cookie banner present and card field empty at the same timeTwo legitimate next steps, confidence halved for each
Replacing it with five small yes/no checksOrder decided in code; the agent completes the checkout in four actions
This is the most transferable lesson in the video, and it inverts LLM intuition. With a chat model, a bigger question plus more options often works. Here, asking several plausible options at once guarantees low confidence for the winner — because confidence is the probability of one option, and you have just given the model more places to put it. Small questions asked in parallel, composed in code, is the shape that works.

The follow-on bug is even better: one of the five checks asked whether the card field was empty, and the field displayed grey example digits, which the model read as filled. The fix was to define "empty" in the question. That is the second half of the rule — describe exactly what you mean, because the model cannot infer your definition of a placeholder.

🧪 Mistake 4: synthetic data only 16:03

The voice agent decided from raw audio whether the caller had finished speaking, wanted a human, and sounded frustrated. It worked cleanly on synthetic voices.

Test setBehaviour
Synthetic voicesClean handoffs, no surprises
His own voice, with a stumble and a restartFlagged the clip — useful, and only visible with real data
The rule he draws from it is the oldest one in evaluation and still the most violated: test on your own data. A synthetic set is generated by the same kind of process that generated your prompt, so it shares your blind spots; real audio, real receipts and real edge cases are where the calibrated probabilities turn out to be miscalibrated.

🎚 The cutoff pattern 10:32

ConfidenceAction
Above thresholdYour code acts automatically
Below thresholdEscalate to a person, or to a bigger model
The whole architecture is "one input, a few questions, and an if statement" — and the threshold is where your risk appetite lives. That is a much better place for it than a prompt: it is a number in your code, it can be different for every question, and it can be measured against outcomes and tuned. The mistake to avoid is treating confidence as accuracy — it is the model's own estimate, and needs the same validation as any other output.

Note the interaction with the earlier mistakes: the same threshold that makes a good router safe will make a badly-scoped question stall, because a split probability looks exactly like genuine uncertainty. Threshold tuning cannot fix a badly posed question.

🚧 Documented limits 16:52

LimitConsequence
It cannot explain an answerNo rationale, no citation, no chain of thought — the output is a number
Closed sets always pick somethingWithout an "other" option, every input gets routed somewhere
Context can bleed between questionsIrrelevant input text can corrupt a specific answer
No context cachingLong shared documents are re-billed per request
No Batch APINo bulk discount for offline classification
Safety blocksReturns an HTTP 400 error instead of answers, so handle it as a failure, not a decision
The absence of explanations is the limit that decides your architecture. Any decision that might need to be defended to a customer, an auditor or a regulator cannot be made here alone — you either keep the LLM for those, or you log the inputs and build the explanation separately. That is why the honest framing is "add this next to your LLM", not "replace it".

🧮 When to use it, and when not 17:18

Use a decision model when…Keep the LLM when…
The answer is one of a fixed setThe output is text a human reads
It happens many times, and oftenThe task needs multi-step reasoning
It has to be fast, inside a loopThe decision must be explained
You want a confidence threshold in codeYou need the model to plan or write
You are screening everything rather than samplingThe answer needs verifying against sources
"Give every choice a way out, send only what the decision needs, ask small questions, and test on your own data — not just synthetic data."
All four of his rules are really one rule: a decision model is a component, not a conversation. Treat it like a classifier with a probability output and all four follow — closed sets need a fallback, inputs need scoping, questions need to be small and unambiguous, and calibration needs real data. Treat it like a chat model and you get a 92%-confident routing decision about the weather in Paris.

✅ Claims checked

ClaimVerdictEvidence
Google released Gemini Decision 1 with a Decisions APICorrectDocumented API with a dedicated model page
It returns probabilities and confidence, never textCorrectOutput token usage is always zero; only input tokens are billed
Three question types: yes/no, choice, scoreCorrectDocumented as noul, choice, score
Handles text, image, audio, PDF and video, and mixes themCorrectInline up to 100 MB per request (50 MB PDFs); URI inputs up to 15 MB
Multiple questions run in one pass with flat latencyCorrectQuestions are scored in parallel and isolated from each other
Price is 10 cents per million input tokens, with a free tierCorrect — $0.10 per 1M input tokensOutput price not applicable; free tier free of charge
Cost per million routings: about $10 versus $170 for FlashHis own measurementDirection consistent with list prices; not a published benchmark
The saving comes from lower price and zero output tokens, not fewer input tokensCorrectEach question adds its own instruction and criteria tokens
TypeSafe's Jev started the category, and OpenAI has a Decisions APICorrectJev in September; Google even keeps Jev's term noul for yes/no
Docs recommend describing each optionCorrectChoice options take descriptions; yes/no takes true/false descriptions
A choice question always picks one option, even if none fitsCorrect, and structuralDemonstrated with the weather question routing to technical support at 92%
Irrelevant policy text corrupted a specific answerPlausible and demonstratedRemoving the unrelated rule fixed the tip answer
Multiple valid options split confidence and stall the agentCorrect mechanismTwo valid steps halved each probability below the cutoff
It cannot explain an answerCorrectNo text is generated at all
Context caching and Batch APINeither is availableBoth marked unavailable/unsupported on the pricing page
1,000 questions about one input cost about half a centHis measurementConsistent with $0.10 per million input tokens plus per-question tokens

Basis note. Built from the full 18:10 recording and checked against Google's Decisions API documentation, the Gemini Decision 1 model page and the pricing page. The author works at Google and discloses it; the codelab is his own unofficial project (created 11 November). Two documented limits he does not mention — no context caching, no Batch API — are included because they change the economics for bulk and long-document use, and the cost comparison is labelled as his own test rather than a published benchmark.

🔑 Key takeaways

  • A decision model is a smart if-statement that reports its confidence: probabilities in, no text out, nothing to parse.
  • Zero output tokens is the design, not an optimisation — it is why the latency and the price both collapse.
  • Three primitives are now industry-standard: yes/no, choice, score — and Google kept Jev's word noul for the first one.
  • Ask many questions in one pass: shared input is billed once and latency stays nearly flat, so breadth is cheap.
  • A closed set always returns something. Without an "other" option, a weather question confidently becomes a technical support ticket.
  • High confidence means a good ranking, not a valid set — two different claims, and only the first is measured.
  • Send only what the question needs. Unlike a chat model, unrelated context can contaminate a specific answer.
  • Do arithmetic in code, not in a probability model. "Is 15% above 20%" is a calculator question, and you will get a confident wrong answer.
  • Replace big questions with small ones. Several equally valid options split the probability mass and stall your agent.
  • Define your terms in the question: grey placeholder digits are not an empty field unless you say so.
  • Confidence thresholds belong in your code, not in a prompt — one per question, measured against outcomes.
  • Cheap classification makes screening mandatory: injection checks on every tool output rather than a sample.
  • No explanations means no alone-decisions that must be defended later; keep the LLM for those or log the evidence.
  • Two limits change the bill at scale: no context caching for long shared documents, no batch discount for bulk work.
  • Test on your own data. Synthetic voices, receipts and pages share the blind spots of whatever generated them.

🔗 Resources

Basis note. Disclosure is the author's own and is repeated here because provenance matters for a product explainer by an employee. Everything checkable was checked: pricing, question types, input limits, and the unavailability of caching and batching. The cost comparison and the "1,000 questions for half a cent" figure are his measurements and are labelled as such.

⏱ Timestamp index

0:00What a decision model is
0:59Browser agent and expense auditor demos
1:44How it differs from an LLM
3:11Yes/no, choice and score
4:14Familiarity with Jev
4:36Three places where it matters
4:59Picking one tool from 24
5:14A cheap gate before an expensive call
5:41Screening every tool output
5:571,000 questions, half a cent
6:17The price, and why it surprised him
6:43$10 versus $170 per million routings
7:23Building with the API
8:43Choice and score in the same call
9:11Images
9:45Audio
9:54Mixing a PDF and a photo
10:19Video input
10:32The confidence cutoff
11:00The mistakes begin
11:3892% confident and completely wrong
12:02Adding the other option
12:16The expense auditor and the policy dump
13:05Removing the policy text fixes the answer
14:11One big question splits confidence
14:48Two valid next steps, half the probability each
15:11Five small checks instead
15:40Small questions, precise definitions
16:03The voice agent and real audio
16:52It cannot explain an answer
17:08When to use it instead of an LLM
17:30The four rules
☰ View all