# LLM as a judge: how models grade other models, and where they fail

> GPT-4 matched human raters 85% of the time in the 2023 paper that started it, but judges favor the first answer, padded answers and sometimes their own.

URL: https://claudegpt.si/news/llm-as-a-judge-explained  
Published: 2026-11-26T02:56:33.542Z  
Author: ClaudeGPT Si Newsroom  
Section: Research  
Topics: AI evals, Benchmarks, Research, Language models  
Publisher: ClaudeGPT Si

## Key takeaways

- In Zheng et al.'s 2023 MT-Bench study, GPT-4's verdicts matched human experts 85% of the time on non-tie votes, against 81% between two humans.
- Judges are biased: GPT-4 kept the same verdict after the answers were swapped only 65% of the time, and weaker judges preferred padded answers in 91.3% of tests.
- Swapping answer order, adding a reference answer, asking for reasoning first and checking the judge against human labels all reduce the errors.

LLM as a judge means using one language model to grade the answers of another. You give the judge model a question, the answer and a rubric, and it returns a score, a pass or fail, or a pick between two answers. The idea became standard after a 2023 paper, [Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena](https://arxiv.org/abs/2306.05685), found that GPT-4 agreed with human raters about as often as the humans agreed with each other. The same paper showed where judges go wrong: they favor the first answer they see, they can be fooled by padding, and they grade math badly unless they get a reference answer.

It matters this week because two new tools lean on it. Together AI's open-source Hurdle library, released on November 25, 2026, scores agent runs with code checks and an LLM judge. Real Python's tutorial [LLM Evaluation in Python](https://realpython.com/llm-evaluation/), published the same day, builds a judge and then calibrates it against human labels before trusting it.

## Why use an LLM as a judge at all

Most model output is open-ended text. A string match can tell whether a reply says "refund approved", but not whether it was helpful or polite. People can, but they are slow and expensive. A judge model reads like a person and runs like code. [Anthropic's guide to building evals](https://platform.claude.com/docs/en/test-and-evaluate/develop-tests) ranks the three options plainly: code-based grading is the "fastest and most reliable" but "lacks nuance", human grading is the most flexible "but slow and expensive", and LLM-based grading is "fast and flexible" and suited to complex judgment. Its advice is to "test to ensure reliability first, then scale."

For the wider picture, see [what AI evals are](https://claudegpt.si/news/what-are-ai-evals).

## The three ways a judge grades

The Zheng et al. paper, published in the NeurIPS 2023 Datasets and Benchmarks track, described three setups that most tools still use:

- **Pairwise comparison.** The judge sees two answers to the same question and picks the better one, or calls a tie.
- **Single answer grading.** The judge scores one answer on its own. On MT-Bench, GPT-4 gave each turn a score out of 10.
- **Reference-guided grading.** The judge gets a correct answer to compare against.

The team built MT-Bench, 80 multi-turn questions, and collected about 3,000 expert votes on it, plus 30,000 conversations with human preferences from Chatbot Arena.

## How often judges agree with people

On MT-Bench, GPT-4's pairwise verdicts matched human experts 85% of the time when ties were left out. Two human experts matched each other 81% of the time on the same setup. Counting ties, the figures were 66% for GPT-4 against humans and 63% for humans against humans. The paper sums it up as "over 80% agreement, the same level of agreement between humans."

That number comes with conditions: it was measured with GPT-4, the strongest judge of its day, on general chat questions, and the authors say the study "largely neglects safety."

[G-Eval](https://arxiv.org/abs/2303.16634), a March 2023 paper by Yang Liu and colleagues, had GPT-4 reason step by step and then fill in a scoring form. It reported a Spearman correlation of 0.514 with human ratings of summaries, well above earlier automatic metrics but far from a perfect match.

## Where LLM judges fail

### Position bias

Judges favor answers by where they appear. Zheng et al. showed each pair of answers twice, swapping the order, and checked whether the verdict held. GPT-4 gave the same verdict both ways 65.0% of the time. GPT-3.5 managed 46.2%, and Claude-v1 only 23.8%, preferring the first answer in 75% of cases.

In a May 2023 paper, [Large Language Models are not Fair Evaluators](https://arxiv.org/abs/2305.17926), Peiyi Wang and colleagues found that with ChatGPT as the judge, just reordering the answers let Vicuna-13B beat ChatGPT on 66 of 80 questions.

### Verbosity bias

Judges can prefer longer answers that add nothing. Zheng et al. took 23 answers that contained numbered lists, had GPT-4 rephrase each list without adding information, and put the rephrased list in front of the original. Claude-v1 and GPT-3.5 preferred it 91.3% of the time. GPT-4 fell for it 8.7% of the time.

### Self-enhancement bias

A judge may favor answers written by itself. In the paper's data, GPT-4 gave its own answers a win rate about 10% higher than humans did, and Claude-v1 about 25% higher. GPT-3.5 did not favor itself. The authors say the data was too limited to conclude that the bias exists. Anthropic's docs still advise grading "with a different model from the one used to generate the evaluated output."

### Weak grading of math and reasoning

A judge that can't solve a problem can't reliably grade it. On 10 math questions, GPT-4 with the default prompt graded wrongly 70% of the time. Asking it to reason step by step first cut failures to 30%. Having it solve the problem on its own first and then use that answer as a reference cut them to 15%.

## What fixes work

- **Swap the order and require both verdicts to agree.** Zheng et al. count an answer as the winner only if it wins in both positions, and call it a tie otherwise.
- **Give examples.** Adding few-shot examples to the judge prompt raised GPT-4's consistency from 65.0% to 77.5%, and Claude-v1's from 23.8% to 63.7%. The longer prompt made each call about four times as expensive.
- **Give a reference answer** when the question has a right answer.
- **Make the judge reason before it scores.** Anthropic recommends a grader with extended thinking turned on, saying it "increases evaluation performance, particularly for tasks requiring complex judgment."
- **Write a specific rubric and a fixed output.** Anthropic suggests asking for "correct" or "incorrect", or a score from 1 to 5, not free-form comments.
- **Check the judge against people.** OpenAI's [graders guide](https://developers.openai.com/api/docs/guides/graders) says to build a model grader from many example answers, with ground-truth grades from trusted human experts, and check that the grader ranks them the way the experts do.

The [Survey on LLM-as-a-Judge](https://arxiv.org/abs/2411.15594) by Jiawei Gu and colleagues, last revised in October 2025, still calls reliability "a significant challenge."

## How this week's tools use a judge

Both new tools put the judge last in line, after code.

Together AI's [Hurdle](https://www.together.ai/blog/introducing-hurdle-run-agent-evals-on-your-api-skills-and-docs) runs Claude Code or Codex against tasks on your API and records each session. Code checks assert concrete things, such as required API calls or expected output files. Guards fail any run that tries a forbidden action. The LLM judge then reads the recorded session against a plain-English rubric. In the "hybrid" verdict mode, a run passes only if the code checks and the judge both pass. More on the launch: [Together AI releases Hurdle](https://claudegpt.si/news/together-ai-hurdle-agent-evals).

Real Python's tutorial builds an evaluator for a customer-support bot in three layers. Code handles rules it can verify, such as word counts and forbidden phrases. The judge handles what code can't, such as helpfulness and tone. When neither can decide, the case is marked for human review. A set of human-labeled examples grades the judge itself: the tutorial says LLM judges are trustworthy only after that calibration.

A judge model is a measuring tool with known errors. Use code wherever code can decide, give the judge a rubric and a reference where you can, swap answer order in comparisons, and before trusting its scores, check how often it agrees with your own people on your own data.

## Frequently asked questions

### What is the original LLM as a judge paper?

Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena by Lianmin Zheng and colleagues, first posted to arXiv on June 9, 2023 and published in the NeurIPS 2023 Datasets and Benchmarks track. It introduced MT-Bench and measured GPT-4's agreement with human raters and its biases.

### What is the best LLM as a judge model?

In the 2023 study, the strongest model tested, GPT-4, was by far the most consistent and the hardest to fool, while weaker judges failed most bias tests. No paper settles which model is best for your task, so the vendors' advice is to check any judge against human-graded examples from your own data, and Anthropic suggests using a different model from the one being graded.

### Should I use an LLM as a judge for code?

Use code checks wherever a result can be verified, such as running tests or checking that the right files exist. Anthropic ranks code-based grading as the fastest and most reliable method, and tools like Hurdle and Real Python's harness call the judge only for what code can't decide.

### What are LLM as a judge best practices?

Write a specific rubric with a fixed output such as pass or fail, swap the order of answers in pairwise comparisons, give a reference answer when there is one, and let the judge reason before it scores. Then measure how often it agrees with human labels before trusting it at scale.

## Sources

- [Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena](https://arxiv.org/abs/2306.05685), arXiv (Zheng et al.)
- [G-Eval: NLG Evaluation using GPT-4 with Better Human Alignment](https://arxiv.org/abs/2303.16634), arXiv (Liu et al.)
- [Large Language Models are not Fair Evaluators](https://arxiv.org/abs/2305.17926), arXiv (Wang et al.)
- [A Survey on LLM-as-a-Judge](https://arxiv.org/abs/2411.15594), arXiv (Gu et al.)
- [Define success criteria and build evaluations](https://platform.claude.com/docs/en/test-and-evaluate/develop-tests), Anthropic
- [Graders](https://developers.openai.com/api/docs/guides/graders), OpenAI
- [Introducing Hurdle: Run agent evals on your API, skills, and docs](https://www.together.ai/blog/introducing-hurdle-run-agent-evals-on-your-api-skills-and-docs), Together AI
- [LLM Evaluation in Python: Build an Eval Harness From Scratch](https://realpython.com/llm-evaluation/), Real Python
