How to evaluate LLM answers, and the best tools to do it

An 8-step method to measure answer quality, six evaluation tools compared on what scoring really costs, and the billing traps their pricing pages bury.

Short answer: write down what a good answer looks like, collect real questions with known good answers, score every new version of your prompt or model against them with code checks, an LLM judge and a few human reviews, and keep scoring a sample of live traffic. Langfuse is the all-round open-source choice; Arize Phoenix runs free on your own machine; Braintrust suits teams whose releases depend on eval results; LangSmith fits LangChain stacks; DeepEval turns evals into pytest tests; Promptfoo compares prompts and models for free.

The tool is the easy part. Most failed eval programs fail on the test set (too small, too synthetic) or on a judge nobody checked against human ratings. We compared the tools the top guides rank, read their pricing pages and documentation, and wrote the method that keeps scores honest and bills predictable.

Romain Cochard
Romain CochardCEO of Hack'celeration
Updated 20266tools compared8method steps7traps and tips

The ranking is editorial: a sponsored place is always flagged on its card, and no affiliate link changes a score.

The basics

What LLM evaluation is, and 6 tools side by side

What LLM evaluation is. Evaluating an LLM application means measuring, on purpose and repeatably, whether its answers are good enough for the job: correct, grounded in your documents, on topic, safe, in the right format. It is different from a public benchmark, which ranks models on generic tasks. Here you judge your prompts, retrieval and agent on your users' questions, so you can change a prompt or swap a model and know whether quality went up or down.

How it works. Every evaluation has three parts: a set of inputs (a dataset, often called a golden set when it carries reference answers), the application under test, and scorers. Scorers come in three kinds. Code checks are cheap and exact: valid JSON, a required field, a banned word, a regular expression. LLM-as-a-judge asks a strong model to grade an answer against a rubric (is every claim supported by the retrieved context? does it answer the question?). Human review is slow and costly, and it is the reference the other two are calibrated against. You run them offline, on the dataset before a release, and online, on a sample of production traffic after it. Tools in this space measure their usage in a few units worth knowing before you compare prices: a trace is one full request through your app, a span or observation is one step inside it, and a score is one grade attached to an output.

What to demand from a tool. Five things: scorers of all three kinds on the same dataset, experiments that compare one version with the last, a way to run them in CI, sampling of live traffic, and clear answers on retention and hosting (how long your traces are kept, and whether you can self-host). Opik from Comet (free cloud with 25k spans, Pro at $19 a month), W&B Weave and MLflow do much of this too; Ragas is a metrics library for retrieval pipelines that you call from inside these platforms rather than a platform itself. If you are still choosing a tracing stack, read our ranking of LLM observability tools first.

Best forFree planTeam sizeVisit
1LangfuseBest open-source platform to trace and score answers4.4/5Hobby free (50k units/mo, 2 users, 30 days of data) · Core $29/mo · Pro $199/mo · free to self-host✓Startups to large teams that want to self-hostVisit →
2Arize PhoenixBest free local-first evaluation workbench4.3/5Phoenix free to self-host · AX Free 25k spans/mo · AX Pro $50/mo (50k spans, 30-day retention)✓Developers and data scientists, then teams on Arize AXVisit →
3BraintrustBest for teams that ship on eval results4.2/5Starter $0 (1 GB data, 10k scores/mo, 14-day retention) · Pro $249/mo · Enterprise custom✓AI product teams that run experiments every dayVisit →
4LangSmithBest for LangChain and LangGraph teams4.2/5Developer $0 (1 seat, 5k base traces/mo) · Plus $39/seat/mo (10k traces) · then $0.005 per extra trace✓Teams building on LangChain or LangGraphVisit →
5Confident AI (DeepEval)Best for unit-testing LLM answers in CI4.1/5DeepEval free (Apache 2.0) · Confident AI Free (2 seats, 5 test runs/week) · Starter $200/mo · Team $2,000/mo✓Python teams that want evals as testsVisit →
6PromptfooBest free tool to compare prompts and models, and red-team them4.0/5Community free and open source (MIT) · red teaming 10k probes/mo · Enterprise and on-prem custom✓Developers comparing prompts and modelsVisit →

Scores out of 5, the plain average of the five criteria on each card. Prices in US dollars, monthly unless stated.

Is your tool missing from this page? Email us: hello@hackceleration.com

1
Best open-source platform to trace and score answers

Langfuse

4.4/5

Langfuse records every call your application makes (the trace, then each step inside it: retrieval, tool calls, model generations) and lets you attach scores to any of them. A score can come from an LLM judge, from your own code, from a user's thumbs up or from a reviewer working through an annotation queue. Datasets and experiments sit on top: you run a new prompt or model against a fixed set of inputs and compare the scores side by side. The codebase is MIT-licensed outside its enterprise folders, and the company behind it is now part of ClickHouse.

The pricing unit is the billable unit: every trace, every observation inside it and every score counts as one. Hobby includes 50k units a month, two users and 30 days of data access. Core is $29 a month with 100k units, unlimited users and 90 days; extra units cost $8 per 100k, falling to $7, $6.50 and $6 at higher volume. Pro is $199 a month with three years of data access. If you outgrow it, our list of Langfuse alternatives compares the other options. Self-hosting is free, with Docker Compose for a laptop and templates for Kubernetes. On a public forum in 2026, one engineer recommended self-hosted Langfuse as enough to cover about 90% of tracing needs; in 2025, another team said it was breaking down for them, just as version 3 launched.

Standout features
  • Scores from judges, code, users and reviewers
  • Free self-hosting under MIT for the core
  • Graduated pricing from $8 to $6 per 100k units
+Pros
  • ✓Paid plan from $29 a month
  • ✓Unlimited users from Core
  • ✓OpenTelemetry-based, framework-agnostic
−Cons
  • ✗Each score is a billable unit, so heavy scoring raises the bill
  • ✗Hobby keeps only 30 days of data
  • ✗Running it yourself means running Postgres, ClickHouse, Redis and blob storage
Verdict

The default for most teams: start on Hobby or self-host, and move to Core when you need more than two seats.

Try Langfuse →
2
Best free local-first evaluation workbench

Arize Phoenix

4.3/5

Phoenix is Arize's open-source, local-first platform for tracing, evaluation, experiments and prompt iteration. It is built on OpenTelemetry and OpenInference, scores traces and spans with LLM-based evaluators, code checks or human labels, reruns the same dataset through different versions of your app, and has a playground to compare prompts and models side by side. You can run it on your own machine and keep every trace there.

Read the license before you call it open source: Phoenix ships under the Elastic License 2.0, which lets you use, copy and modify it for free but forbids offering it to third parties as a hosted or managed service. For an internal evaluation stack that changes nothing; for an agency that wants to resell a hosted eval product, it does. The hosted product is Arize AX: AX Free gives 25k spans a month, 1 GB of ingestion and 15 days of retention; AX Pro costs $50 a month for 50k spans, 10 GB and 30 days. Both include unlimited users and unlimited evals, and self-hosted AX is an Enterprise option.

Standout features
  • Local-first, runs on your own machine
  • OpenTelemetry and OpenInference traces
  • Unlimited evals on every AX plan
+Pros
  • ✓Free to run on your own machine
  • ✓Hosted plan at $50 a month
  • ✓Unlimited users on AX Free and Pro
−Cons
  • ✗Elastic License 2.0, not an OSI open-source license
  • ✗AX Free keeps data 15 days
  • ✗Self-hosted AX only on Enterprise
Verdict

The best place to start evaluating on your laptop for free. Check the license if you plan to host it for clients.

Try Phoenix →
3
Best for teams that ship on eval results

Braintrust

4.2/5

Braintrust is built around the experiment: a dataset, a task (your prompt, chain or agent) and scorers, run again every time something changes, with each run compared to the last. Scorers can be LLM judges, autoevals or your own code, and playgrounds let you edit a prompt and rerun it on the dataset. Starter includes unlimited users, projects, datasets, playgrounds and experiments, which makes it easy to get a whole team in.

The bill has four meters. Starter is $0 with 10 Braintrust credits (they pay for built-in AI features and for models used without your own API key), 1 GB of processed data (then $4 per GB), 10k scores a month (then $2.50 per 1,000) and 14-day retention. Pro is $249 a month with 100 credits, 5 GB ($3 per extra GB), 50k scores ($1.50 per extra 1,000) and 30-day retention, plus $0.50 per GB per month to keep data longer. A score is one scored output from an LLM judge, autoevals or a code scorer, so four scorers on 500 test cases spend 2,000 scores per run. Starter also allows one human review score per project. Qualifying startups get 6 to 12 months of Pro for free. For other hosted options, see our Braintrust alternatives.

Standout features
  • Experiments compared run by run
  • Unlimited users and experiments on Starter
  • Playgrounds to edit and rerun prompts
+Pros
  • ✓Experiment-first workflow
  • ✓Clear per-score pricing
  • ✓Startup program with 6 to 12 free months
−Cons
  • ✗Jump from $0 to $249 a month
  • ✗Starter keeps data 14 days
  • ✗On-prem only on Enterprise
Verdict

Pick it when evals decide what ships. Count your scorers before you count your seats.

Try Braintrust →
4
Best for LangChain and LangGraph teams

LangSmith

4.2/5

LangSmith is the observability and evaluation platform from the makers of LangChain. It traces any application, but it shines when your code already uses LangChain or LangGraph, where tracing is built in. You build datasets from production traces, run offline evaluations with LLM-as-a-judge or code evaluators, send traces to annotation queues for human review, and run online evaluators on live traffic.

Developer is free for one seat with 5k base traces a month. Plus costs $39 per seat per month with 10k base traces; each extra trace costs 0.005 LSU, and one LSU (LangChain Standard Unit) is $1. Retention is the catch: a base trace is kept 14 days, an extended trace 180 days, and upgrading a trace costs extra. Traces carrying feedback from evaluators or reviewers are the ones worth keeping, so plan which ones you extend. Tuned Evaluators, in public beta on Plus and Cloud Enterprise in the US, are billed only when they run successfully: the Perceived Error evaluator costs 0.015 LSU per run. Self-hosted and hybrid deployments are Enterprise options, and VC-backed startups can get up to $10,000 in credits. Leaving LangChain? Our LangSmith alternatives cover framework-agnostic tools.

Standout features
  • Built-in tracing for LangChain and LangGraph
  • Annotation queues and online evaluators
  • Base or extended retention per trace
+Pros
  • ✓Little setup for LangChain and LangGraph code
  • ✓Free seat to start
  • ✓Startup credits up to $10,000
−Cons
  • ✗Per-seat price on top of usage
  • ✗Base traces vanish after 14 days
  • ✗Self-hosting only on Enterprise
Verdict

The obvious pick if your stack is LangChain. Decide your retention rules before the first invoice.

Try LangSmith →
5
Best for unit-testing LLM answers in CI

Confident AI (DeepEval)

4.1/5

DeepEval is an Apache 2.0 Python framework that turns evals into tests. You write a test case (input, actual output, optionally the expected output and the retrieved context), pick metrics such as G-Eval, answer relevancy or faithfulness, and assert them. It plugs into pytest through assert_test() and the deepeval test run command, which drops into a GitHub Actions workflow on every push or pull request. With only a judge model key, the tests run entirely locally.

Confident AI is the hosted platform on top: datasets, regression comparisons, tracing and online evals. The Free plan is limited to 2 seats, 1 project, 1 GB-month of trace spans and 5 test runs per week; additional test runs are locked. Starter costs $200 a month with unlimited seats, 5 projects and 5 GB-months, then $1 per GB-month ingested or retained; Team is $2,000 a month. A GB-month is one gigabyte of trace spans kept for one month, and roughly 100K traces weigh about 1 GB.

Standout features
  • Evals as pytest tests
  • Runs locally with only a judge key
  • Large metric library including G-Eval
+Pros
  • ✓Free, Apache 2.0 framework
  • ✓Simple CI gate on every pull request
  • ✓Tracing billed by GB-month with adjustable retention
−Cons
  • ✗Free plan locks runs after 5 a week
  • ✗Big jump from Free to $200 a month
  • ✗On-prem only on Enterprise
Verdict

The best way to put evals in CI. Keep the hosted plan for when several people need the dashboards.

Try Confident AI →
6
Best free tool to compare prompts and models, and red-team them

Promptfoo

4.0/5

Promptfoo runs from the command line and a YAML file: you list prompts, providers (OpenAI, Anthropic, local models and many more) and test cases with assertions, then get a matrix of outputs and pass rates in a web view. Assertions range from exact matches and JSON checks to model-graded rubrics. The same tool does red teaming: it generates attacks against your application and reports what got through.

The Community edition is free, MIT-licensed, runs locally or on your own infrastructure and includes all LLM evaluation features, CI/CD integration and red teaming up to 10k probes a month. Enterprise and on-premise plans add team sharing, continuous monitoring, SSO and custom red-teaming limits, on quote. Promptfoo agreed in 2026 to be acquired by OpenAI, a deal subject to closing conditions, and says it will remain open source and keep supporting a diverse range of providers and models. It is a testing tool, not a production monitor: pair it with one of the platforms above for live traffic.

Standout features
  • Prompt and model comparison matrix
  • Red teaming in the free edition
  • YAML config, runs locally
+Pros
  • ✓Free and MIT-licensed
  • ✓Works with almost any provider
  • ✓Easy to drop into CI
−Cons
  • ✗No production monitoring in the free edition
  • ✗Team features only on Enterprise
  • ✗Agreed in 2026 to be acquired by OpenAI, a model vendor
Verdict

The fastest way to compare two prompts or two models for free. Add a platform once real users arrive.

Try Promptfoo →
The method

How to evaluate LLM answers, in 8 steps

The same steps work for a chatbot, a retrieval (RAG) assistant and an agent; only the scorers change.

01

1. Write down what a good answer is

Before any tool, list the qualities you will score, one line each, in words a reviewer can apply: "every factual claim is supported by the retrieved documents", "answers in under 150 words", "never gives a price that is not in the catalog". Three to six criteria is enough to start. Vague criteria such as "helpful" produce judges that disagree with your reviewers.

Start with
3 to 6 written criteria
02

2. Build the test set from real traffic

Pull real questions from logs, support tickets or user interviews, then add the hard cases: your biggest customers, edge cases, questions the app should refuse. In 2026, one practitioner described two launches that failed in production: the test data left out their p99 customers, and every test case was synthetic. Synthetic cases are fine to fill gaps, not to replace real ones. Store the set in your tool (Langfuse, Braintrust and LangSmith all call them datasets) so every run uses the same inputs.

Mix
real questions first, synthetic to fill gaps
03

3. Score what code can score

Anything deterministic goes into code first: the output parses as JSON, the required fields are present, the cited document ID exists, the answer stays under the length limit. These checks cost nothing to run and never drift. Promptfoo assertions, DeepEval test cases and the custom scorers of each platform all accept plain functions.

Cost
close to zero per run
04

4. Add an LLM judge with a rubric

For what code cannot check (relevance, tone, whether a claim is grounded), write a judge prompt that applies one criterion at a time and returns a label or a short score with its reason. Research on LLM judges found that strong models can match human preferences with over 80% agreement, about the level of agreement between two humans, and also documented three biases: favoring the first answer shown (position), favoring longer answers (verbosity) and favoring answers in their own style (self-enhancement). Swap the order of answers when you compare two, and prefer a judge from a different model family than the one under test.

Watch for
position, verbosity, self-preference
05

5. Check the judge against people

Have two people grade the same 50 to 100 answers with your rubric, then compare their labels with the judge's. Where the judge disagrees with both, rewrite the rubric, not the labels. Repeat whenever you change the judge model. Annotation queues in Langfuse and LangSmith, and human review scores in Braintrust, exist for exactly this step.

Sample
50 to 100 answers, two reviewers
06

6. Run experiments, one change at a time

Change one thing (the prompt, the model, the retrieval settings), rerun the whole dataset, and compare with the previous run case by case, not only on the average. A version that lifts the average but breaks five cases that used to pass is a regression for the users behind those cases. Braintrust and LangSmith show the run-to-run comparison by default; Promptfoo shows a matrix of prompts against models. Our prompt engineering glossary lists the prompt changes worth testing this way.

Compare
case by case, not just the mean
07

7. Gate releases in CI

Turn the most important checks into tests that run on every pull request. DeepEval runs through deepeval test run in a GitHub Actions workflow and can stay fully local with only a judge key; Promptfoo has CI/CD integration in its free edition. Keep the CI suite small and fast, and run the full dataset nightly or before a release, so judge costs stay under control.

Run
small suite per PR, full set nightly
08

8. Keep scoring live traffic

Users ask questions your dataset never imagined. Score a sample of production traces with your judges (online evaluation), collect user feedback as scores, and send low-scoring traces to a review queue. Every confirmed failure goes back into the dataset of step 2, so the next release is tested on it. Watch retention: a trace your plan deletes after 14 or 15 days cannot be added to a dataset later.

Loop
failures back into the dataset
Traps and tips

7 traps and tips the pricing pages bury

What we found reading the pricing pages and documentation to the bottom, plus what practitioners report on public forums.

01

Langfuse counts every score as a billable unit

Langfuse

A trace with four steps and three eval scores is eight units, not five. At 20,000 such traces a month that is 160,000 units: Core's $29 covers 100k, and the other 60k cost $4.80, so $33.80 instead of $29. Small here, but at millions of traces the scores you add can grow the bill by more than half. Score a sample of traffic rather than every trace.

Example
$33.80 instead of $29 a month
02

LangSmith deletes base traces after 14 days

LangSmith

Base traces are kept 14 days, extended traces 180 days, and upgrading costs extra. If you plan to build datasets from production failures, extend the traces that carry evaluator or reviewer feedback, or export them, before they expire. And count overage: on Plus with one seat, 50,000 traces a month costs $39 plus 40,000 extra traces at $0.005, so $239.

Example
$239 a month for 50k traces
03

On Braintrust, scorers multiply faster than test cases

Braintrust

Starter includes 10k scores a month. A 500-case dataset with four scorers spends 2,000 scores per run, so ten runs in a month spend 20,000 and the extra 10,000 cost $25 at $2.50 per 1,000. Drop scorers that never change your decision, and keep the full suite for release candidates.

Example
$25 for 10 runs on Starter
04

Confident AI's free plan stops at 5 test runs a week

Confident AI

On the Free plan, test runs past five a week are locked. A CI job that sends results on every pull request hits that by midweek on an active repository. Run DeepEval locally in CI (it needs only a judge key) and send only release runs to the platform, or budget the $200 Starter plan.

Free limit
5 test runs per week
05

Phoenix is free, but not open source in the OSI sense

Arize Phoenix

The Elastic License 2.0 forbids providing the software to third parties as a hosted or managed service. Using it inside your company is fine. If you are an agency or a SaaS that wants to host evaluation dashboards for clients, choose an MIT or Apache 2.0 tool instead: Langfuse's core is MIT, DeepEval, Ragas and Opik are Apache 2.0, Promptfoo is MIT.

License
Elastic License 2.0
06

Ask for the startup programs before you pay

All

Braintrust offers 6 to 12 months of Pro free to qualifying startups, LangSmith up to $10,000 in credits for VC-backed startups, and Langfuse $2,000 in credits for the first year to early-stage startups, plus $2,000 for research and students. Arize lists startup pricing too. Apply before the first paid month, not after.

Up to
$10,000 in credits
07

Free tiers keep your traces one week to a month

All

Confident AI Free keeps traces one week, Arize AX Free 15 days, Braintrust Starter 14 days, LangSmith base traces 14 days, Langfuse Hobby 30 days of data access. Opik's free cloud, at 60 days, keeps them longer. Langfuse is the exception worth knowing: older data stays stored and becomes visible again when you upgrade. Elsewhere, export the traces you want in your dataset before they expire.

Range
7 to 30 days
FAQ

LLM evaluation: your questions

  • What is the difference between LLM evaluation and LLM benchmarking?

    A benchmark ranks models on a fixed public task set; an evaluation measures your own application on your own users' questions. Benchmarks help you shortlist a model: EleutherAI's open-source lm-evaluation-harness, for instance, is the backend of Hugging Face's Open LLM Leaderboard. They say little about your prompts, your retrieval or your edge cases, which is why teams build their own evals on top.

  • How do I evaluate a RAG pipeline?

    Score retrieval and generation separately. For retrieval, measure whether the right passages came back (context precision and context recall in Ragas). For generation, measure faithfulness: Ragas splits the answer into claims and divides the number of claims supported by the retrieved context by the total number of claims, giving a score from 0 to 1. A good answer with bad retrieval and a bad answer with good retrieval need different fixes.

  • What is the difference between LLM evaluation and LLM observability?

    Observability records what your application did (each trace, its steps, latency, tokens and cost); evaluation judges whether the answer was good. In production you need both, because online evaluators score the traces that observability collects. Budget for the scoring itself: Confident AI adds online evals from Starter, with 5k metric runs a month (50k on Team) and extra runs at $1 per 1,000, while Arize AX lists unlimited evals on every plan. If you only need traces today, start with our LLM observability ranking.

  • Can I run LLM evals in CI/CD?

    Yes, and it is the best way to stop regressions. DeepEval plugs into pytest through assert_test() and deepeval test run, its documentation advises against calling plain pytest, and a GitHub Actions workflow can run it on every push or pull request. Keep the per-PR suite small: every judge call is a model call you pay for, at the rates in our LLM API pricing index.

  • How do I evaluate an AI agent, not just one answer?

    Score the path as well as the final answer. Trace each step (tool calls, retrieved documents, intermediate messages) and check whether the agent picked the right tool with the right arguments, how many steps it took, and whether the task was completed. Platforms that store spans (Langfuse observations, LangSmith runs, Phoenix spans) let you attach a score to a single step, which is how you find the tool call that broke the run. DeepEval also ships agent metrics such as Task Completion, Tool Correctness, Argument Correctness and Step Efficiency. Our guide on how to build an AI agent covers the agent side.

  • Do I still need human reviewers if I use an LLM judge?

    Yes, but far fewer than without one. People grade a small sample to calibrate the judge, review the traces the judge flags, and settle disagreements; the judge handles the volume. Budget for it in the plan you choose: Braintrust's free Starter allows one human review score per project, its Pro plan has no limit, and Langfuse gives one annotation queue on Hobby, three on Core and unlimited queues on Pro.

  • Can I evaluate without sending my data to a vendor?

    Yes. Langfuse can be self-hosted for free with Docker Compose or Kubernetes, Phoenix runs locally, DeepEval tests run entirely on your machine with only a judge key, and Promptfoo's Community edition runs locally or on your own infrastructure. The judge model still sees the data, so pair them with a model you host or one whose data terms you accept. Our LLM API ranking compares providers.

  • Which metrics should I start with?

    Start with one metric per failure you actually fear, not a dashboard of twenty. For a support bot that is usually answer relevancy, faithfulness to your documents and a format check; for an extraction pipeline, exact match on each field. Add a metric only when a real failure slipped through without one. DeepEval's G-Eval lets you write a custom criterion in plain English when no ready-made metric fits.

Hack'celeration Labs

The next AI tooling guide, in your inbox

New comparisons of AI and automation tools, as soon as they are published.

No spam. Unsubscribe anytime.