← All posts

Decision Models vs LLMs: Lessons from Testing Jev

This autumn I tested Jev, TypeSafe AI's decision model, as the first stage of a text classifier that ran on a frontier LLM. The hybrid stayed an experiment, but it worked well, and it changed where I think an LLM belongs in a pipeline.

Jev does not write text. It takes a text and a question with a fixed set of answers, and returns a probability for each answer in a fraction of a second. Many steps in a product only need that: route a ticket, label a document, check a rule. This post explains how decision models work, what the first independent studies found, which models compete with Jev, and what my test showed.

In short

  • A decision model answers typed questions about a text (one of several options, yes or no, a score on a scale) with probabilities, in one forward pass, and writes no prose.
  • Jev launched in September 2026 at $0.042 per million input tokens, with output free. Open-weight alternatives such as Baseten's mammoth-1 and elephant-1 followed within weeks.
  • Independent studies find decision models far faster and usually cheaper than LLMs, with accuracy close to theirs on decisions the text can settle, and weaker on specialist knowledge and long chains of steps.
  • In my test, a cascade that asked the decision model first and the LLM only below a confidence threshold matched the LLM's accuracy, while most texts never reached the LLM.

What a decision model is

TypeSafe calls Jev the first "System One" model, a term from Kahneman's description of fast, intuitive thinking. Its documentation says such a model "returns typed decisions and probabilities rather than generated text", and that System One models "do not write replies, produce code, or generate explanations of their reasoning."

Each request carries a state (text, JSON or an image) and one or more questions defined in code. Jev answers four question types:

  • Choice. Pick one of up to 255 options. Returns the choice, a probability for every option and a confidence.
  • Score. Place the state on an ordered scale of described levels.
  • Noul. The probability, from 0 to 1, that a statement is true.
  • Box. Locate something in an image; added in Jev 1.14.

All questions in a request are answered independently against one reading of the state. For a Choice with n options, confidence is (pmax − 1/n) / (1 − 1/n): 1 when all the probability sits on one option, 0 when it is spread evenly.

Confidence against the probability of the chosen option, for 2, 4, 10 and 255 options: straight lines from 1/n to 1; at a probability of 0.6, confidence is 0.20 with two options and 0.56 with ten 0 0 0.25 0.25 0.5 0.5 0.75 0.75 1 1 probability of the chosen option confidence 0.20 0.56 all mass on one option n = 2 options n = 4 options n = 10 options n = 255 options
Figure 1. Jev's Choice confidence against the probability of the chosen option, for n options. The same probability means very different confidence: 0.6 gives 0.20 with two options and 0.56 with ten. Set a threshold on one of the two, consistently.
Two pipelines. Generative LLM: prompt with instructions, text generated token by token, then parsed and validated. Decision model: state plus typed questions, one forward pass, probabilities per option. Generative LLM Prompt instructions, labels, examples, input text Generate tokens one at a time, sampled; seconds per answer Parse and validate "Category: invoice" or a format error Decision model State + questions input text and typed options, in code One forward pass scores every option; no text is written Typed answer invoice 0.94, receipt 0.05, other 0.01; confidence 0.91 The decision model's output always matches the schema; it can still be the wrong option.
Figure 2. A generative LLM writes its answer and the application parses it; a decision model scores a fixed set of options. Illustrative probabilities.
Generative LLMDecision model
OutputText, which the application parsesA typed value and a probability for each option
Answer spaceOpenFixed in advance; up to 255 options per question in Jev
How it answersToken by tokenOne pass for all questions
UncertaintyToken probabilities, where the API exposes themProbabilities trained to be calibrated
Typical failureA wrong answer, now and then a refusal or a malformed replyA wrong answer in a perfectly valid format
ExplanationCan write oneNone

Asking good questions

A request reads like a typed function call. This example, adapted from TypeSafe's quickstart, asks one Choice question and returns the answer with its probability; the model version is pinned so that answers do not change when a new release ships:

from typesafe_sdk import Choice, TypeSafeClient

KIND = Choice(
    instructions="Which kind of document is this?",
    criteria={
        "invoice": "Asks for payment for goods or services",
        "receipt": "Confirms that a payment was made",
        "contract": "Terms agreed between parties, usually signed",
        "other": "Anything else",
    },
)


def decide(text):
    with TypeSafeClient(model="jev-1.14.0") as client:
        response = client.system_one(state=text, questions={"kind": KIND})
    answer = response.answers["kind"]
    return answer.choice, answer.probabilities[answer.choice]

The response carries one answer per question. TypeSafe's documentation shows this one for a support ticket routed to a department:

{
  "model": "jev-1.14.0",
  "answers": {
    "department": {
      "type": "choice",
      "choice": "returns",
      "confidence": 1.0,
      "probabilities": {
        "returns": 1.0,
        "shipping": 0.0,
        "billing": 0.0
      }
    }
  },
  "usage": {
    "input_tokens": 357,
    "output_tokens": 38
  }
}

There is nothing to parse: the answer is a key in a dictionary, and the probabilities are ready for a threshold.

The quality of the answer depends on the question more than on anything else. TypeSafe's page on "model jaggedness" lists the known failure modes, and its fixes double as a style guide:

  • Write each option as a test. Jev reads literally, so the criteria should say exactly when an option applies.
  • Send only what the question needs. Large states full of irrelevant detail hurt accuracy: "Filter first; send only what the question needs".
  • Split compound questions. Ask several atomic questions in one request and combine the answers in code.
  • Keep numbers and dates in code. "Keep the arithmetic in code"; extract date components and compare them in code.
  • Check option order. Reorder the options and confirm the answer stays the same.

How it works

TypeSafe has not published Jev's architecture beyond naming its training method, "Reinforcement Learning for Calibrated Decisions (RLCD)". Two outside sources explain how a model like it is built, and they agree.

Oumi's engineers describe a decision model as "really just an ordinary LLM with two changes". It is trained to answer by scoring a fixed set of option tokens at one position, and at serving time it "reads one document once and answers every question about it in a single forward pass". As they put it: "Nothing gets generated; instead you're just asking 'what's the probability of each option.'" Calibration comes from a temperature, "a single number you divide the logits by before the softmax", tuned on held-out data.

Duan et al. reached the same design from the academic side. Their open decision models "internalize an open-weight LLM's own reasoning into a single-pass first-token decision": the answer distribution a Qwen model reaches after reasoning becomes the training target for the same model answering at once.

Readout: the input text and a question with options A, B, C go through a transformer once; only the logits of the option tokens are kept, divided by a temperature and passed through a softmax to give probabilities. Input text of the document question: which type? options: A invoice B receipt, C other readout position ▸ Transformer one forward pass logits at the readout, option tokens only A B C ÷ temperature, softmax 0.94 0.05 0.01 Every other question about the same text reuses the same pass, so extra questions add little latency.
Figure 3. The readout idea described by Oumi and by Duan et al.: score only the option tokens at one position, then calibrate with a temperature.

Thoughtworks' Ben O'Mahony summed it up: "There's no major innovation here." The readout is an old technique. The new parts are a typed API, calibration as the training objective and a price per input token.

TypeSafe's claims against the evidence

ClaimSourceEvidence
"End-to-end response time is 70ms-500ms"Launch postEvery study that timed it found it much faster than the LLMs it was compared with.
$0.042 per million input tokens; "Output tokens are free"Model documentationFar cheaper than real-time LLM calls; one study found no advantage over a mid-tier LLM at batch prices.
"The model never makes type errors"Launch postTrue of the format by design; the chosen option can still be wrong.
Calibrated probabilitiesDocumentationWell calibrated on many benchmarks, overconfident on others. The documentation adds that calibration "does not guarantee that an individual answer is correct."
64k tokens per request, 32k per questionModel documentationA long-context mode raises both to 262k and is, in the documentation's words, "slower and less accurate".
"Jev is not trained on customer requests or responses"Model documentationHosted API only; zero data retention is available to enterprise customers.

Only input is billed, so the cost of a decision is the size of the text plus the question. At the list price:

Input per callPer callPer million calls
500 tokens$0.000021$21
2,000 tokens$0.000084$84
10,000 tokens$0.00042$420
32,000 tokens$0.0013$1,344

32,000 tokens is the default limit for one question. A typical page of text is a few hundred to a thousand tokens.

What the independent studies found

Six preprints compared Jev with LLMs within seven weeks of its launch:

Timeline from 15 September to 31 October 2026: Jev launch, six independent studies, Thoughtworks and Oumi articles, Jev 1.14 and Baseten's open models 15 Sep Jev launches TypeSafe 24 Sep Rubric-judge study Rao and Callison-Burch 29 Sep Benchmark on 37 datasets Deußer et al. 2 Oct JEVal and SII-Decision models Duan et al. 5 Oct Seven political science replications Denney and DiGiuseppe 12 Oct Practitioner view Thoughtworks 13 Oct Adversarial safety judging Li et al. 14 Oct Jev 1.14, with Box questions TypeSafe 19 Oct How to build a decision model Oumi 21 Oct mammoth-1 and elephant-1, open weights Baseten 31 Oct Fourteen decision models as judges Subramanian
Figure 4. Seven weeks of decision models, 2026. Filled points are releases; open points are studies and articles. Dates are first publication.
  • Broad benchmark. Deußer et al. ran Jev 1.13 zero-shot on 37 datasets, "346,009 requests for under US$10". It reached 95 to 99 per cent on IMDB, SST-2, HellaSwag and ARC and beat Qwen3.8-27B on 27 of 37 datasets. All three models they tested degraded on "low-resource languages, fine-grained or noisy labels, and rubric-based judgments".
  • Rubric judges. Rao and Callison-Burch compared Jev and Perplexity's Decider with flash-tier LLM judges, which "cost 16 to 357 times as much and take 5 to 350 times as long". Each decision model trailed them significantly "in at most 6 of 27 comparisons". Both kinds of judge mostly erred on the same items, so cascades with an LLM fallback "gained a mere 2.7 points at best" and mainly saved cost.
  • Composed systems. Duan et al. built JEVal, 11,257 instances from 36 datasets. Decision models are "most competitive when decisions can be resolved from available evidence", but "can often identify the most likely outcome while substantially overstating its probability". On τ-bench agent tasks, faster decisions cut episode time and lowered task success.
  • Social science coding. Denney and DiGiuseppe replicated seven political science studies. Jev "matches, or comes close to" both LLMs they tested, with "no cost advantage over GPT-6 Luna at OpenAI's batch prices".
  • Adversarial safety judging. Li et al. found Jev the most robust judge on input moderation, but it caught "only 62% of phishing emails, against 77-81% for the GLM judges", and flagged the most benign requests, 27 per cent.
  • Fourteen decision models as judges. Subramanian found five decision models statistically indistinguishable from GPT-5.6 without reasoning on all five pairwise and best-of-4 benchmarks, and "a well-calibrated System-1 first stage matches Opus on LLMBar while escalating 17% of items". An instruction injected into the judged text reversed "0-5% of the correct verdicts of five models but 17-49% for the other nine."
Range bars on a log scale: LLM judges cost 16 to 357 times as much as decision models and take 5 to 350 times as long Flash-tier LLM judges relative to the decision models (times) 1× 10× 100× 1000× Cost 16× 357× Time to answer 5× 350× 1× = same as the decision model
Figure 5. How much more flash-tier LLM judges cost and how much longer they take than the two decision models, across the panels in Rao and Callison-Burch (arXiv 2609.29769). Log scale.
Range bars: an injected note reversed 0 to 5 per cent of correct verdicts for five decision models and 17 to 49 per cent for the other nine Correct verdicts reversed by a note injected into the judged text (%) 0 10 20 30 40 50 Five decision models 0-5% The other nine 17-49%
Figure 6. Robustness to an instruction injected into the judged text, across 14 decision models, from Subramanian (arXiv 2611.00505). Robustness belongs to the model, not to the design.

The pattern is consistent. Decision models match or come close to LLMs on bounded decisions that the text can settle, at a fraction of the cost and latency. They fall behind on specialist knowledge, holistic judgement and long chains of decisions, and their calibration varies by task, so a threshold has to be set on your own data.

Beyond Jev

Jev is closed and hosted. Within weeks, others released decision models with open weights:

ModelFromAccessNotes
Jev 1.14TypeSafe AIHosted APILaunched in September 2026; version 1.14 from 14 October.
mammoth-1 (27B), elephant-1 (9B)Baseten (Base Labs)Open weightsPost-trained from Qwen3.5 "on 6.21 million decision-making examples"; Baseten reports mammoth-1 first of 208 models on the Jev Decision Index.
SII-Decision-4B and 27BDuan et al.Research modelsThe 27B model performs "on par with Jev on JEVal while answering a typical query in about 0.1 s".
DeciderPerplexityOpen reproductionThe strongest single judge on most panels in Rao and Callison-Burch.

The Jev Decision Index on Hugging Face, a community leaderboard "not affiliated with TypeSafe AI", ranks these models on private tests: "60% private tests of the same skills and 40% private tasks from new domains". Its 37 public benchmarks are shown but "do not count", which makes the ranking hard to game and hard to audit.

What my test showed

The task was classifying texts into a couple of dozen categories, with a labelled set to score against. The existing classifier sent every text to a frontier LLM with a long instruction prompt that described each category. I put the decision model in front: one Choice question over the same categories, each with a description, and the LLM as fallback below a confidence threshold.

Cascade: every text goes to the decision model; if confidence is above the threshold and the answer is a real category, keep it; otherwise, or on any error, send the text to the LLM as before Text same input as today Decision model one Choice question, a fraction of a second Keep its answer confidence ≥ threshold, real category Ask the LLM, as before low confidence, abstain, or any error Any decision-model failure falls back to the LLM path, which stays exactly as it was.
Figure 7. The hybrid I tested: decision model first, LLM fallback. Most texts took the upper branch.

On the labelled set, the hybrid matched the LLM alone on accuracy, with a threshold tuned on that same set, and most texts never reached the LLM.

  • Confidence did the work. Wrong answers came with low confidence, so one high threshold separated answers to keep from answers to escalate. Categories the model handled poorly showed up as low confidence rather than confident mistakes, and the LLM took them over.
  • One call is enough. The same text gave the same answer on repeated runs, so voting over several calls added nothing.
  • Speed opens new places. An answer in a fraction of a second, where the LLM took seconds, can sit in a request path, run on every item instead of a sample, or check several things at once.
  • The prompt shrinks. A long instruction prompt became one question with a description per option. Since only input tokens are billed, the length of the text and of the descriptions sets the price.
  • The bill moves. With classification nearly free, the other steps, OCR above all, became a far larger share of the cost. Measure the whole pipeline.
  • The threshold needs fresh data. I tuned it on the same labelled set I scored, so it has to hold on new labelled texts before anything changes in production.
  • Ship it switched off. Every text sent to a hosted model leaves your infrastructure, so it needs a vendor and data review. The design I tested was off by default, and any error, timeout or oversized input went to the LLM.

With decide from the example above, the cascade and the threshold search are a few lines each:

def pick_threshold(probabilities, correct, target=0.99):
    """Lowest probability at which the accepted answers still reach the target accuracy."""
    threshold, hits = None, 0
    ranked = sorted(zip(probabilities, correct), key=lambda pair: -pair[0])
    for kept, (probability, ok) in enumerate(ranked, start=1):
        hits += ok
        if hits / kept >= target:
            threshold = probability
    return threshold


def classify(text, ask_llm, threshold):
    """Decision model first; the LLM answers whatever the decision model is unsure about."""
    try:
        label, probability = decide(text)
    except Exception:
        return ask_llm(text), "llm"
    if label != "other" and probability >= threshold:
        return label, "decision model"
    return ask_llm(text), "llm"

Run pick_threshold on one labelled split and check the result on another. The rubric-judge study adds a sharper test: look at the texts the decision model gets wrong and check whether the LLM gets them right. If both fail on the same texts, the cascade saves money but cannot add accuracy.

When to use which

Decision flow: if the step writes text, use an LLM; if the answer set is not fixed, use an LLM or split into fixed choices; if the text cannot settle it, use an LLM first; otherwise use a decision model with a threshold and an LLM fallback Does the step write text? an answer, summary, code yes LLM no Is the answer set fixed? known options, a scale, yes or no no LLM, or split into a hierarchy of fixed choices yes Can the text settle it? no specialist knowledge, few steps no LLM first; test a decision model on the easy cases yes Decision model, with a threshold set on your labelled data and the LLM as fallback below it
Figure 8. Three questions decide most cases.
The taskBetter fitWhy
Route, triage, label or score into a known set of answersDecision modelTyped output, probabilities, low latency and cost
A long prompt whose only job is to pick a labelDecision model, with an LLM fallbackSame decision, a fraction of the tokens
Guardrails and checks on every requestDecision modelFast enough for the request path; robustness varies by model
Extract values, summarise, explain, write or codeLLMThe answer is text, not a choice
Counting, dates, exact calculationCode, or an LLM with toolsTypeSafe's own advice: "Keep the arithmetic in code"
Long multi-step agent workflowsLLMSmall errors compound over many steps
Holistic judgements under attack, such as phishingTest both on your dataResults differ sharply by task and model

The test left me with one question to ask before reaching for an LLM: does this step need to write anything? Many steps in a production pipeline only need to choose. For those, a model built to choose is faster, cheaper and easier to reason about, and the LLM can stay where language is the product. Versions, prices and rankings here are as of 1 December 2026.

Sources