Promptfoo
Open-source evaluation and red-teaming for LLM prompts.
Open-Source Self-Host Has API Open-Source Editorial Pick 27.8k GitHub Stars
Overview
Promptfoo runs prompt and model evaluations as declarative test suites, compares providers side by side, and red-teams applications with attack plugins before you ship.
MIT licensed and free for local use, with an optional paid enterprise platform for shared projects and governance.
Capability Matrix
Pricing, Free Tier, Open-Source, Self-Host, API Access and Privacy Summary for Promptfoo.
| Pricing | Free and unlimited under MIT; hosted enterprise platform is paid |
|---|---|
| Free Tier | Full CLI evaluation and red-teaming suite is free under MIT |
| Open-Source | Yes |
| Self-Host | Yes |
| API Access | Yes |
| Privacy | Runs locally; only the prompts under test reach the provider you choose |
Strengths & Caveats
Strengths
- YAML test suites make prompt regressions reproducible in CI
- Compares providers, models and prompt variants in one run
- Red-teaming plugins cover injection and jailbreak families
Caveats
- Evaluation quality depends on the assertions and datasets you author
- CI runs consume provider tokens at real volume
Verified links
- Promptfoo website — HTTPS link verified by the liveness checker.
- Promptfoo source repository — 27.8k GitHub Stars