Skip to content

LLM-as-Judge Prompt Generator

A weighted rubric in; a judge prompt out in both orderings, with the rule for combining them and the cost of judging a whole set.

Cost of judging one full set
$0.44

80 judge call(s): 40 case(s) × 1 repeat(s) × 2 for the swapped order. The prompt below is not counted against your task's own token budget — a judge is a second model call on top of it.

Criteria
4
Weights sum to
7.00
Heaviest criterion
Faithfulness (42.9%)
Judge prompt characters
2,969
Estimated judge prompt tokens
≈ 742
Judge calls per case
2
Judge calls in total
80
Cost per case
$0.01
Cost of judging this set daily for a month
$13.26
What this assumes: the cost figures use YOUR rates and estimate the prompt at characters ÷ 4; they do not include the answers being judged, which are substituted into the {{answer}} placeholders and vary with your data — add their tokens to the input side. Position debiasing here means emitting both orderings and an aggregation rule that discards pairs where the judge flipped; that is a method for detecting and neutralising the bias, not a claim that this prompt is unbiased. Nothing on this page has been measured against human ratings — only you can do that, on your task. Everything on this page runs in your browser. Nothing you paste or open is uploaded, logged or sent anywhere.

A judge model is a measuring instrument, and the first thing to do with a measuring instrument is check that it gives the same reading twice. The best-documented way it does not is position: show the same pair of answers in the opposite order and a judge will often change its mind. If you never swap, that bias is silently baked into every comparison you run, and the answer that happened to be generated first wins.

Why the swapped prompt is the whole tool

Asking the judge to ignore the order does not work; the instruction is read and the preference persists. Asking twice does work, because disagreement between the two runs is itself the measurement. Pairs where the judge agrees with itself are signal. Pairs where it flips are noise, and the proportion that flip is a number you should be reporting alongside your win rate — a judge that flips on two pairs in five is not ranking anything.

The definitions do more work than the scale

Most judge inconsistency comes from criteria that were named but not defined. “Helpfulness, 1 to 5” means five different things across five calls. A definition that says what a 1 looks like, and names something the criterion explicitly does not cover, cuts the variance more than any change to the number of points on the scale. The weights matter too, and they are printed as percentages above so that “3, 2, 1, 1” is visible as the 43% / 29% / 14% / 14% split it actually is.

LLM-as-Judge Prompt Generator · Multigrid