Some links on this site may earn us a commission — how that works

Prompts · Promptfoo

Promptfoo review

Promptfoo is an open-source command-line tool for evaluating and red-teaming LLM apps. You define prompts, providers and test cases in a YAML file, run every combination, and get a pass-fail grid with scores, so a prompt change cannot quietly break your app.

Free Best for testing prompts like code Free Open source, MIT licensed; cloud plans separate Free tier: Yes — open source, free to use

Best for: Developers who want repeatable evals and red-teaming for LLM apps

Visit official site →

Reviewed: November 21, 2026 · Updated: November 21, 2026 · Pricing checked October 2026 on the vendor’s official site.

★★★★★Not yet rated — be the first to vote

Rate Promptfoo

Your vote moves this tool up or down our Top 10. One vote per tool per day — you can change it later today if you change your mind.

Who it’s for

  • Developers
  • AI engineers
  • ML teams
  • Security teams
  • Startups
  • DevOps engineers

Pricing tiers

PlanPriceAnnual priceWhat you get
Open SourceFree Free free, self-hosted
  • CLI evals
  • red teaming
  • local runs

Key features

  • Automated evals across prompts, models and test cases
  • Red-teaming with security attack plugins
  • 30+ built-in assertion types
  • Runs locally, prompts stay on your machine
  • CI/CD integration and cached results
  • Support for 90+ model providers

Strengths

  • Free and open source under MIT licence
  • Catches regressions before they reach users
  • Local-first, so test data stays private

Watch out for

  • Command-line first, no friendly web editor
  • You still pay the model providers for test runs
  • Setup takes more effort than a hosted tool

Alternatives to Promptfoo

Other tools in our directory that do a similar job — each with the one thing it does best.

ToolStarting priceKey feature
Claude $20/mo Manually test prompts in chat instead

Example: Promptfoo in action

A typical example for developers: Developers who want repeatable evals and red-teaming for LLM apps. Here is how a first run goes:

  1. Automated evals across prompts, models and test cases
  2. Red-teaming with security attack plugins
  3. 30+ built-in assertion types

Start on the Open Source plan (Free) — CLI evals, red teaming, local runs.

Our verdict

The go-to free tool for treating prompt quality as something you test, not guess.

Frequently asked questions

Is Promptfoo free?

Yes, Promptfoo is open source under the MIT licence and free to install and run locally.

What does Promptfoo test?

It runs your prompts against test cases across models, scores the outputs with assertions, and flags regressions and security issues.

Does Promptfoo send my prompts to the cloud?

No, evals run locally by default, so your prompts and test data stay on your machine unless you opt into cloud features.

Pricing is the US list price in USD, checked October 2026. Always confirm the final price on the vendor's official pricing page before purchasing.

← Tool directory ← Prompts