Skip to content

Choose a judge

An llm-judge check asks a model whether an answer meets your criteria. Which model you ask changes both the bill and the verdicts. This page says what to pick, what we measured, and how to check the pick on your own rows.

Without a provider on the check, the judge is the model that wrote the answer. A separate judge is usually cheaper, and fairer: a model grading its own answer favours it.

assertions:
- type: llm-judge
criteria: "The answer is factually correct."
provider: { type: anthropic, model: claude-haiku-5-5 }

Every field you leave out of provider comes from the eval’s provider. A type other than the eval’s is another provider, and the run needs that provider’s API key. See Switch providers.

For an Anthropic judge, start with claude-haiku-5-5. In our measurements in November 2026 it agreed with labels as well as claude-sonnet-5-5 did, at about a twentieth of the list price.

SetRows (fail)Labelsclaude-haiku-5-5 kappaclaude-sonnet-5-5 kappa
Arithmetic, simple facts, false premises, questions on a document271 (39)one person, blind0.94 (0.87–0.99)0.91 (0.82–0.97)
False premises, unanswerable questions, open explanations279 (34)three models, unanimous0.86 (0.76–0.94)0.83 (0.73–0.92)

Kappa is Cohen’s kappa against the labels, with a 95% bootstrap interval.

plune judge-check compares a judge’s verdicts with labels a person gave, and prints agreement, TPR, TNR and Cohen’s kappa with an interval. It reads files only.

Terminal window
plune run # a run judged by the model you want to measure
plune judge-check labels/faq.jsonl --init # one line per row with an answer, to fill in
# label the rows pass or fail yourself, without looking at the judge's verdicts
plune judge-check labels/faq.jsonl # the figures
plune judge-check labels/faq.jsonl --min-kappa 0.6 # exit 1 below a level, for CI

Three things made our own first measurement unusable, so avoid them:

  • Too few failing rows. With 9 failing rows out of 99, the interval of kappa was wider than 0.6. The number of failing rows matters more than the number of rows; aim for 30 or more.
  • Labels suggested by a model. A person confirming a model’s suggestions agrees with that model’s family. Label blind.
  • A criterion that mixes demands. “Correct and at most two sentences” is two checks. Put the length in a deterministic assertion and leave the judge one question.

From CLI 0.39.15, an llm-judge check can be judged by Jev, a decision model of TypeSafe, instead of a text model:

assertions:
- type: llm-judge
criteria: "The answer is factually correct."
provider: { type: jev, model: jev-1.14.0 }
FieldRequiredMeaning
typeyesjev.
modelyesThe Jev version, named in full. None is picked for you.
timeoutnoMilliseconds for one request (default 30000).

How it differs from a text judge:

  • A probability, not a reason. Jev is asked one yes-or-no question and answers with a probability. That probability is the check’s score, pass_threshold (default 0.5) applies to it, and the reason says that this judge gives none.
  • The probability is not a calibrated confidence. In our runs Jev’s wrong verdicts were as sure as its right ones, so raising the threshold does not filter them out.
  • Where the text goes. The request, the answer and the criterion are sent to api.typesafe.ai, and to no other address. The key is read from TYPESAFE_API_KEY; without it the row errors and nothing is sent.
  • A size limit. Request, answer and criterion together may be 16,000 characters. A longer check errors the row; nothing is cut and nothing is sent.
  • A judge only. jev cannot be the provider of a config or of an eval, takes no temperature or max_tokens, and judges llm-judge alone. The RAG checks keep the eval’s model.
  • Cost. USD 0.042 per million input tokens (indicative, read on 2026-11-24), added to the row like any judge call. In our runs that was about 80 times cheaper than claude-sonnet-5-5.

Our measurements of jev-1.14.0 in November 2026, kappa against labels:

Kind of checkRows (fail)Labelsjev-1.14.0claude-haiku-5-5claude-sonnet-5-5
Arithmetic, simple facts, false premises, questions on a document271 (39)one person, blind0.92 (0.84–0.98)0.94 (0.87–0.99)0.91 (0.82–0.97)
False premises, unanswerable questions, open explanations279 (34)three models, unanimous0.92 (0.84–0.98)0.86 (0.76–0.94)0.83 (0.73–0.92)
Open and ambiguous questions, a criterion mixing facts and length99 (9)one person, 59 of them confirmed suggestions0.35 (−0.03–0.65)not run0.86 (0.64–1.00)
  • Use it where an answer is clearly right or wrong: a fact, a calculation, a false premise the answer must catch, a question that has no answer.
  • Do not use it for a criterion that needs judgment (tone, completeness, “is this a good explanation”), for one that mixes several demands, or where you need the reason for a verdict. Of 34 explanations with one planted factual error it passed 3; the two Claude judges passed none.
The check asksStart with
Is this fact, number or refusal right?jev (experimental) or claude-haiku-5-5
Is this explanation correct in its details?claude-haiku-5-5
Tone, completeness, a subjective barclaude-haiku-5-5; measure before you trust it
You need to read why a row failedany text judge, not jev