Skip to content
ginsberg.si

Decision Models · Part 8 of 8

Building or migrating your own decision path

Use a decider when the labels are closed and your code acts on a probability. A copied threshold does not travel, and there is no null answer to escalate to.

17 Nov 2026

The one idea

0.75 / 0.67 / 0.55
top probability behind TypeSafe confidence 0.5at 2 / 3 / 10 options (TypeSafe’s table, vendor-claimed)
$0.01 – $0.10
per million input tokensofficial list prices, output free; re-checked 17 Nov
(N − 1)·T
extra tokens per request, per-question vs sharedat equal price; our arithmetic
4
pplx temperatures, v1 → v1.32.2076, 1.0087, 1.3823, 1.2264 (repo files)

Every figure carries a label: vendor-claimedvendor-claimed, independently measuredindependently measured, our arithmeticour arithmetic, not publishednot published or secondarysecondary. Prices and threshold advice were re-read from the official pages on 17 November 2026.

Decider, LLM, or both

Worked ticket
Send each incoming ticket to billing, technical support or sales; anything else to a general inbox.
Call a decider
Why
  • Closed labels, no text needed, one pass: the decider’s home ground — one forward pass, a probability per option, input-only billing (Part 1).
Failure modes to plan for
  • You will act on a probability: tune the threshold on your own labelled sample, per model and version (Part 2, Part 4, and the next section). A copied 0.8 is a bug.
  • Choice always picks. Add a companion noul (“does any option fit?”) rather than relying on an “other” option or a null that does not exist (Part 2).
  • Changing the model or version moves probabilities: v1.2 → v1.3 needs revalidation (Perplexity); grouping questions changed v1.2’s answers (Part 3).
Hosted deciders that document a prompt this large
TypeSafe Jev 1.14pplx-decider-v1.3pplx-decider-flash-v1.3pplx-decider-v1.2pplx-decider-flash-v1.2OpenAI GPT-6 LunaGemini Decision 1Microsoft-Decision-1
The verdict is a rule of thumb written by us from the earlier parts, not a vendor recommendation. Context limits are each vendor’s documented figures (vendor-claimed, re-checked 17 Nov 2026), except Microsoft’s 32,768, which is OpenRouter’s listing (secondary). Jev’s 64k is the default per-request limit; it also has a 32k per-question limit and an optional 262k long-context header that TypeSafe says is slower and less accurate.

The three tickets land differently. Routing is the decider’s home ground. The refund guardrail is a decider plus escalation: a P(yes) gate with a middle band, and a thinking pass only if seconds are acceptable. Rubric grading with a written reason is a hybrid: the decider gives the score and its probability; a generative model writes the explanation.

A threshold does not travel

Your threshold: 0.80
Raw logits (4 options) — your input
Temperature A
vendor-claimed
A
62.4%
B
19.0%
C
11.6%
D
7.0%
TypeSafe / Perplexity choice0.499 our arithmetichold
Google (p_max)0.624 our arithmetichold
OpenAI / Microsoft— not publishedn/a
Temperature B
vendor-claimed
A
52.2%
B
21.9%
C
15.3%
D
10.6%
TypeSafe / Perplexity choice0.363 our arithmetichold
Google (p_max)0.522 our arithmetichold
OpenAI / Microsoft— not publishedn/a
To pass 0.80 on TypeSafe/Perplexity choice confidence at 4 options, the top probability must reach 0.850 our arithmetic; on Google’s pmax it must reach 0.800. TypeSafe’s own table: confidence 0.5 = top 0.75 at 2 options, top 0.67 at 3 options, top 0.55 at 10 options vendor-claimed.
What each vendor tells you to do
  • TypeSafe: A confidence threshold is not one number; thresholds scale with risk. For a noul, threshold the value itself (start at 0.7 and 0.3 and give the band between its own outcome); for a choice, threshold the probability of the option you will act on. source vendor-claimed
  • Perplexity: Revalidate any thresholds you tuned on v1.2: a newer model can return different probabilities for the same request. Repeated requests occasionally differed in the second decimal, so set thresholds with some margin. source vendor-claimed
  • Google: Confidence equals the top probability (max(noul, 1 − noul) for yes/no). Set thresholds using labelled examples from your own traffic; weigh false positives against false negatives. Yes/no probabilities stay within 0.01–0.99. source vendor-claimed
  • OpenAI: Choice and score return a confidence field (formula not published); include a fallback option such as “other” when categories don’t cover every input. source vendor-claimed
  • Microsoft: Set confidence thresholds on the cost of false positives and false negatives (Part 4); formula not published. source vendor-claimed
The logits are your input. Running the same logits through two temperatures isolates one cause of drift; in real migrations the logits change too, because the weights change (v1 → v1.1 → v1.2 → v1.3 are different checkpoints, Part 6). Temperatures are from each repo’s config file (vendor-claimed); every confidence here is our arithmetic on the published formulas (Part 2). OpenAI and Microsoft return confidences whose formulas are not published, so they are left blank.
  • TypeSafe’s confidence page now recommends thresholding the noul value itself and, for a choice, the probability of the option you will act on — readable as risk (source).

  • Perplexity: “revalidate any thresholds you tuned on v1.2”; repeated requests occasionally differed in the second decimal, so leave margin (source).

  • Google: confidence is the top probability; set thresholds on labelled examples from your own traffic (source).

  • GEV’s 0.8 gate (Part 7) is a raw top probability on its own head and temperature; the card itself says to gate actions with its gold temperatures.

Request design and the bill

6,500
shared (state once): T + Nq tokens
our arithmetic
51,500
per-question: N(T + q) tokens
our arithmetic
7.92×
per-question ÷ shared
our arithmetic
Per request and per day at official list prices (sorted)
pplx-decider-flash-v1.3 · state once · isolated
$0.000065 · $6.50/day
pplx-decider-v1.3 · state once · isolated
$0.000130 · $13.00/day
pplx-decider-v1.2 · state once · joint
$0.000130 · $13.00/day
TypeSafe Jev 1.14 · state once · isolated
$0.000273 · $27.30/day
Microsoft-Decision-1 · state once · unpublished
$0.000273 · $27.30/day
pplx-decider-flash-v1.2 · state × N · per-question-alone
$0.000515 · $51.50/day
OpenAI GPT-6 Luna · state once · unpublished
$0.000650 · $65.00/day
Gemini Decision 1 · state once · isolated
$0.000650 · $65.00/day
Lesson 3’s inequality, with your prices
a⋅N(T+q)>b⋅(T+Nq)a \cdot N(T + q) > b \cdot (T + Nq)
515 > 130
Per-question at price a costs more than shared at price b exactly when the left side wins. With a = $0.01 and b = $0.02 it reduces to T(N − 2) > Nq (Part 3). Our arithmetic.
Per-question billing costs more here. At equal prices, per-question always costs (N − 1)·T more tokens: 45,000 our arithmetic.
Prices are each vendor’s official per-million input rates, re-checked 17 Nov 2026 (vendor-claimed; output is free everywhere). Bills are our arithmetic and ignore splits (a Perplexity split re-counts the state), Luna’s cache rates (Part 4) and web-grounding fees. “Isolation” is the documented contract: v1.2 is joint and grouping changes its answers; Luna and Microsoft do not publish theirs. Cheaper is not the same as equivalent: choose the contract first, then the price.

If you host an open model yourself, the same trade-off becomes compute. Causal Gemma adapters can share the state across questions: ajev-infer’s prefix_cache=True “computes the shared state once for all questions of a request” (README). pplx-decider v1.1’s noncausal layers rule that out (Part 6), so each question re-reads the state.

Escalate without a null

Ask the choice and a noul: “is this about one of our products at all?”. Code reads the choice only when the noul is a clear yes (TypeSafe route.py).

Route: send to the product team
Rule: noul < NO → general inbox; noul > YES and top > 0.7 → product team; otherwise a general agent. Starting cuts 0.7 / 0.3 / 0.7 are TypeSafe’s vendor-claimed; the recruiter row (top 0.81, noul 0.02) shows why the choice alone misleads.
Escalation is a decision your code makes from returned numbers. Every cut here is a starting point from a vendor page or an author’s default, not a recommendation for your traffic.

What “building your own” means in the open

Open paths with published weights
Basegemma-4-26B-A4B-it vendor-claimed
What is trainedLoRA r32 / α64, one epoch, lr 3e-5 vendor-claimed
Training dataabout 68k questions vendor-claimed
Computeone RTX PRO 6000 vendor-claimed
Readoutoption-label logits from the base’s own head, per-type temperature vendor-claimed
Servingajev-infer: POST /v1/systemone (Jev wire format), vLLM vendor-claimed
Shared-prefix cacheyes — prefix_cache=True computes the state once per request vendor-claimed
Board 0.4.1Full 55.29 (=17) independently measured
A /v1/systemone request in the Jev wire format (ajev-infer)
POST /v1/systemone
{
  "state": {
    "ticket": "I was charged twice for order #1182 and nobody answers my emails.",
    "tier": "gold"
  },
  "questions": {
    "q1": {
      "type": "choice",
      "instructions": "What is the ticket about?",
      "criteria": {
        "billing": "charges, invoices, refunds",
        "delivery": "shipping and tracking",
        "account": "login and settings"
      }
    }
  }
}
Returns a probability for every option, in the Jev wire format. No text is generated: the option-label logits are softmaxed and divided by a per-type temperature. Prompts over --max-model-len (default 131,072) are refused with HTTP 422, not truncated. ajev-infer README vendor-claimed
The request mirrors the README’s own Python and curl examples (same state and questions). “Building your own” in the open means a LoRA or a fine-tune plus a documented readout behind a Jev-shaped endpoint — not a reconstruction of Jev, whose architecture is unpublished. Board rows are the Index’s runs at commit 44be00f; FlexDM’s GPU-hours are our multiplication of its card’s four GPUs × about 14 h.

Only pplx-decider-v1.1 publishes the whole conversion (code, config, data manifest, job script). The Gemma adapters publish weights and most of the recipe; GEV publishes neither its training-set size nor its compute. Whatever path you pick, measure it on your own labelled sample before trusting a card’s score — and compare with the board, not across editions (Part 5).

Series complete

A decision model returns calibrated probabilities over typed questions after prefill, with no generated text; documented APIs bill input only.
Jev $0.042 / MTok, output freevendor-claimed
1 of 8 parts revisited.

I tuned 0.8 on pplx-decider-v1.2. Can I keep it on v1.3?

Answer. Not without checking. Perplexity says to revalidate thresholds tuned on v1.2: v1.3 is a different checkpoint with a different fitted temperature (1.2264 vs 1.3823) and a different request contract (isolated vs joint).

Is Google’s confidence 0.8 the same as TypeSafe’s 0.8 for a four-option choice?

Answer. No. Google’s is the top probability (0.8). TypeSafe’s 0.8 needs a top probability of 0.85 at four options: 0.8 × (1 − 1/4) + 1/4 (our arithmetic).

How do I return “none of the above”?

Answer. There is no null answer. Add a companion noul (“does any option fit?”), a catch-all option, or a threshold on the top probability — and route the middle band to a person or a second model.

Sources

All 24 links live-checked 17 November 2026 (about 9 AM ET). Prices, formulas and threshold advice are each vendor’s own pages; open-model facts are the authors’ cards and repos, and board rows the Index’s commit 44be00f, as in Parts 5–7.