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.
Quick picks by need
| If you need… | Look at | Why (sourced further down) |
|---|---|---|
| LLM checks inside an existing pytest suite | DeepEval | Test cases are Python objects and deepeval test run uses its Pytest integration; see the concept map. |
| Compare several models or prompt versions side by side | Promptfoo | One YAML file lists prompts, providers and tests, and promptfoo eval runs every combination; see the concept map. |
| Test cases kept in a spreadsheet | Promptfoo | Tests 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 tool | Promptfoo | Built 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 Python | DeepEval | Task completion, tool correctness and conversational test cases; see the metric mapping. |
| A hosted dashboard for results | Either (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. |
| DeepEval | Promptfoo | |
|---|---|---|
| Made by | Confident AI | Promptfoo (now part of OpenAI) |
| Maintainer | Confident AI | Promptfoo, now part of OpenAI |
| License | Apache-2.0 | MIT |
| How you write tests | Python test cases, pytest-style (TypeScript package on npm too) | Declarative YAML config; JavaScript or Python assertions for custom checks |
| Run | deepeval test run | promptfoo eval, promptfoo view |
| LLM-judged metrics | Faithfulness, answer relevancy, contextual precision/recall/relevancy, G-Eval, DAG, task completion, tool correctness, multi-turn metrics | llm-rubric, g-eval, factuality, context-faithfulness, context-recall, context-relevance, answer-relevance, conversation-relevance, model-graded-closedqa |
| Deterministic checks | Tool correctness is partly deterministic; DAG can make scores deterministic | Many: equals, regex, is-json, rouge, bleu, levenshtein, latency, cost, tool-call-f1, trajectory checks |
| Red teaming | Separate library, DeepTeam (Apache-2.0), built on DeepEval | Built in: promptfoo redteam |
| CI | deepeval test run fails the build when a metric is under threshold | promptfoo eval exits with code 100 on failures; official GitHub Action |
| License | Apache-2.0 | MIT |
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.
| DeepEval | Promptfoo | |
|---|---|---|
| Named in OpenAI's migration guide | No | Yes: OpenAI's Cookbook guide Moving from OpenAI Evals to Promptfoo recommends it |
| Bringing old results across | Not covered by OpenAI's guide; you rewrite each eval as Python test cases | promptfoo 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 themselves | By hand, as LLMTestCase objects and metrics | By hand, as a promptfooconfig.yaml, following OpenAI's guide |
| Who owns it | Confident 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.
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.
| Concept | DeepEval | Promptfoo | Same thing? |
|---|---|---|---|
| Faithfulness (grounding) | FaithfulnessMetric: truthful claims ÷ all claims in actual_output; truthful = not contradicted by retrieval_context. Default threshold 0.5. metrics-faithfulness | context-faithfulness: claims supported by the context ÷ all claims. Needs query and context vars (or contextTransform). Default threshold 0.5. context-faithfulness | Close, not identical: “not contradicted” vs “supported” |
| Answer relevancy | AnswerRelevancyMetric: an LLM splits actual_output into statements; relevant statements ÷ all statements. metrics-answer-relevancy | answer-relevance: an LLM writes questions from the output, then embedding similarity to the original query. Needs a text and an embedding provider. answer-relevance | Different method: statement classification vs embeddings |
| Context recall | ContextualRecallMetric: statements in expected_output attributable to retrieval_context ÷ all statements. metrics-contextual-recall | context-recall: statements in the expected answer (value) attributable to the context ÷ all statements; binary attribution per statement. context-recall | Same idea |
| Context relevance | ContextualRelevancyMetric: statements in retrieval_context relevant to the input ÷ all statements. metrics-contextual-relevancy | context-relevance: sentences minimally required to answer the query ÷ all sentences. The docs warn a low score can mean good or bad retrieval. context-relevance | Different: “relevant” vs “minimum required” |
| Context precision (ranking) | ContextualPrecisionMetric: weighted cumulative precision over retrieval_context, rewarding relevant nodes ranked higher. Needs expected_output. metrics-contextual-precision | No ranking-aware assertion in the model-graded list. model-graded | DeepEval only |
| Hallucination vs reference | HallucinationMetric: compares actual_output with a ground-truth context you supply (not retrieval_context). metrics-hallucination | Nearest: factuality, based on OpenAI evals' fact prompt; classifies output vs a reference answer (subset, superset, same, disagree, immaterial difference); only “disagree” fails by default. factuality | Nearest, not identical |
| G-Eval | GEval: criteria → chain-of-thought evaluation steps → score, normalised with token probabilities by default. Default threshold 0.5. metrics-llm-evals | g-eval: based on the G-Eval paper; array criteria are averaged. Default threshold 0.7. g-eval | Same paper, different defaults |
| Custom rubric / decision tree | DAG: decision-tree LLM judge for objective or mixed criteria, can make scores deterministic. metrics-dag | Nearest: llm-rubric (natural-language rubric, optional threshold) or model-graded-closedqa (yes/no). llm-rubric | Nearest; no decision-tree assertion |
| Tool use (agents) | ToolCorrectnessMetric: correctly used tools ÷ tools called, starting from a deterministic score. metrics-tool-correctness | tool-call-f1 (F1 of called vs expected tools), trajectory:tool-used, trajectory:tool-sequence, trajectory:tool-args-match (deterministic). deterministic | Different formula (ratio vs F1) |
| Task completion (agents) | TaskCompletionMetric: an LLM extracts task and outcome from the trace and scores their alignment. metrics-task-completion | Nearest: trajectory:goal-success (model-graded, over a trace). assertions | Nearest |
| Multi-turn relevance | Turn Relevancy (formerly Conversation Relevancy), on a ConversationalTestCase. metrics-turn-relevancy | conversation-relevance: sliding windows over the conversation; share of windows judged relevant. Its docs say it is adapted from DeepEval's Turn Relevancy. conversation-relevance | Same origin, per Promptfoo's docs |
| Exact and string checks | Json Correctness is listed among its metrics; for other string or exact-match checks, write a custom metric (subclass BaseMetric). metrics-introduction | equals, contains, regex, is-json, rouge, bleu, levenshtein, latency, cost and more, no grader needed. deterministic | Wide built-in set in Promptfoo only |
Licence, hosting, pricing and releases
| DeepEval | Promptfoo | |
|---|---|---|
| Licence | Apache-2.0 | MIT |
| Owner (per official source) | Confident AI (confident-ai/deepeval) | Promptfoo, now part of OpenAI (README) |
| Install | pip 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,426 | 27,048 |
| Red teaming | DeepTeam, separate Apache-2.0 package: PyPI 1.0.10 (16 Oct 2026), 3,042 stars | Built in (promptfoo redteam); free plan includes 10k probes a month |
| Free tier of the paid layer | Confident AI Free: 2 seats, 1 project, 5 test runs a week, 1 GB-month of trace spans | Community: free forever, all evaluation features, red teaming up to 10k probes a month, local or self-hosted |
| Paid plans | Confident AI Starter $200/month and Team $2,000/month per organization; Enterprise custom | Enterprise and On-Premise: custom pricing |
| Self-host the paid layer | Dedicated on-prem deployment listed under Confident AI Enterprise | On-Premise plan; Community can self-host |
| Account needed to run | No; CONFIDENT_API_KEY only uploads results | No |
| What you pay for when self-run | Judge-model API calls | Model and grader API calls |
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.
| Job | DeepEval | Promptfoo |
|---|---|---|
| One test | An LLMTestCase: input and actual_output are required; expected_output, context, retrieval_context and tools_called are optional | One entry under tests: with vars (filled into the prompt) and a list of assert items |
| What gets tested | Your own app: you call it in code and put its answer in actual_output | prompts × providers: Promptfoo calls each listed model or endpoint itself and fills in the output |
| A check | A metric object with a threshold, e.g. FaithfulnessMetric or GEval | An assert type with an optional threshold, e.g. context-faithfulness, llm-rubric, equals, is-json |
| Checks shared by every test | Pass the same metrics list to evaluate() or assert_test() | defaultTest: in the config |
| Test data in files | EvaluationDataset of goldens: load from CSV, JSON or JSONL, save_as() to the same formats, or push and pull from Confident AI | tests: file:// pointing to YAML, CSV, Excel (with the read-excel-file package) or Google Sheets; column headers become vars, __expected columns become asserts |
| Run | deepeval test run test_file.py (uses its Pytest integration), or evaluate() in a script | promptfoo 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-scoring | Results disk cache; --no-cache skips reading and writing it, promptfoo cache clear empties it |
| Repeat each test | -r 2 | --repeat 2 |
| Re-run only failures | Not 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 results | Shown in the terminal; uploaded to Confident AI when logged in | -o to CSV, JSON, JSONL, YAML, HTML, XML or junit.xml |
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: 5000GitHub 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: 95DeepEval'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.2 | Promptfoo 0.125.1 |
|---|---|---|
| 1 passing + 1 failing case | Exit 1 (“1 failed, 1 passed”, pytest's code for failed tests) | Exit 100 |
| Both cases passing | Exit 0 | Exit 0 |
| Allow some failures | No 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 code | Not documented in the CI docs we read | PROMPTFOO_FAILED_TEST_EXIT_CODE overrides 100 (command-line docs); exit 1 is used for other errors |
| Runtime needed | Python 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).
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, defaults | 4 requests to the judge | 2 requests (the answer from the model under test, then the grade) |
| Second run, defaults, nothing changed | 4 requests again: no cache is read unless you ask | 0 requests: answer and grade both came from the cache |
| Turning caching on or off | Pass -c to deepeval test run; the second -c run made 0 requests | On 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 when | On every run, with or without -c | By 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.4 | Not 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).
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.2 | Promptfoo 0.125.1 |
|---|---|---|
| Install footprint | 67 packages, 173 MB (whole virtual environment) | 580 entries in npm ls --all, 653 MB of node_modules |
| Runtime it asks for | Python | Node 22.22 or newer (package.json engines); on Node 20.19.2 npm printed 55 EBADENGINE warnings |
| Hosts looked up, default settings | us.i.posthog.com (1 lookup) | a.promptfoo.app (1), api.promptfoo.dev (1), r.promptfoo.app (4) |
| With telemetry turned off | None (DEEPEVAL_TELEMETRY_OPT_OUT=1) | api.promptfoo.dev (1), r.promptfoo.app (1) with PROMPTFOO_DISABLE_TELEMETRY=1 |
| Also turning off the update check | Not needed | r.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: none | Default: 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 call | One 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 run | 0 | 0 |
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.
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 2026 | DeepTeam 1.0.10 (DeepEval's red-team package) | Promptfoo 0.125.1 |
|---|---|---|
| What you pick from | Vulnerability classes, each with sub-types | Plugins (one risk each) |
| How many | 36 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 packs | None as separate classes | 52 plugins: financial 12, telecom 12, medical 9, real estate 8, insurance 4, e-commerce 4, pharmacy 3 |
| Agent and tool risks | Classes such as ExcessiveAgency, ToolMetadataPoisoning, ToolOrchestrationAbuse, InsecureInterAgentCommunication, AgentIdentityAbuse | Plugins such as excessive-agency, mcp, tool-discovery, bola, bfla, plus 15 coding-agent plugins (sandbox escape, secret reads, CI exfiltration) |
| Attacks | 21 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 datasets | Not counted as separate items | 11 dataset plugins, such as harmbench, beavertails, xstest and donotanswer |
| Fresh install | import 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 it | Loaded 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.
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.
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?
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
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
Sources
- Promptfoo blog: Promptfoo is joining OpenAI
- Official repository
- Promptfoo docs: context-faithfulness
- Docs: faithfulness metric
- confident-ai/deepeval on GitHub (Apache-2.0)
- Docs: getting started
- Docs: RAGAS metric
- Promptfoo docs: assertions and metrics
- Promptfoo docs: red teaming
- OpenAI Cookbook: moving from OpenAI Evals to Promptfoo (read 1 Nov 2026)
- OpenAI API deprecations: Evals platform (read 31 Oct 2026)
- promptfoo pull request #9305: import OpenAI Evals dashboard exports (merged 21 May 2026)
- Our raw output: first-run install and network test (30 Oct 2026)
- DeepEval docs: data privacy and telemetry (read 30 Oct 2026)
- Promptfoo docs: telemetry (read 30 Oct 2026)
- Our raw output: CI exit-code test (28 Oct 2026)
- Promptfoo docs: test case configuration (CSV, Excel, Sheets)
- Promptfoo docs: command line (exit codes)
- DeepEval docs: test cases
- DeepEval docs: datasets
- DeepEval docs: flags and configs
- Promptfoo docs: model-graded metrics
- Promptfoo docs: context-recall
- Promptfoo docs: context-relevance
- Promptfoo docs: answer-relevance
- Promptfoo docs: factuality
- Promptfoo docs: llm-rubric
- Promptfoo docs: g-eval
- Promptfoo docs: conversation-relevance
- Promptfoo docs: deterministic assertions
- Promptfoo docs: CI/CD integration
- Promptfoo docs: GitHub Action
- Promptfoo pricing
- promptfoo/promptfoo-action on GitHub (MIT)
- Promptfoo releases 0.125.0 (23 Oct 2026) and 0.125.1 (25 Oct 2026)
- DeepEval docs: answer relevancy
- DeepEval docs: contextual precision
- DeepEval docs: contextual recall
- DeepEval docs: contextual relevancy
- DeepEval docs: hallucination
- DeepEval docs: G-Eval
- DeepEval docs: DAG
- DeepEval docs: tool correctness
- DeepEval docs: task completion
- DeepEval docs: turn relevancy
- DeepEval docs: metrics introduction
- DeepEval docs: unit testing in CI/CD
- DeepTeam docs: introduction to LLM red teaming
- confident-ai/deepteam on GitHub (Apache-2.0)
- deepeval on PyPI
- 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 · 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.