promptbench vs promptfoo
LLM evaluation and testing projects compared
promptbench and promptfoo both help evaluate prompts and models. promptbench focuses on benchmark, multimodal, and adversarial evaluation, while promptfoo emphasizes repeatable testing and security checks for LLM applications, including CI/CD workflows.

promptbench: Evaluate LLMs and Test Prompt Robustness
PromptBench is a Python library for evaluating language and multimodal models across datasets, prompting methods, and adversarial attacks. It suits researchers and developers comparing model behavior or studying robustness and dynamic evaluation.

promptfoo: Evaluate and Red-Team LLM Apps
Promptfoo is a TypeScript CLI and library for evaluating and red-teaming LLM-based apps. Compare prompts and models, scan for vulnerabilities, and run checks in CI/CD, with evaluations performed locally.
| promptbench | promptfoo | |
|---|---|---|
| Language | Python | TypeScript |
| License | MIT | MIT |
| Stars | 2.8k | 26.4k |
| Forks | 222 | 2.6k |
| Last analyzed | Oct 3, 2026 | Oct 24, 2026 |
Key differences
- promptbench is a PyTorch-based framework for evaluating models across datasets and protocols; promptfoo is a CLI and library for configured evaluations of prompts, models, and applications.
- promptbench includes multimodal benchmarks, dynamic evaluation, prompt techniques, and adversarial attacks; promptfoo focuses on output comparisons, red teaming, and vulnerability scanning.
- promptbench is written in Python; promptfoo is written in TypeScript. Both use the MIT license.
- promptbench is marked archived; promptfoo is not archived and supports local and CI/CD workflows.
- promptbench is aimed at researchers and developers studying model behavior and robustness; promptfoo also targets application, platform, QA, and AI security teams.
Choose promptbench if you…
- need benchmark evaluation across supported datasets, models, or modalities.
- want to study prompting methods or test adversarial prompt variations.
- need dynamic evaluation or smaller-sample performance estimation.
Choose promptfoo if you…
- want repeatable prompt and model evaluations for an LLM application.
- need red-team or vulnerability checks, including in CI/CD.
- want to compare outputs across supported providers or inspect results in a web viewer.
Compare the numbers side by side, or add more projects
This comparison is generated with AI from the OSRepos analyses of both projects. Always check each project's repository and documentation before choosing.