Open AIKetra Tools →
Promptfoo logoP

Promptfoo

by Promptfoo

Open-source testing and red-teaming for LLM apps.

Content Detection & Safety Free, open-source; paid enterprise support

What is Promptfoo?

Promptfoo is an open-source tool for testing and red-teaming LLM applications before they ship — running test cases against your prompts across multiple models, and probing for jailbreaks, bias, and other failure modes.

Key features

  • Automated test suites for evaluating prompt and model quality
  • Red-teaming tools that probe for jailbreaks and unsafe outputs
  • Side-by-side comparison across multiple models and prompts
  • CI/CD integration for catching regressions before deployment
  • Open-source with an active contributor community

How to get started

  1. Install Promptfoo via npm or as a standalone CLI
  2. Define test cases covering your app's expected behavior
  3. Run evaluations across your candidate prompts and models
  4. Add red-team probes to check for jailbreaks and unsafe outputs

Use cases

  • Regression-testing prompts before deploying an LLM feature
  • Comparing model quality across providers for a specific task
  • Red-teaming an application for jailbreak vulnerabilities
  • Integrating LLM quality checks into a CI/CD pipeline

Promptfoo vs. alternatives

ToolHow it compares
PromptfooOpen-source testing and red-teaming for LLM apps.
Guardrails AIruntime validation instead of pre-deployment testing
Hive Moderationcontent moderation instead of prompt testing

FAQ

Is Promptfoo free to use?

Promptfoo's plans: Free, open-source; paid enterprise support. Pricing and free-tier limits change over time, so check the official site above for the latest details.

What is Promptfoo used for?

Open-source testing and red-teaming for LLM apps.

Who is Promptfoo best for?

Promptfoo is a good fit for regression-testing prompts before deploying an LLM feature, or comparing model quality across providers for a specific task.

What are the alternatives to Promptfoo?

Commonly compared alternatives include Guardrails AI and Hive Moderation, see the comparison above for how they differ.

Related tools

Last reviewed: 2026-08 · Reviewed by AIKetra editors · How we evaluate tools