Ragas vs DeepEval
Ragas or DeepEval? Both are free, Apache-2.0 Python libraries that score LLM and RAG outputs, mostly with an LLM judge you pay for. Ragas centres on dataset-level RAG metrics and test-set generation; DeepEval works like pytest for LLM apps, adds agent, multi-turn and custom-criteria metrics for pass/fail CI checks, and has an optional hosted platform (Confident AI). Metrics with the same name are defined differently, so never compare a Ragas score with a DeepEval score.
Quick picks by need
| If you need… | Look at | Why (sourced further down) |
|---|---|---|
| Dataset-level RAG scores while tuning retrieval offline | Ragas | Its metrics score a whole dataset; see the metric table. |
| Pass/fail checks per test case in CI | DeepEval | pytest-style assert_test with a threshold per metric; see CI gating. |
| Agent, tool-call or multi-turn metrics | DeepEval | Task completion, tool correctness and conversational test cases are in its docs; Ragas's are mostly RAG metrics. |
| A metric that runs with no LLM judge | Either | Ragas has non-LLM and ID-based context precision and recall; DeepEval's system_one mode runs some metrics without an LLM. |
| A library with recent releases | Check the dates first | On 26 Oct 2026 Ragas's last release was 13 Jan 2026 and DeepEval's was 16 Oct 2026; see the maintenance check. |
| Ragas | DeepEval | |
|---|---|---|
| Made by | Exploding Gradients | Confident AI |
| Style | Run metrics over a dataset; score tables | pytest-like test cases run with deepeval test run |
| Main metrics | Faithfulness, answer relevancy, context precision and recall, and more | Faithfulness, answer relevancy, contextual precision/recall/relevancy, G-Eval, DAG, agent and multi-turn metrics |
| Faithfulness means | Share of claims supported by (inferable from) the retrieved context | Share of claims that do not contradict the retrieved context |
| Test-set generation | Yes | Yes: the Synthesizer generates single- and multi-turn goldens (not your app's outputs) |
| Hosted platform | None published | Confident AI (optional) |
| Install | pip install ragas | pip install -U deepeval |
| License | — | Apache-2.0 |
How we rank: We don't pick a winner: the verdict says when each option fits, based on the sourced facts in the table. Every entry gets the same fields, taken from each eval's own paper, repository or official page on the checked date, with a source link; anything we couldn't confirm says “not verified”. Commission and sponsorship don't affect order or what we say. We show no star ratings or user scores. How we review
Verdict: when to use which
Use Ragas if you are tuning a RAG pipeline offline and want dataset-level retrieval and answer metrics.
Use DeepEval if you want LLM checks in your test suite and CI, or you also evaluate agents and multi-turn chats.
Dated numbers
- Ragas docs (read 20 Oct 2026): faithfulness = claims in the response supported by the retrieved context ÷ total claims in the response. [Ragas docs: faithfulness]
- DeepEval docs (read 20 Oct 2026): faithfulness = truthful claims ÷ total claims, where a claim is truthful if it doesn't contradict the facts in the retrieval context. [DeepEval docs: faithfulness]
- DeepEval's built-in RAGAS metric averages four RAG metrics and calls the ragas library. [DeepEval docs: RAGAS metric]
Metric names: what each library actually measures
The two libraries use many of the same metric names, and most of them are LLM-judged, but the formulas behind the names are not always the same. This table restates each library's own definition. Field names are the ones each library asks for.
| Concept | Ragas | DeepEval | Same thing? |
|---|---|---|---|
| Faithfulness | Faithfulness: claims in the response that can be inferred from the retrieved context ÷ all claims in the response (0-1). Needs user_input, response, retrieved_contexts. | FaithfulnessMetric: truthful claims ÷ all claims in actual_output, where truthful means it does not contradict the retrieval_context. Needs input, actual_output, retrieval_context. | Close, not identical: Ragas asks “supported?”, DeepEval asks “not contradicted?” |
| Answer relevancy | Answer (response) relevancy: an LLM writes 3 questions (by default) from the response; the score is the mean cosine similarity between their embeddings and the user input. Needs an embedding model; can fall outside 0-1. | AnswerRelevancyMetric: an LLM splits actual_output into statements and judges each against the input; relevant statements ÷ all statements. | Different method: embeddings vs LLM classification |
| Context precision | Context precision: mean precision@k, rewarding relevant chunks ranked near the top. With a reference answer (ContextPrecision), without one (LLMContextPrecisionWithoutReference or ContextUtilization, judged against the response), or non-LLM and ID-based variants. | ContextualPrecisionMetric: weighted cumulative precision over retrieval_context, rewarding relevant nodes ranked higher. Needs expected_output. | Same idea (ranking quality); Ragas offers more variants |
| Context recall | Context recall: claims in the reference answer that can be attributed to the retrieved context ÷ all claims in the reference. Non-LLM and ID-based variants exist. | ContextualRecallMetric: statements in expected_output attributable to retrieval_context ÷ all statements. | Same idea |
| Context relevance | Context Relevance (listed under Nvidia metrics): two independent LLM-judge calls each rate the retrieved contexts' relevance to the user input on a 0, 1, 2 scale. | ContextualRelevancyMetric: statements in retrieval_context relevant to the input ÷ all statements (signal-to-noise). | Different method and scale |
| Hallucination | No metric by that name; Faithfulness (including an HHEM-2.1-Open variant) covers grounding in retrieved context. | HallucinationMetric: compares actual_output with a ground-truth context you supply; the docs point RAG users to faithfulness instead. | No direct pair |
| Noise sensitivity | NoiseSensitivity: how often the answer has incorrect claims when using relevant or irrelevant retrieved documents (0-1, lower is better). | No metric by that name in the RAG metric docs we read. | Ragas only |
| Judge options | Pass an LLM (and embeddings for answer relevancy) through llm_factory; non-LLM variants for some context metrics. | Eval mode: llm (LLM-as-a-judge, default), hybrid (LLM extracts, Jev decides) or system_one (Jev only, no LLM). | DeepEval can run some metrics without an LLM judge |
Licence, hosting and maintenance
| Ragas | DeepEval | |
|---|---|---|
| Licence | Apache-2.0 | Apache-2.0 |
| Repository | vibrantlabsai/ragas (moved from explodinggradients/ragas) | confident-ai/deepeval |
| Who maintains it | The Ragas team, which re-launched as Vibrant Labs on 19 Nov 2025 to build simulation environments for long-horizon agents (Vibrant Labs announcement) | Confident AI, which also sells the hosted Confident AI platform |
| Languages | Python | Python, plus a TypeScript package (deepeval on npm) |
| Latest release | v0.4.4, 14 Nov 2026 (GitHub and PyPI, checked 14 Nov 2026), the first release since v0.4.3 on 13 Jan 2026; before it, the most recent commit was 24 Feb 2026 | PyPI 4.3.4, 11 Nov 2026 (checked 12 Nov 2026); most recent commit 10 Nov 2026 (checked 11 Nov 2026) |
| GitHub stars (11 Nov 2026) | 16,289 | 19,426 |
| Hosted platform | None published | Confident AI, optional: Free; Starter $200/month; Team $2,000/month (re-checked 26 Oct 2026) |
| Account needed to run | No | No; CONFIDENT_API_KEY only uploads results |
| Test-data generation | Testset generation for RAG and agents (knowledge-graph based) | Synthesizer for single- and multi-turn goldens |
| What you pay for | Judge-model and embedding API calls | Judge-model API calls |
Maintenance check: repository activity on 11 Nov 2026
Several guides compare these libraries on features alone. Before you build a test suite on either one, it is worth seeing how actively each repository is being changed. These are counts we pulled from the GitHub API and PyPI on 11 Nov 2026 (first run 26 Oct 2026, second 1 Nov 2026); they describe the past, not the future.
| Signal (11 Nov 2026) | Ragas (vibrantlabsai/ragas) | DeepEval (confident-ai/deepeval) |
|---|---|---|
| Latest PyPI release | 0.4.4 on 14 Nov 2026 (checked 14 Nov 2026; 0.4.3 on 13 Jan 2026 was the latest until then) | 4.3.4 on 11 Nov 2026 (re-checked 12 Nov; 4.3.3 on 4 Nov, 4.3.2 on 27 Oct, 4.3.1 on 16 Oct) |
| Most recent commit on the default branch | 24 Feb 2026; the one before was 31 Jan 2026 | 10 Nov 2026 |
| Pull requests merged since 25 Feb 2026 | 0 | 46 merged since 1 Oct 2026 alone (25 on 1 Nov) |
| Open pull requests | 270 (257 on 1 Nov, 251 on 26 Oct) | 493 (476 on 1 Nov, 448 on 26 Oct) |
| Open issues | 392 (387 on 1 Nov, 385 on 26 Oct) | 332 (336 on 1 Nov, 334 on 26 Oct) |
| Known security advisory | GHSA-95ww-475f-pr4f (CVE-2026-6587, published 20 Apr 2026) covers ragas 0.2.3 to 0.4.3. The v0.4.4 release notes (14 Nov 2026) say it fixes this in both the collections and legacy multimodal metrics; the advisory page itself still listed no patched version when we read it on 14 Nov 2026 (an older advisory, CVE-2025-45691, is fixed from 0.3.0) | None found for deepeval in the GitHub advisory database or OSV on 11 Nov 2026 |
| New issues and pull requests opened since 1 Oct 2026 | 52 (31 on 1 Nov) | 217 (161 on 1 Nov) |
| Usage telemetry, tested 12 Nov 2026 (one local eval, no model call, blocking proxy) | On by default: 3 connection attempts to t.explodinggradients.com (anonymous user id, metric names, row counts, LLM and embedding provider and model names). RAGAS_DO_NOT_TRACK=true: none | On by default (4.3.4, released 11 Nov 2026): 3 attempts to us.i.posthog.com (anonymous id, metric names, judge provider and model name, runtime). DEEPEVAL_TELEMETRY_OPT_OUT=1: none |
Update 14 Nov 2026: Ragas shipped v0.4.4 (GitHub release and PyPI, 14 Nov 2026), its first release in ten months. Its release notes say it makes import ragas work again on a fresh install (#2956), fixes CVE-2026-6587 in the multimodal metrics (#3105) and works with current Claude and dotted OpenAI model names. In our fresh-venv check the same day (Python 3.13.5), pip install ragas==0.4.4 pulled langchain-community 0.4.2 and import ragas worked with no pin (raw output). The paragraph below describes the state before this release.
What this shows: people are still opening issues and pull requests against Ragas (21 more in the ten days to 11 Nov), but on 11 Nov 2026 nothing had been merged into its main branch for eight and a half months, and there had been no release for ten. Its security advisory still has no fixed version, so check whether the affected multi-modal faithfulness code is in your path (details on our evaluation tools page). DeepEval kept releasing and merging changes in October and November. Both projects carry a large backlog of open pull requests.
What it does not show: why, or what happens next; we have not asked either maintainer. If you depend on Ragas, pin the version, and check the commit history yourself before a big rollout. DeepEval's own RAGAS metric calls the ragas library, so that path depends on Ragas too.
Who is behind each one: the Ragas team announced on 19 Nov 2025 that it had come out of stealth as Vibrant Labs, with a $2.5M pre-seed round, to build simulation environments for evaluating and training long-horizon agents; the repository now sits under the vibrantlabsai GitHub organisation. The announcement does not say what happens to the Ragas library, and we are not drawing a link between it and the activity counts above. DeepEval is built by Confident AI, which sells the optional hosted platform.
We installed both on 28 Oct 2026: footprint, a broken import, and what runs without a key
Feature tables don't show what happens on day one, so we installed each library into a fresh Python 3.13.5 virtual environment on Linux with plain pip install, no API keys and no model calls, then scored the same six fixed cases we used in our earlier string-check test. Scripts and raw output.
| Check (28 Oct 2026) | Ragas 0.4.3 | DeepEval 4.3.2 |
|---|---|---|
| Packages installed (pip list) | 92 | 67 |
| Disk used by the environment | 770 MB (largest: pyarrow, scipy, pandas) | 172 MB |
| Import after a fresh pip install | Failed: ModuleNotFoundError for langchain_community.chat_models.vertexai (pip resolved langchain-community 0.4.2) | Worked (import took 0.70 s) |
| Workaround we used | pip install "langchain-community==0.4.1", then import worked (1.18 to 1.21 s) | None needed |
| Extra installs for string metrics | rapidfuzz, sacrebleu and rouge_score, one per metric (ImportError until installed) | None for ExactMatchMetric and PatternMatchMetric |
| Exact match on cases c1 to c6 | 1, 0, 1, 0, 1, 0 | 1, 0, 1, 0, 1, 0 |
| Other no-LLM scores | String similarity 1, 0.8, 1, 0.57, 1, 0.94; BLEU 0, 0, 1, 0.51, 1, 0.59; ROUGE 1, 1, 1, 0.67, 1, 0.75 | PatternMatchMetric on c5: 0.0 (it requires the whole output to match the pattern) |
| Faithfulness with no key | AssertionError: LLM is not set, raised when scoring | DeepEvalError: OpenAI API key is not configured, raised when the metric is created |
The import failure matches issue #2995 on the Ragas repository, opened 4 Sep 2026 (update 14 Nov 2026: ragas 0.4.4 makes these imports optional, and in our 14 Nov check a plain pip install ragas==0.4.4 imported fine with langchain-community 0.4.2, so the pin below is only needed on 0.4.3 or older); on 28 Oct 2026 it was still open, with four open pull requests (#2957, #2979, #2991, #2997) proposing fixes. Until one is merged and released, pin langchain-community==0.4.1 (or whatever your lock file already has) next to ragas, including in the CI sketch below. Importing metrics from ragas.metrics also printed a DeprecationWarning pointing to ragas.metrics.collections.
What this does and doesn't tell you: both libraries agree on exact match, and both refuse to compute faithfulness without a judge model, so plan for a judge key and its API cost in CI either way. The install and import numbers are from one machine on one day and will change with releases; they are not a speed benchmark. A one-word answer such as "Paris" scored 0 BLEU in Ragas even when it matched, so BLEU is a poor check for short answers.
How many judge calls one score costs: we counted them on 3 Nov 2026
Both libraries use an LLM judge for faithfulness and answer relevancy, and your judge bill depends on how many requests each score makes. We pointed both at a local stand-in for the OpenAI API that logs every request, then scored one short RAG test case (a question, a two-sentence answer and three context chunks) with each library's defaults. No real model was called. Scripts and raw request logs.
| Metric, one test case (3 Nov 2026) | Ragas 0.4.3 | DeepEval 4.3.2 (reason on, the default) | DeepEval 4.3.2 (include_reason=False) |
|---|---|---|---|
| Faithfulness: chat requests | 2 | 4 | 3 |
| Faithfulness: characters sent | 7,274 | 5,552 | 4,485 |
| Faithfulness: what the requests do | Split the answer into statements, then one call judging all of them against the context | Extract truths from the context, extract claims from the answer, judge each claim, write a reason | Same, without the reason call |
| Answer relevancy: chat requests | 3, plus 2 embedding requests | 3 | 2 |
| Answer relevancy: characters sent | 7,842 | 4,025 | 2,937 |
| Answer relevancy: what the requests do | Generate a question from the answer 3 times (strictness 3), then embed and compare with the real question | Split the answer into statements, judge each against the question, write a reason | Same, without the reason call |
What this shows: Ragas made fewer requests for faithfulness but sent more text, because its prompts carry longer instructions and examples. DeepEval's reason is one extra request per metric, so if you only need the score in CI, include_reason=False cut a quarter to a third of its requests here. Ragas answer relevancy also needs an embedding model, which is a second provider setting to configure and pay for.
What it does not show: real token bills. We counted characters, not tokens, and the follow-up requests grow with the number of claims a real judge finds (our stand-in always returned two). Longer contexts make every request that includes the context bigger. The scores themselves mean nothing here, since the stand-in always answered yes. Change Ragas's strictness or DeepEval's settings and the counts change too.
Running Ragas metrics inside DeepEval: we ran the wrapper on 7 Nov 2026
A common answer to “Ragas or DeepEval?” is to use both, and DeepEval makes that look easy: it ships wrapper metrics (RAGASFaithfulnessMetric, RAGASContextualPrecisionMetric, RAGASContextualRecallMetric and others) that call the ragas library from a DeepEval test. We installed both into fresh virtual environments and scored one RAG test case with three wrappers, the judge pointed at a local stand-in for the OpenAI API (no real model, no API key). Scripts and raw output.
| Check (7 Nov 2026) | Plain install: deepeval 4.3.3 + ragas 0.4.3 + langchain-openai | Same, plus langchain-community==0.4.1 |
|---|---|---|
| langchain-community version pip chose | 0.4.2 | 0.4.1 (pinned) |
| Faithfulness, contextual precision, contextual recall wrappers | All three failed before any judge call | All three returned a score |
| Error you see | ModuleNotFoundError: “Please install ragas to use this metric”, although ragas 0.4.3 was installed. The real cause, higher up the traceback, is No module named 'langchain_community.chat_models.vertexai' raised by import ragas | None |
| Judge requests per score | 0 | 2 (faithfulness), 3 (precision), 1 (recall) |
| When the judge's reply can't be parsed | Not reached | Ragas sent 3 extra “fix the output” requests (5 in total), then the wrapper returned NaN, raised no exception and the script exited 0 |
Update 14 Nov 2026: on ragas 0.4.4 a plain install imports cleanly in our check (raw output), so upgrade ragas first; we have not re-run the DeepEval wrapper metrics on 0.4.4. What this meant on 0.4.3: if you want Ragas metrics in a DeepEval suite, pin langchain-community==0.4.1 next to ragas (the import break is Ragas issue #2995, opened 4 Sep 2026 and still open on 7 Nov 2026), and don't trust the “please install ragas” message. Make your CI fail on NaN scores, not only on exceptions, because a judge that returns malformed JSON produces NaN quietly here. DeepEval's own faithfulness and contextual metrics don't depend on the ragas package.
Where the projects stand on 7 Nov 2026: Ragas's latest PyPI release is still 0.4.3 (13 Jan 2026) and its last commit on the main branch is from 24 Feb 2026; DeepEval released 4.3.3 on 4 Nov 2026 (PyPI). See the maintenance check for the 1 Nov counts.
Is Ragas or DeepEval more accurate? What two independent tests found
Most comparisons list features. We looked for published tests that put Ragas and DeepEval metrics on the same data and checked them against human labels, and found two, read on 30 Oct 2026. Neither is ours, and neither crowns a winner.
| Study (read 30 Oct 2026) | Set-up | What it found for Ragas and DeepEval |
|---|---|---|
| eval-framework-benchmark (Multivon, run 26 Jun 2026) | Faithfulness on 100 RAGTruth summaries (51 hallucinated, 49 faithful), same gpt-4o-mini judge at temperature 0 for every library; DeepEval 4.0.2, RAGAS 0.4.3. Maintained by Multivon, whose own multivon-eval was also tested. | At the default 0.5 threshold both flagged almost nothing: F1 0.038, recall 0.02. At the best swept threshold (0.95): DeepEval F1 0.609, RAGAS 0.812 (multivon-eval 0.837). RAGAS errored on 4 of 100 cases and ran about 15 times slower. Single run; the README puts the 95% interval on F1 at about ±10 points. |
| Brabant, Orange Research, arXiv 2607.07302 (EvalLLM 2026) | 96 French business questions answered by one RAG system; metrics from Ragas, DeepEval, RAGChecker and Opik correlated with two human raters (inter-rater correlation 0.85). | DeepEval's contextual precision correlated above 0.5 with the human recall scores without needing reference spans. Ragas's non-LLM context metrics correlated very weakly, which the author links to Levenshtein matching across spans of very different sizes. Answer-level metrics such as faithfulness and hallucination correlated weakly with overall human scores, as expected for metrics that use no reference answer. |
What to take from it: the threshold you pick matters more than the library. With an uncalibrated 0.5 cut-off, neither library caught hallucinations in that benchmark, so label 50 to 100 of your own cases and choose the threshold on them before you gate CI on a score.
What it does not show: either library is more accurate in general. The first study is run by a competing vendor on one dataset and one judge; the second uses one RAG system in French, and its author says the aim is not to rank the metrics and that the confidence intervals are wide. We did not rerun either study.
Maintenance re-check on 30 Oct 2026: issue #2995 was still open, the last commit on Ragas's main branch was still 24 Feb 2026, and ragas 0.4.3 was still the latest release. DeepEval's last commit was on 29 Oct 2026 and its latest release was 4.3.2 (27 Oct 2026).
Gating CI on a score
Both libraries can fail a build when quality drops. The difference is shape: Ragas scores a whole dataset and you assert on the aggregate; DeepEval asserts per test case with a threshold on each metric. These are sketches adapted from each library's CI docs. We have not run them, and the thresholds are placeholders, not recommendations.
Ragas: assert on dataset-level scores (run with pytest)
from ragas import evaluate
from ragas.metrics import faithfulness, answer_relevancy
def test_rag_quality(eval_dataset): # your questions, contexts and your pipeline's answers
result = evaluate(eval_dataset, metrics=[faithfulness, answer_relevancy], in_ci=True)
assert result["faithfulness"] >= 0.8
assert result["answer_relevancy"] >= 0.8DeepEval: assert per test case (run with deepeval test run test_rag.py)
from deepeval import assert_test
from deepeval.metrics import FaithfulnessMetric, AnswerRelevancyMetric
from deepeval.test_case import LLMTestCase
def test_refund_answer():
test_case = LLMTestCase(
input="What if these shoes don't fit?",
actual_output=my_rag_app("What if these shoes don't fit?"), # your app
retrieval_context=["All customers are eligible for a 30 day full refund."],
)
assert_test(test_case=test_case, metrics=[FaithfulnessMetric(threshold=0.8), AnswerRelevancyMetric(threshold=0.8)])Ragas's docs say in_ci=True runs the metrics in a mode that is more reproducible but costlier. DeepEval's docs say the same deepeval test run command works in any CI that runs a shell step (GitHub Actions, GitLab CI, CircleCI, Jenkins).
New since 16 Oct 2026: DeepEval ships a setup wizard. Running deepeval setup (Python) or npx deepeval setup (TypeScript) downloads a pinned, checksum-verified binary that walks a coding agent through building and running a component-level evaluation in your project. It first asks whether to use Confident AI; answering no skips sign-in and still sets up a local evaluation. Its README says macOS and Linux are supported for now. Ragas has no equivalent wizard in its docs.
Pick Ragas if, pick DeepEval if
Pick Ragas if you want dataset-level RAG scores while tuning retrieval, need noise-sensitivity or the several context-precision variants, or want knowledge-graph based test-set generation. Its latest release is from January 2026, so check the repository for activity that matters to you.
Pick DeepEval if you want pass/fail LLM tests next to your unit tests, agent and multi-turn metrics, a TypeScript option, a judge mode that can run without an LLM for some metrics, or an optional hosted dashboard with published prices.
Using both is fine, as long as each metric comes from one library. For platforms that store traces and run these scores over time, see LLM evaluation tools compared; if neither library fits, DeepEval and Confident AI alternatives lists other frameworks and hosted platforms with checked entry prices.
FAQ
Can I use Ragas and DeepEval together?
Yes. DeepEval ships wrapper metrics that call the ragas library, such as RAGASFaithfulnessMetric. In our 7 Nov 2026 test (deepeval 4.3.3, ragas 0.4.3) they only worked after pinning langchain-community to 0.4.1; on a plain install DeepEval reported "Please install ragas" even though ragas was installed. Keep each tool's scores separate, because the definitions differ.
Which is easier to put in CI?
DeepEval is built around pytest-style tests, which makes CI gates straightforward; Ragas is oriented to dataset-level evaluation runs, and its docs show a pytest gate using evaluate(..., in_ci=True).
What is the difference between Ragas faithfulness and DeepEval faithfulness?
Both split the answer into claims and check them against the retrieved context, but they count differently. Ragas counts a claim only if it can be inferred from the context. DeepEval counts a claim as truthful if it does not contradict the context. By those definitions, a claim the context says nothing about lowers the Ragas score but not the DeepEval score.
How is Ragas faithfulness calculated?
Ragas identifies every claim in the response, checks whether each can be inferred from the retrieved context, and divides the supported claims by the total. The score runs from 0 to 1, higher is better. It needs the user input, the response and the retrieved contexts, plus an LLM to extract and judge claims.
Why does Ragas faithfulness return NaN?
It is a known, reported behaviour rather than a bug in your data alone. Ragas's own issue tracker has several reports: #733 (March 2024, closed) and #1309 (September 2024, open) report NaN faithfulness scores, #1444 ties it to runs where no statements were generated from the answer, and #2806 (July 2026) notes that Faithfulness returns NaN when no claims can be extracted. Check the judge model's output and empty or refusal answers first.
Is DeepEval faithfulness the same as its hallucination metric?
No. Faithfulness checks the answer against the retrieval_context your RAG pipeline returned. HallucinationMetric compares the answer with a separate context you supply as ground truth. DeepEval's docs point RAG users to faithfulness.
Does DeepEval use Ragas under the hood?
Only for its RAGASMetric and the four RAGAS* metrics, which call the ragas library. DeepEval's default RAG metrics (FaithfulnessMetric, AnswerRelevancyMetric, ContextualPrecisionMetric and so on) are its own implementations.
Do I need a Confident AI account to use DeepEval in CI?
No. DeepEval's CI docs say an LLM judge key such as OPENAI_API_KEY is enough and tests run locally; CONFIDENT_API_KEY is optional and only sends results to Confident AI.
What does it cost to run Ragas or DeepEval?
Both libraries are free (Apache-2.0). You pay for the judge model's API calls, which grow with the number of test cases and metrics. Ragas's CI mode (in_ci=True) is described in its docs as more reproducible but costlier. Confident AI, DeepEval's optional hosted platform, lists Free, Starter at $200/month and Team at $2,000/month (checked 20 Oct 2026).
Ragas vs DeepEval vs Promptfoo?
Promptfoo is a different shape: an MIT command-line tool configured in YAML that compares prompts and models and red-teams apps, now part of OpenAI. See DeepEval vs Promptfoo and Promptfoo alternatives.
Ragas vs DeepEval vs LangSmith?
LangSmith is a hosted tracing and evaluation platform, not a metric library, and Ragas documents a LangSmith integration. If you are weighing the platform, see the LangSmith review and LangSmith pricing.
Sources
- Ragas docs: Faithfulness
- Docs: faithfulness metric
- Docs: RAGAS metric
- Paper (arXiv)
- vibrantlabsai/ragas on GitHub (Apache-2.0)
- Documentation
- confident-ai/deepeval on GitHub (Apache-2.0)
- Docs: getting started
- Vibrant Labs: Hello World, the Ragas team's launch post (19 Nov 2025, read 1 Nov 2026)
- Multivon eval-framework-benchmark: README and results (read 30 Oct 2026)
- Brabant, arXiv 2607.07302: RAG metric correlation with human judgement (read 30 Oct 2026)
- Ragas issue #2995: vertexai import error (read 28 Oct 2026)
- Our raw output: install and no-key test (28 Oct 2026)
- Ragas commit history on GitHub
- Ragas open pull requests
- ragas on PyPI
- deepeval on PyPI
- DeepEval pull requests
- Ragas docs: Response (answer) relevancy
- Ragas docs: Context precision
- Ragas docs: Context recall
- Ragas docs: Noise sensitivity
- Ragas docs: Nvidia metrics (context relevance)
- Ragas docs: Adding to your CI pipeline with Pytest
- DeepEval docs: Answer relevancy
- DeepEval docs: Contextual precision
- DeepEval docs: Contextual recall
- DeepEval docs: Contextual relevancy
- DeepEval docs: Hallucination
- DeepEval docs: Unit testing in CI/CD
- DeepEval docs: Golden Synthesizer
- DeepEval release setup-v0.1.0 (16 Oct 2026)
- DeepEval setup wizard README
- Ragas issue #733: NaN when evaluating faithfulness
- Ragas issue #1309: faithfulness_score: nan
- Ragas issue #1444: no statements generated, Faithfulness nan
- Ragas issue #2806: Faithfulness returning NaN when no claims
- Confident AI pricing
Other comparisons: SWE-bench vs SWE-bench-Live · HumanEval vs BigCodeBench · HumanEval vs LiveCodeBench · MMLU vs GPQA · AlpacaEval vs MT-Bench (LLM-as-a-judge paper) · MT-Bench (LLM-as-a-judge paper) vs LMArena (Chatbot Arena) · BEIR vs MTEB Leaderboard · WebArena vs OSWorld · HarmBench vs StrongREJECT · GAIA vs BrowseComp · SWE-Bench Pro vs SWE-bench Verified · Terminal-Bench vs SWE-bench · MMLU vs MMLU-Pro · GPQA vs Humanity's Last Exam · Terminal-Bench 2.1 vs Terminal-Bench 4.0 · ARC-AGI-2 vs ARC-AGI-3 · LiveCodeBench vs SWE-bench · LLM-as-a-Judge vs Agent-as-a-Judge · DeepEval vs Promptfoo
Discussion
No one has discussed Ragas vs DeepEval yet. Have you run it? Share what it caught, what it missed or how you set it up.