DeepEval vs Promptfoo

As of 24 Oct 2026, both are open source: DeepEval under Apache-2.0, Promptfoo under MIT and now part of OpenAI.

DeepEval or Promptfoo? Pick DeepEval if your team writes Python and wants pytest-style pass/fail metrics on each test case; pick Promptfoo if you want one YAML config that compares prompts and models from a CLI and also red-teams the app. Both are free and open source (DeepEval under Apache-2.0, Promptfoo under MIT and now part of OpenAI), both can fail a CI build, and metrics with similar names are not defined the same way, so never compare a DeepEval score with a Promptfoo score.

Last updated 2026-11-12 · Evals Review editorial team

Quick picks by need

If you need…Look atWhy (sourced further down)
LLM checks inside an existing pytest suiteDeepEvalTest cases are Python objects and deepeval test run uses its Pytest integration; see the concept map.
Compare several models or prompt versions side by sidePromptfooOne YAML file lists prompts, providers and tests, and promptfoo eval runs every combination; see the concept map.
Test cases kept in a spreadsheetPromptfooTests load from CSV, Excel or Google Sheets, with __expected columns for assertions. DeepEval loads goldens from CSV, JSON or JSONL files in code.
Red teaming in the same toolPromptfooBuilt in (promptfoo redteam, 10k probes a month on the free Community plan). DeepEval's is a separate package, DeepTeam; see red teaming.
Agent and multi-turn metrics written in PythonDeepEvalTask completion, tool correctness and conversational test cases; see the metric mapping.
A hosted dashboard for resultsEither (paid layer)Confident AI for DeepEval (Free plan: 2 seats, 5 test runs a week); Promptfoo has a local promptfoo view and Enterprise plans at custom prices.

A shortcut to the sourced sections below (checked 2026-11-03), not a ranking or a test result.

DeepEvalPromptfoo
Made byConfident AIPromptfoo (now part of OpenAI)
MaintainerConfident AIPromptfoo, now part of OpenAI
LicenseApache-2.0MIT
How you write testsPython test cases, pytest-style (TypeScript package on npm too)Declarative YAML config; JavaScript or Python assertions for custom checks
Rundeepeval test runpromptfoo eval, promptfoo view
LLM-judged metricsFaithfulness, answer relevancy, contextual precision/recall/relevancy, G-Eval, DAG, task completion, tool correctness, multi-turn metricsllm-rubric, g-eval, factuality, context-faithfulness, context-recall, context-relevance, answer-relevance, conversation-relevance, model-graded-closedqa
Deterministic checksTool correctness is partly deterministic; DAG can make scores deterministicMany: equals, regex, is-json, rouge, bleu, levenshtein, latency, cost, tool-call-f1, trajectory checks
Red teamingSeparate library, DeepTeam (Apache-2.0), built on DeepEvalBuilt in: promptfoo redteam
CIdeepeval test run fails the build when a metric is under thresholdpromptfoo eval exits with code 100 on failures; official GitHub Action
LicenseApache-2.0MIT

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 DeepEval if your team writes Python and wants LLM checks inside the existing test suite, with per-test-case thresholds and agent or multi-turn metrics.

Use Promptfoo if you want to compare prompts and models from one config, mix cheap deterministic assertions with LLM-graded ones, or scan an app for vulnerabilities.

Dated numbers

  • Ownership: on 9 Mar 2026 Promptfoo announced it had agreed to be acquired by OpenAI, and said it will remain open source (read 2 Nov 2026). [Promptfoo blog: Promptfoo is joining OpenAI]
  • Promptfoo README (read 24 Oct 2026): Promptfoo is now part of OpenAI and remains open source and MIT licensed. [Promptfoo repository]
  • Promptfoo docs (read 24 Oct 2026): context-faithfulness = supported claims ÷ total claims; default threshold 0.5. [Promptfoo docs: context-faithfulness]
  • DeepEval docs (read 24 Oct 2026): faithfulness = truthful claims ÷ total claims, where a claim is truthful if it does not contradict the retrieval context; default threshold 0.5. [DeepEval docs: faithfulness]

Leaving OpenAI's hosted Evals: where each tool stands (1 Nov 2026)

OpenAI's deprecations page says existing evals on its hosted Evals platform became read-only on 31 Oct 2026, and the Evals dashboard and API are scheduled to shut down on 30 Nov 2026. If that is why you are choosing between these two, this is what each side offers today.

DeepEvalPromptfoo
Named in OpenAI's migration guideNoYes: OpenAI's Cookbook guide Moving from OpenAI Evals to Promptfoo recommends it
Bringing old results acrossNot covered by OpenAI's guide; you rewrite each eval as Python test casespromptfoo import reads an OpenAI Evals dashboard export (pull request #9305, merged 21 May 2026). That brings in past results, not a config you can rerun
Rebuilding the evals themselvesBy hand, as LLMTestCase objects and metricsBy hand, as a promptfooconfig.yaml, following OpenAI's guide
Who owns itConfident AI (confident-ai/deepeval)Promptfoo, now part of OpenAI (README)

Why the owner row can matter: if you are leaving one OpenAI product, some teams want their next eval tool outside the same company and some prefer to stay on OpenAI's recommended path. Both libraries are open source (DeepEval Apache-2.0, Promptfoo MIT) and run without an account, so either choice is reversible.

Before 30 Nov 2026, save what you need from the hosted platform; our OpenAI Evals page has an export checklist built from OpenAI's own docs.

Read on 1 Nov 2026: OpenAI's Cookbook migration guide and promptfoo pull request #9305; the read-only and shutdown dates are from OpenAI's deprecations page (read 31 Oct 2026). We have not run promptfoo import on a real export ourselves.

Metric mapping: DeepEval metric to nearest Promptfoo assertion

Most of these are LLM-judged in both tools, but a shared name does not mean a shared formula. Each row restates the tool's own definition and links to the doc it comes from. “Nearest” means our mapping of the closest assertion, not an equivalence either project claims.

ConceptDeepEvalPromptfooSame thing?
Faithfulness (grounding)FaithfulnessMetric: truthful claims ÷ all claims in actual_output; truthful = not contradicted by retrieval_context. Default threshold 0.5. metrics-faithfulnesscontext-faithfulness: claims supported by the context ÷ all claims. Needs query and context vars (or contextTransform). Default threshold 0.5. context-faithfulnessClose, not identical: “not contradicted” vs “supported”
Answer relevancyAnswerRelevancyMetric: an LLM splits actual_output into statements; relevant statements ÷ all statements. metrics-answer-relevancyanswer-relevance: an LLM writes questions from the output, then embedding similarity to the original query. Needs a text and an embedding provider. answer-relevanceDifferent method: statement classification vs embeddings
Context recallContextualRecallMetric: statements in expected_output attributable to retrieval_context ÷ all statements. metrics-contextual-recallcontext-recall: statements in the expected answer (value) attributable to the context ÷ all statements; binary attribution per statement. context-recallSame idea
Context relevanceContextualRelevancyMetric: statements in retrieval_context relevant to the input ÷ all statements. metrics-contextual-relevancycontext-relevance: sentences minimally required to answer the query ÷ all sentences. The docs warn a low score can mean good or bad retrieval. context-relevanceDifferent: “relevant” vs “minimum required”
Context precision (ranking)ContextualPrecisionMetric: weighted cumulative precision over retrieval_context, rewarding relevant nodes ranked higher. Needs expected_output. metrics-contextual-precisionNo ranking-aware assertion in the model-graded list. model-gradedDeepEval only
Hallucination vs referenceHallucinationMetric: compares actual_output with a ground-truth context you supply (not retrieval_context). metrics-hallucinationNearest: factuality, based on OpenAI evals' fact prompt; classifies output vs a reference answer (subset, superset, same, disagree, immaterial difference); only “disagree” fails by default. factualityNearest, not identical
G-EvalGEval: criteria → chain-of-thought evaluation steps → score, normalised with token probabilities by default. Default threshold 0.5. metrics-llm-evalsg-eval: based on the G-Eval paper; array criteria are averaged. Default threshold 0.7. g-evalSame paper, different defaults
Custom rubric / decision treeDAG: decision-tree LLM judge for objective or mixed criteria, can make scores deterministic. metrics-dagNearest: llm-rubric (natural-language rubric, optional threshold) or model-graded-closedqa (yes/no). llm-rubricNearest; no decision-tree assertion
Tool use (agents)ToolCorrectnessMetric: correctly used tools ÷ tools called, starting from a deterministic score. metrics-tool-correctnesstool-call-f1 (F1 of called vs expected tools), trajectory:tool-used, trajectory:tool-sequence, trajectory:tool-args-match (deterministic). deterministicDifferent formula (ratio vs F1)
Task completion (agents)TaskCompletionMetric: an LLM extracts task and outcome from the trace and scores their alignment. metrics-task-completionNearest: trajectory:goal-success (model-graded, over a trace). assertionsNearest
Multi-turn relevanceTurn Relevancy (formerly Conversation Relevancy), on a ConversationalTestCase. metrics-turn-relevancyconversation-relevance: sliding windows over the conversation; share of windows judged relevant. Its docs say it is adapted from DeepEval's Turn Relevancy. conversation-relevanceSame origin, per Promptfoo's docs
Exact and string checksJson Correctness is listed among its metrics; for other string or exact-match checks, write a custom metric (subclass BaseMetric). metrics-introductionequals, contains, regex, is-json, rouge, bleu, levenshtein, latency, cost and more, no grader needed. deterministicWide built-in set in Promptfoo only

Read on 24 Oct 2026 in each tool's metric docs. Takeaway: pick one tool per metric and keep it fixed across runs; a 0.8 in one is not a 0.8 in the other.

Licence, hosting, pricing and releases

DeepEvalPromptfoo
LicenceApache-2.0MIT
Owner (per official source)Confident AI (confident-ai/deepeval)Promptfoo, now part of OpenAI (README)
Installpip install -U deepeval; TypeScript: deepeval on npm (0.9.23, 16 Oct 2026)npm install -g promptfoo, brew install promptfoo, pip install promptfoo, or npx promptfoo@latest; Node 22.22.0 or newer
Latest release (re-checked 12 Nov 2026)PyPI 4.3.4 (11 Nov 2026; 4.3.3 was 4 Nov)0.125.1 (25 Oct 2026, bug-fix), still the latest on npm
GitHub stars (11 Nov 2026)19,42627,048
Red teamingDeepTeam, separate Apache-2.0 package: PyPI 1.0.10 (16 Oct 2026), 3,042 starsBuilt in (promptfoo redteam); free plan includes 10k probes a month
Free tier of the paid layerConfident AI Free: 2 seats, 1 project, 5 test runs a week, 1 GB-month of trace spansCommunity: free forever, all evaluation features, red teaming up to 10k probes a month, local or self-hosted
Paid plansConfident AI Starter $200/month and Team $2,000/month per organization; Enterprise customEnterprise and On-Premise: custom pricing
Self-host the paid layerDedicated on-prem deployment listed under Confident AI EnterpriseOn-Premise plan; Community can self-host
Account needed to runNo; CONFIDENT_API_KEY only uploads resultsNo
What you pay for when self-runJudge-model API callsModel and grader API calls

Prices re-read unchanged on 26 Oct 2026, check the vendor site: Confident AI pricing and Promptfoo pricing (linked in Sources). Stars and latest releases re-checked on the GitHub API, npm and PyPI on 1 Nov 2026 (licences and the DeepTeam row from 24 Oct). Dates are facts, not a judgement about either project.

Concept map: the same job in each tool

Moving a suite from one tool to the other, or running both? Each row pairs the closest equivalents in the two tools' docs (read 26 Oct 2026). They are not identical: check the linked docs before you port a test.

JobDeepEvalPromptfoo
One testAn LLMTestCase: input and actual_output are required; expected_output, context, retrieval_context and tools_called are optionalOne entry under tests: with vars (filled into the prompt) and a list of assert items
What gets testedYour own app: you call it in code and put its answer in actual_outputprompts × providers: Promptfoo calls each listed model or endpoint itself and fills in the output
A checkA metric object with a threshold, e.g. FaithfulnessMetric or GEvalAn assert type with an optional threshold, e.g. context-faithfulness, llm-rubric, equals, is-json
Checks shared by every testPass the same metrics list to evaluate() or assert_test()defaultTest: in the config
Test data in filesEvaluationDataset of goldens: load from CSV, JSON or JSONL, save_as() to the same formats, or push and pull from Confident AItests: file:// pointing to YAML, CSV, Excel (with the read-excel-file package) or Google Sheets; column headers become vars, __expected columns become asserts
Rundeepeval test run test_file.py (uses its Pytest integration), or evaluate() in a scriptpromptfoo eval, then promptfoo view for the local results UI
Run in parallel-n 4 (processes)-j 4 (--max-concurrency, concurrent API calls)
Reuse earlier results-c reads the local cache instead of re-scoringResults disk cache; --no-cache skips reading and writing it, promptfoo cache clear empties it
Repeat each test-r 2--repeat 2
Re-run only failuresNot listed among the test run flags we read--filter-failing with a previous output file or eval ID
Name a run-id "My run" (or identifier= in evaluate())--description
Export resultsShown in the terminal; uploaded to Confident AI when logged in-o to CSV, JSON, JSONL, YAML, HTML, XML or junit.xml

Flags from DeepEval's flags-and-configs page and Promptfoo's command-line page, read 26 Oct 2026. A row means the docs describe the feature, not that we ran it.

CI gate: fail the build when quality drops

Sketch based on each tool's docs; the code below was not run by us (the exit codes in the next section were). Both tools can turn a failed check into a red build; the shape differs. DeepEval asserts per test case inside pytest. Promptfoo runs the whole config and returns exit code 100 if any test fails or the pass rate is under PROMPTFOO_PASS_RATE_THRESHOLD (default 100%). Thresholds below are placeholders, not recommendations.

DeepEval: per-test-case assertion (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():
    question = "What if these shoes don't fit?"
    test_case = LLMTestCase(
        input=question,
        actual_output=my_rag_app(question),  # your app
        retrieval_context=["All customers are eligible for a 30 day full refund."],
    )
    assert_test(test_case=test_case, metrics=[FaithfulnessMetric(threshold=0.7), AnswerRelevancyMetric(threshold=0.7)])

Promptfoo: promptfooconfig.yaml (run with npx promptfoo@latest eval -c promptfooconfig.yaml -o results.json)

prompts:
  - file://prompts/answer.txt
providers:
  - openai:gpt-5
tests:
  - vars:
      query: "What if these shoes don't fit?"
      context: "All customers are eligible for a 30 day full refund."
    assert:
      - type: context-faithfulness
        threshold: 0.7
      - type: contains
        value: refund
      - type: latency
        threshold: 5000

GitHub Actions steps (one job per tool)

# DeepEval (from its CI/CD docs)
- run: poetry run deepeval test run test_rag.py
  env:
    OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}

# Promptfoo: exit code 100 fails the step;
# allow up to 5% failing tests with PROMPTFOO_PASS_RATE_THRESHOLD
- run: npx promptfoo@latest eval -c promptfooconfig.yaml -o results.json
  env:
    OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
    PROMPTFOO_PASS_RATE_THRESHOLD: 95

DeepEval's CI docs say the same deepeval test run command works in any CI that runs a shell step, and that flaky=True on a test case or metric records a failure without failing the build. Promptfoo's CI docs show GitHub Actions, GitLab and Jenkins examples, a --fail-on-error flag and npx promptfoo@latest redteam run for security scans in the pipeline.

For pull-request review, Promptfoo also has an official GitHub Action (promptfoo/promptfoo-action) that runs a before-and-after eval on PRs that change prompts and posts a link to the results. DeepEval's equivalent is a regression comparison against an official run on Confident AI (deepeval test run --official), which needs a CONFIDENT_API_KEY.

We ran both CI gates: exit codes on 28 Oct 2026

A CI step fails when the command exits with a non-zero code, so we checked what each tool actually returns. Same two test cases in both tools, one built to pass and one to fail, using deterministic checks only (no model, no API key, telemetry off). DeepEval 4.3.2 ran its pytest-based deepeval test run; Promptfoo 0.125.1 ran promptfoo eval --no-cache --no-share with its echo provider on Node 22. Scripts and raw output.

Run (28 Oct 2026)DeepEval 4.3.2Promptfoo 0.125.1
1 passing + 1 failing caseExit 1 (“1 failed, 1 passed”, pytest's code for failed tests)Exit 100
Both cases passingExit 0Exit 0
Allow some failuresNo pass-rate threshold in the CI docs we read; instead, mark a test case flaky=True (LLMTestCase) and a failure prints a warning instead of raising, so the build keeps going (CI docs)PROMPTFOO_PASS_RATE_THRESHOLD=50 with a 50% pass rate: exit 0, so the failing case did not fail the step
Change the failure codeNot documented in the CI docs we readPROMPTFOO_FAILED_TEST_EXIT_CODE overrides 100 (command-line docs); exit 1 is used for other errors
Runtime neededPython with deepeval installed (we used 3.13.5)Node 22 or newer for 0.125.1: on Node 20.19.2 npm printed EBADENGINE warnings for dependencies that need Node >= 22.19

What to take from it: if your CI checks for any non-zero code, both tools gate correctly out of the box. If a wrapper script checks for exit 1 only, Promptfoo's 100 slips through. Promptfoo's command-line docs, read 28 Oct 2026, say it returns 100 “when there is at least 1 test case failure or when the pass rate is below the threshold”; in our run the threshold decided, so a 95 threshold lets up to 5% of cases fail without a red build. Test your threshold with one deliberately failing case before you rely on it.

These were deterministic checks, so they say nothing about LLM-judged metrics, which need a judge model and its API key in CI (see the sketch above).

Run on the box (Linux) on 28 Oct 2026 around 11:10-11:20 IST. Docs read the same day: Promptfoo command-line page and DeepEval's unit testing in CI/CD page (both in Sources). Versions from PyPI (deepeval 4.3.2, released 27 Oct 2026) and npm (promptfoo 0.125.1, 25 Oct 2026).

What a second run costs: each tool's default cache, run twice on 7 Nov 2026

Model-graded checks bill a judge call every time they run, so whether a re-run reuses earlier results changes your CI bill. Comparisons of these two tools say both can run in CI; none we read says which one caches by default. We ran each tool twice in a row on the same machine, with one LLM-judged test case and the judge pointed at a local stand-in for the OpenAI API that logs every request (no real model, no API key). Scripts and raw request logs.

Run (7 Nov 2026)DeepEval 4.3.3 (deepeval test run, FaithfulnessMetric)Promptfoo 0.125.1 (promptfoo eval, llm-rubric)
First run, defaults4 requests to the judge2 requests (the answer from the model under test, then the grade)
Second run, defaults, nothing changed4 requests again: no cache is read unless you ask0 requests: answer and grade both came from the cache
Turning caching on or offPass -c to deepeval test run; the second -c run made 0 requestsOn by default; --no-cache brought it back to 2 requests
Where the cache lives.deepeval/.deepeval-cache.json in the folder you run from~/.promptfoo/cache/cache.json in the home directory
Written whenOn every run, with or without -cBy our default (cached) runs; we did not check whether --no-cache runs write to it
Known cache-key gap (added 11 Nov 2026)In releases up to and including 4.3.3, changing only a G-Eval rubric still hit the cache, so a tightened rubric could return the old passing score with 0 judge calls. Fixed on the main branch on 10 Nov 2026 (pull request #3579, closing issue #3578) and shipped in deepeval 4.3.4 (PyPI, 11 Nov 2026): on 12 Nov we found the rubric in the cache key of the published 4.3.4 package (deepeval/test_run/cache.py). We have not re-run the cache test on 4.3.4Not checked: we found no equivalent report for llm-rubric, and we did not test it

What this means for you: in a CI job that keeps its home directory between runs, Promptfoo will not call the judge again for an unchanged test, which saves money but also means a cached result is not a fresh check. Use --no-cache (or clear ~/.promptfoo/cache) for release gates. DeepEval pays for the judge on every run unless you pass -c, and because it writes the cache file even on runs without -c, a later -c run in the same folder reuses those earlier scores. Add .deepeval/ to .gitignore, and decide on purpose whether your CI cache keeps it.

What it does not show: which changes count as a cache miss. We only re-ran identical inputs, and the stand-in judge always gives the same answer, so the scores mean nothing; this counts requests only. One miss rule we now know from DeepEval's own fix: until a release after 4.3.3 ships pull request #3579, its cache key records a G-Eval's criteria and evaluation steps but not its rubric, so if you edit only the rubric of a G-Eval and run with -c, clear .deepeval/ first or you may get the old score (pull request #3579, read 11 Nov 2026; we did not re-run this ourselves).

Run on the box (Linux) on 7 Nov 2026 around 11:23 IST, one pair of runs per setting, same HOME and working directory within each pair. Versions: deepeval 4.3.3 (PyPI, 4 Nov 2026) on Python 3.13.5, promptfoo 0.125.1 (npm, 25 Oct 2026) on Node 24; telemetry opt-outs set. Judge: a local OpenAI-compatible stand-in, model name llama3.1:8b.

We ran both with no API key on 30 Oct 2026: install size and what each contacts by default

If your CI runs behind a firewall or must not phone home, the first run matters. We installed each tool fresh and ran one deterministic test (“Paris” must equal “Paris”, no model, no key) while logging every DNS lookup the process made. DeepEval 4.3.2 on Python 3.13.5; Promptfoo 0.125.1 on Node 22 with its echo provider and --no-cache --no-share. Scripts and raw output.

Check (30 Oct 2026)DeepEval 4.3.2Promptfoo 0.125.1
Install footprint67 packages, 173 MB (whole virtual environment)580 entries in npm ls --all, 653 MB of node_modules
Runtime it asks forPythonNode 22.22 or newer (package.json engines); on Node 20.19.2 npm printed 55 EBADENGINE warnings
Hosts looked up, default settingsus.i.posthog.com (1 lookup)a.promptfoo.app (1), api.promptfoo.dev (1), r.promptfoo.app (4)
With telemetry turned offNone (DEEPEVAL_TELEMETRY_OPT_OUT=1)api.promptfoo.dev (1), r.promptfoo.app (1) with PROMPTFOO_DISABLE_TELEMETRY=1
Also turning off the update checkNot neededr.promptfoo.app (1) with PROMPTFOO_DISABLE_UPDATE=1 as well
Re-run on 12 Nov 2026 through a blocking proxy (DeepEval 4.3.4, Promptfoo 0.125.1)Default: us.i.posthog.com (3 connection attempts). Opted out: noneDefault: a.promptfoo.app (1), r.promptfoo.app (4). Telemetry and update check off: r.promptfoo.app (1)
What the leftover r.promptfoo.app call is (code read 12 Nov 2026)No leftover callOne feature_used event saying “telemetry disabled”, sent once per run when PROMPTFOO_DISABLE_TELEMETRY is set. It carries the local promptfoo user id, package version, a CI flag and, if an account is saved in your local config, its email
Exit code, every run00

What the docs say is sent (read 30 Oct 2026): DeepEval's data-privacy page says it uses PostHog for anonymous usage telemetry, on by default, covering event and metric names, whether you run in Jupyter, the storage backend, an anonymous ID and your public IP for coarse regional analytics. Promptfoo's telemetry page says telemetry is on by default and records the commands you run and assertion types used, plus version and CI status (and your user ID and email if you are logged in). Both say they do not send prompts or outputs.

What to take from it: set DEEPEVAL_TELEMETRY_OPT_OUT=1 for DeepEval, and PROMPTFOO_DISABLE_TELEMETRY=1 plus PROMPTFOO_DISABLE_UPDATE=1 for Promptfoo, in CI. Even then, Promptfoo 0.125.1 still contacts r.promptfoo.app once. On 12 Nov 2026 we found why in its published code: turning telemetry off sends a single “telemetry disabled” event, which its telemetry docs (read 12 Nov) do not mention. If your CI must make no outbound calls at all, block r.promptfoo.app (or all egress) and run your suite once to confirm it still passes.

These were host-name lookups only; we did not inspect what was sent. One run each, on one machine and one day; the wall times (1.3 to 1.9 s) include process start and are not a speed benchmark.

Run on the box (Linux) on 30 Oct 2026 around 11:15-11:25 IST, with a fresh empty HOME for each run. DNS lookups were logged in-process (Python socket.getaddrinfo, Node dns.lookup). Docs read the same day: DeepEval data privacy and Promptfoo telemetry (both in Sources).

Red teaming

Promptfoo has red teaming in the same CLI: per its docs it generates adversarial inputs, runs them against your target and reports vulnerabilities, either one-off or in CI. The free Community plan includes 10k probes a month, where a probe is one request to your target (pricing FAQ, 24 Oct 2026).

DeepEval's core library has safety metrics (bias, toxicity, PII leakage, misuse, role violation) that score outputs you already have, but it does not generate attacks. Its docs call DeepTeam “deepeval but for red teaming”, and its red-teaming pages redirect to DeepTeam, a separate Apache-2.0 package from Confident AI built on DeepEval. You pick vulnerabilities (its docs say 40+; the 1.0.10 package we counted ships 36 built-in classes plus a custom one, such as bias, toxicity and PII leakage; see the inventory below) and attacks such as prompt injection and jailbreaking, and DeepTeam scores how your app responds. Confident AI lists an AI red teaming module under Enterprise. For open-source scanners outside both tools, see garak.

What each red-team tool ships: we counted the installed packages on 3 Nov 2026

Vendor pages quote round numbers, so we installed Promptfoo 0.125.1 and DeepTeam 1.0.10 and counted the plugins, vulnerabilities and attacks each package registers. Nothing was attacked and no API key was used. Method and raw lists.

Counted on 3 Nov 2026DeepTeam 1.0.10 (DeepEval's red-team package)Promptfoo 0.125.1
What you pick fromVulnerability classes, each with sub-typesPlugins (one risk each)
How many36 built-in classes plus CustomVulnerability; 124 sub-types in total (IllegalActivity has 7, most have 3 or 4)157 plugin IDs, 155 without the two coding-agent bundles
Industry packsNone as separate classes52 plugins: financial 12, telecom 12, medical 9, real estate 8, insurance 4, e-commerce 4, pharmacy 3
Agent and tool risksClasses such as ExcessiveAgency, ToolMetadataPoisoning, ToolOrchestrationAbuse, InsecureInterAgentCommunication, AgentIdentityAbusePlugins such as excessive-agency, mcp, tool-discovery, bola, bfla, plus 15 coding-agent plugins (sandbox escape, secret reads, CI exfiltration)
Attacks21 single-turn and 5 multi-turn (BadLikertJudge, Crescendo, Linear, Sequential, Tree jailbreaking)36 strategy IDs, including encodings, jailbreak variants, multi-turn ones such as crescendo and goat, and image, audio and video; a few (basic, custom, retry, layer) are plumbing rather than attacks
Public datasetsNot counted as separate items11 dataset plugins, such as harmbench, beavertails, xstest and donotanswer
Fresh installimport deepteam failed: ModuleNotFoundError: No module named 'sentry_sdk'. Its telemetry module imports sentry_sdk, but the package does not declare it; pip install sentry-sdk fixed itLoaded without extra installs

What this shows: Promptfoo ships far more named checks, especially industry-specific ones for finance, telecom and healthcare, and a set aimed at coding agents. DeepTeam groups risks into fewer classes with sub-types, so one DeepTeam class often covers what Promptfoo splits into several plugins. Counts are not coverage: list the risks you actually face and check each one against both lists before choosing.

If you install DeepTeam 1.0.10, add sentry-sdk to your requirements, or the import fails. Setting DEEPTEAM_TELEMETRY_OPT_OUT=YES turns its telemetry off, but the import still needs the package.

Run on the box on 3 Nov 2026 around 11:10-11:20 IST. DeepTeam 1.0.10 (PyPI 16 Oct 2026) in a Python 3.12 venv; Promptfoo 0.125.1 from npm with PROMPTFOO_DISABLE_TELEMETRY=1 and PROMPTFOO_DISABLE_UPDATE=1. DeepTeam counts keep only real BaseVulnerability and BaseAttack subclasses; helpers are excluded and listed in the raw files. We did not run any attack.

Pick DeepEval if, pick Promptfoo if

Pick DeepEval if your evals live in Python next to your unit tests; you want a threshold per metric on each test case; you need ranking-aware context precision, a DAG decision-tree judge, or agent and multi-turn metrics on traced spans; or you want an optional hosted dashboard with published prices (Confident AI).

Pick Promptfoo if you compare several models or prompt versions side by side; you want configs in YAML that people outside a Python codebase can edit; you want many free deterministic checks (regex, JSON, latency, cost) alongside LLM-graded ones; you want red teaming and a PR GitHub Action in the same tool; or your stack is Node.

Using both is reasonable: DeepEval for unit-style tests, Promptfoo for model comparison and security scans. Keep each metric in one tool. For hosted platforms that store traces and run these scores over time, see LLM evaluation tools compared, Promptfoo alternatives, DeepEval alternatives and the pricing calculator.

FAQ

What is the difference between DeepEval and Promptfoo?

DeepEval is a Python library: you write test cases in code and attach metrics such as FaithfulnessMetric or GEval, then run deepeval test run. Promptfoo is a command-line tool: you list prompts, providers (models) and assertions in a YAML file, run promptfoo eval, and get a matrix of results; it also has built-in red teaming. DeepEval's red teaming lives in a separate library, DeepTeam.

Promptfoo vs DeepEval: which should I use?

It depends on how your team works, not on which tool is ahead. If tests live in Python next to your unit tests, DeepEval fits that shape. If you compare several models or prompt versions, want YAML configs that non-Python teams can edit, or need red teaming in the same tool, Promptfoo fits. See the pick-if lists above.

Can I use Promptfoo and DeepEval together?

Yes. They don't conflict; some teams use DeepEval for unit-style tests and Promptfoo for model comparison and red teaming. Keep their scores separate, since metric definitions differ. Promptfoo's own docs say its conversation-relevance assertion is adapted from DeepEval's Turn Relevancy metric.

DeepEval vs Ragas vs Promptfoo?

Ragas and DeepEval are both Apache-2.0 Python metric libraries; Ragas centres on dataset-level RAG scores, DeepEval on pytest-style tests. Promptfoo is the odd one out: a YAML-driven CLI for comparing prompts and models, with red teaming built in. See Ragas vs DeepEval for the metric-by-metric differences between the two Python libraries.

Is Promptfoo free?

The open-source tool is MIT licensed. Promptfoo's pricing page (checked 24 Oct 2026) calls its Community plan free forever: all LLM evaluation features, all providers, red teaming up to 10k probes a month, local or self-hosted, with CI/CD integration. You still pay your model provider for the API calls an eval makes.

How much does Promptfoo Enterprise cost?

Promptfoo does not publish a price. Its pricing page (checked 24 Oct 2026) lists Enterprise (team sharing, continuous monitoring, SSO, API access, managed cloud, priority support) and On-Premise as custom pricing; Enterprise customers can buy more red-team probes.

Is there a Promptfoo GitHub Action?

Yes: promptfoo/promptfoo-action (MIT; latest release promptfoo-action-v1.3.4, 15 Jun 2026). Per its docs it runs a before-and-after eval on pull requests that change prompts and posts a link to the results in the PR. It needs github-token, prompts and config inputs, pull-requests: write permission, and Node 22.22.0 or newer. You can also call npx promptfoo@latest eval in any CI job.

Does DeepEval do red teaming?

Not attack generation, in the core library. DeepEval has safety metrics (bias, toxicity, PII leakage, misuse, role violation) that score outputs you already have. Its red-teaming docs now redirect to DeepTeam, a separate Apache-2.0 package from Confident AI that its docs describe as powered by DeepEval. DeepTeam generates adversarial attacks such as prompt injection and jailbreaking against vulnerabilities you choose (its docs say 40+; DeepTeam 1.0.10 ships 36 built-in vulnerability classes with 124 sub-types, plus a custom one, by our count on 3 Nov 2026), then scores the responses. Confident AI lists an AI red teaming module under its Enterprise plan.

Is Promptfoo context-faithfulness the same as DeepEval faithfulness?

Close, not identical. Both extract claims from the answer. Promptfoo counts a claim only if the context supports it; DeepEval counts a claim as truthful if the retrieval context does not contradict it. By those definitions, a claim the context says nothing about lowers the Promptfoo score but not the DeepEval score.

Do both need an LLM to grade?

Their LLM-judged metrics do, and you pay for those judge calls. Promptfoo also has many deterministic assertions (equals, regex, is-json, latency, cost and more) that need no grader. DeepEval's ToolCorrectnessMetric starts from a deterministic score, and some DeepEval metrics can run in a system_one mode scored by Jev instead of an LLM.

Do I need a Confident AI account to use DeepEval?

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.

Is Promptfoo still open source after joining OpenAI?

Yes. Its README (read 24 Oct 2026) says Promptfoo is now part of OpenAI and remains open source and MIT licensed. Release 0.125.0 shipped on 23 Oct 2026, followed by bug-fix release 0.125.1 on 25 Oct 2026.

Watch the video of this comparison (AI-voiced narration)

We checked so you don't have to: series scoreboard

We Checked So You Don't Have To is our numbered Shorts series. Each episode checks one question against the vendors' official pricing pages and docs and against this site's own tables. We read the pages; we did not run these tools hands-on. New episodes add rows here. Rows follow the order each episode covers them; they are not ranked.

Episode 3: Promptfoo or DeepEval: which fits how you write tests?

Checked · watch the Short

  1. Promptfoo

    Free Community plan; Enterprise and On-Premise are custom pricing

    Community: free forever, all LLM evaluation features, red teaming up to 10k probes/month, run locally or self-host

    MIT, open source (now part of OpenAI); command-line tool configured in YAML · [Promptfoo pricing, checked ]

  2. DeepEval and Confident AI

    Hosted Confident AI: free plan; Starter is $200 per month per organization

    Free: 2 seats, 1 project, 5 test runs a week; Starter $200/month: unlimited seats, 5 projects, 5 GB-months of trace spans, then $1 per GB-month

    DeepEval library: Apache-2.0, pytest-style Python tests; Confident AI is a hosted service · [Confident AI pricing, checked ]

Prices as of October 2026; usage fees still apply on every plan listed. Check the vendor site before you buy.

Sources

Every row restates facts from these sources, also cited on each eval's page. A dash means not verified. Pricing pages (Confident AI, Promptfoo) were re-read, and the concept map sources read, on 26 Oct 2026; release numbers, stars and the OpenAI Evals migration sources were read on 1 Nov 2026; the metric, CI and red-teaming sources were read on 24 Oct 2026. The CI exit codes (28 Oct 2026), the first-run network test (30 Oct 2026) and the red-team package count (3 Nov 2026) were run by us, with raw output linked in those sections; everything else restates the docs, and the other commands are sketches we have not run.

Related comparisons

All comparisons · DeepEval · Promptfoo

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 · Ragas vs DeepEval · 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

Discussion

No one has discussed DeepEval vs Promptfoo yet. Have you run it? Share what it caught, what it missed or how you set it up.

Sign in with GitHub to comment

Be specific and kind. No promotion or affiliate links. Community rules · All discussions