DeepEval vs Promptfoo

DeepEval or Promptfoo? Both are open-source tools for testing your own LLM app. DeepEval (Python, Apache-2.0) is pytest-style: you write test cases in code with metrics such as faithfulness or G-Eval. Promptfoo (MIT, CLI with Node, brew or pip installs) is config-first: you declare prompts, providers and assertions in YAML, compare models in a matrix, and can red-team the app. Pick DeepEval for Python test suites, Promptfoo for config-driven model comparison and security scans.

Last updated 2026-10-16 · Evals Review

DeepEvalPromptfoo
Made byConfident AIPromptfoo (now part of OpenAI)
MaintainerConfident AIPromptfoo, now part of OpenAI
LicenseApache-2.0MIT
How you write testsPython test cases, pytest-styleDeclarative YAML config
Rundeepeval test runpromptfoo eval, promptfoo view
LLM-judged metricsFaithfulness, answer relevancy, contextual precision/recall, G-Eval, DAG, task completion, tool correctnessllm-rubric, g-eval, factuality, context-faithfulness, context-recall, model-graded-closedqa
Red teamingNot compared hereBuilt-in red-teaming and vulnerability scanning
CIRuns inside pytestCLI and CI/CD integration
LicenseApache-2.0MIT

Verdict: when to use which

Use DeepEval if your team writes Python and wants LLM checks inside the existing test suite.

Use Promptfoo if you want to compare prompts and models from one config, or scan an app for vulnerabilities.

Dated numbers

FAQ

Can I use DeepEval and Promptfoo 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.

Do both need an LLM to grade?

Their LLM-judged metrics do. Promptfoo also has deterministic assertions that don't need a grader model.

Sources

Every row restates facts from these sources, also cited on each eval's page. A dash means not verified.

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