Should you use a correctness judge, a hallucination judge, a helpfulness judge or a relevance judge? And do the LLM judge templates from Langfuse, PostHog and openevals (Arize) actually measure the quality of your AI's answers? We put this to the test in the LLM Judge Battle. We ran these templates across 10 models on 34 real AI answers that a human expert had already graded, and compared every verdict to the expert's.
Judge templates are easy to adopt. Your observability tool ships them, they're already written, and their names match what you care about. You want correct answers, no hallucinations, and responses that are relevant and helpful.
The problem is that a template is written for every AI product at once. It can't know the rules of your domain, the decisions your AI exists to make, or the errors your AI actually makes. In our test, that gap mattered far more than which provider wrote the template or which quality it claimed to measure.
Thesis
The provider and the template type matter far less than one thing: whether the judge was built for the errors your AI makes in your product.
The product. An AI agent that qualifies inbound leads and assigns a priority tier, from Tier 1 (contact now) to Tier 4 (disqualify).
The error. Error analysis on the agent's real answers showed one failure that mattered: the wrong tier. A target customer marked Tier 3. A contact from the company's own team treated as an outside prospect.
The answers. 34 real agent answers. A human expert marked each one pass or fail and wrote down why. 17 were correct and 17 had a wrong tier. On a set split this way, a judge that passes everything scores 50%, the same as flipping a coin.
The judges. The generic templates:
•openevals (Arize): Correctness
•Langfuse: Hallucination, Helpfulness
•PostHog: Hallucination, Helpfulness, plus PostHog's template structure with our requirement written in ("assess whether the agent correctly classifies the lead's priority")
Next to them, the Lovelaice custom judge prompt, written from the expert's notes on the wrong-tier error.
Each prompt ran on 10 models, from frontier models to nano ones. For every pairing of prompt and model we checked four things: how often it agreed with the expert, how many real errors it missed, how many good answers it failed, and whether its reasons matched the expert's.
The results: each template at its best
The table shows each template on the model where it did best in the final run. That's the most generous view of every template.
Judge
Provider
Model
Agreement
Errors missed
Good answers failed
Helpfulness
Langfuse
Claude Sonnet 5
69.7%
41.2%
18.8%
Hallucination
Langfuse
gpt-5.4-nano
67.6%
11.8%
52.9%
Correctness
openevals
Claude Sonnet 5
64.7%
5.9%
64.7%
Hallucination
PostHog
gemini-3.5-flash
64.7%
41.2%
29.4%
Template + our requirement
PostHog
gpt-5.4-mini
64.7%
64.7%
5.9%
Helpfulness
PostHog
gpt-5.4-mini
55.9%
64.7%
23.5%
Custom Judge Prompt
Lovelaice
gpt-5.4
76.5%
17.6%
29.4%
Custom Judge Prompt
Lovelaice
gemini-3-flash
76.5%
35.3%
11.8%
Langfuse templates score from 0 to 1. We counted 0.5 and above as a pass, and flipped the Hallucination scale so a higher score means a pass.
By the numbers
The best generic template reached 69.7% agreement and still missed 41% of the real errors. The Lovelaice custom judge prompt reached 76.5% on two different models.
Look across a row and every generic template trades one failure for another. The Correctness judge caught almost every error by failing almost two thirds of the good answers. The PostHog template with our requirement written in failed almost no good answers by missing two thirds of the errors. Neither is a judge you can act on.
Agreement hides the bigger problem: the reasons
Every judge in the battle wrote a short reason for each verdict. For the errors each judge caught, we compared its reason to the expert's. The expert's reason was always the tier.
When the Lovelaice custom judge prompt failed an answer on its best models, it named the wrong tier about 100% of the time.
When the Correctness and Hallucination templates failed the same answers, they named the wrong tier 0–31% of the time. The rest of their catches fired on something else: a date in the future, a formatting quirk, a "fabrication" the agent never wrote. PostHog's Hallucination judge named the real problem in zero of its catches.
A judge that's right for the wrong reason can't be trusted on the next answer. You can't improve it, you can't debug it, and its trend line tells you nothing about the problem you care about.
Should you use a hallucination judge?
On this product, the hallucination judges introduced hallucinations of their own.
One agent answer described a startup as having "~15–50 employees." Many judge outputs misread the range as a single number, roughly 1,550 employees, and then flagged the agent for inventing it. In the first run, 46 judge outputs made up this figure, and 36 of them failed the answer because of it.
The two hallucination templates made this mistake on 9 or 10 of the 10 models. The Lovelaice custom judge prompt made it on 3 models in the first run and 1 in the second. Telling a model to hunt for fabrications pushes it to find some, even when there are none.
A hallucination judge that fails good answers for errors it made up sends your team chasing problems that don't exist.
Should you use a helpfulness judge?
Helpfulness templates leaned toward passing. They rewarded answers that sounded clear and well grounded, and they never checked whether the agent picked the right tier.
PostHog's Helpfulness template didn't catch a single real error on 4 of the 10 models. Its typical reason for passing an answer read like "accurate, well-grounded, no hallucinations", praise for the writing that says nothing about the decision. Langfuse's Helpfulness template did better on its best model and still let 41% of the real errors through.
A helpful-sounding answer with the wrong tier is still a wrong answer. For a lead-qualification agent, it means a sales team skipping a customer it should have called.
Should you use a correctness judge?
The Correctness template leaned the other way. It failed too many good answers.
On its best model it failed 65% of the correct answers. On gpt-5.4 it failed 94% of them, and on gpt-5.4-mini it failed every single one. When it did catch a real error, it usually named a reason other than the tier.
"Correct" means something specific in your product. In this one, it meant the right tier for the company's customer profile. A generic Correctness rubric has no way of knowing that.
Does adapting the template help?
We tested the easy fix: PostHog's template structure with the right requirement written in, "assess whether the agent correctly classifies the lead's priority."
On its best model it reached 64.7% agreement and missed 65% of the real errors. Reading its reasons showed why. It checked that the agent had named a tier, then passed the answer, without testing whether the tier was the right one.
Writing the right question into a generic template didn't give the judge the rules it needed to answer it. Those rules came from the expert's notes: a target customer is Tier 1 even when the contact isn't the buyer, and a contact from your own company is disqualified on sight.
Does the provider matter?
Not on this data. Templates of the same type behaved alike whichever library they came from. Helpfulness templates leaned toward passing in both Langfuse and PostHog. Hallucination templates leaned toward failing in both. The behavior came from the question the template asked.
If you're choosing an observability tool for its tracing, pricing or integrations, those are real reasons to choose. The judge templates aren't one of them.
What to use instead: a judge built for your product's errors
The judge that did best in this battle started from the agent's real errors. Here is the process:
•Find your errors first. Read real outputs from your AI and note what goes wrong. The patterns in those notes are what your judges should check.
•Pick one error per judge. One judge checks one error you've seen.
•Label real outputs. Have your expert mark around 30 outputs pass or fail for that error, with a short reason. Include both outputs with the error and outputs without it.
•Write the judge from your expert's reasons. The rules your expert applies are the rules the judge needs.
•Check its reasons and its consistency. Read why it failed each output, and run it more than once to see if the verdicts hold. See Do LLM judges give the same verdict twice?
If a generic template is already running in your pipeline, put it through the same test on your labeled outputs before you trust its numbers.
So which LLM judge template should you use?
For measuring the quality of your AI's answers, none of them on their own. Correctness, hallucination, helpfulness and relevance sound like the right things to measure. In your product, each of them means something specific that only you and your experts can define. Build the judge around the errors your AI makes, and validate it against your expert.
If you'd like help building and validating a judge for your product, talk to us.
Define what good looks like for your AI feature, measure it on real data, and improve it with your domain experts in the loop, no code required. Teams have gone from 52% to 88% accuracy in under three weeks.