Promptfoo Review: AI Evals, Red Teaming, and Pricing

This Promptfoo review explains how to compare models, test agent tool calls, red-team a staging app, and estimate the real cost of running evals.

Lena OrtizAI Tools AnalystNovember 16, 20267 min read
Promptfoo Review cover with an illustration of a laptop displaying an evaluation checklist.

This Promptfoo review looks at what the open-source tool can tell you before an AI agent goes live. Its core workflow is useful when you want to compare model or prompt changes against the same test cases, catch broken tool calls, and run security checks against a staging app. How much you get out of it depends on what you can observe and what you count as a failure.

There's a practical reason to evaluate it now. OpenAI lists November 30, 2026, as the scheduled shutdown of its Evals dashboard, API, and graders for eval workflows, and recommends migrating to Promptfoo. If you're moving an existing suite, recreate one important test and compare how the two systems grade it before moving the rest. This is a review of the documented workflow and pricing, with a proposed pilot rather than benchmark results.

Promptfoo Review: How Evals Work

A Promptfoo eval brings together prompts, providers, test cases, and assertions in a configuration file. You can run the same inputs against multiple models or prompt variants, then inspect the raw outputs and checks side by side in the local viewer. The configuration can live alongside the application code so a reviewer can see which behavior changed with a pull request.

Start by choosing failures that matter. Suppose a returns agent lets a shopper look up an order by ID. One case asks for an order the shopper owns, another gives an invalid ID, and a third supplies an ID belonging to a different account. If you already use a system like Langfuse to trace failures, anonymized examples from those traces can suggest cases that a handpicked demo would miss.

Check the action as well as the answer

Use a deterministic assertion when you can specify the expected result in code. A schema check can tell you whether a tool call has valid arguments. Add a check for the exact order ID and function name, because a valid call can still look up the wrong record. For an answer that needs to explain exceptions to a return policy, a model grader can assess whether it preserves the meaning. Compare the grader's early results with a human review before making it a release gate.

If you're migrating from OpenAI Evals, note what each old grader actually checked before recreating it. Keep a small set of known passing and failing outputs, then check whether the new assertions agree on those examples. A change in a similarity score may reflect a different scoring method. Record the expected behavior and set a new baseline before comparing results across releases.

A model comparison and an application test answer different questions. With a direct model provider, you can see which function the model proposes. To verify that the application actually denied a cross-account lookup, run the agent through its staging endpoint and check an authorization event or a safe test record. A polite refusal at the end of the conversation doesn't tell you what happened during the tool call.

What Promptfoo Red Teaming Can Show

Red teaming asks how the system behaves under deliberate pressure. Promptfoo can generate adversarial inputs based on the target's purpose and configured risk categories. For the returns agent, you might test whether a customer can get another account's data or persuade the agent to take an action outside policy. Keep the staging account and records disposable so you can check the effects without touching real orders.

Review failures before treating the scan's score as a finding. Look at what the target received, what it returned, and what the underlying service allowed. If a model judge flags an apparent disclosure, confirm that the response contained protected data. If a staged test exposes a real permission flaw, fix the underlying access check and turn that case into a permanent regression test. SD's AI agent security guide covers controls such as limiting tool permissions that still matter after the scan passes.

Check where the test data goes

Running the CLI on your machine doesn't guarantee that every step stays there. Your choice of target and grader matters, and Promptfoo documents hosted generation and some remote-only plugins and strategies. Review which services receive application descriptions, prompts, responses, or credentials before you select a scan profile.

If a pilot has to stay on your own network, use synthetic test data while checking the configuration. Choose local or self-hosted providers where supported, skip features that require hosted inference, and verify network egress. Disabling remote generation alone doesn't turn off every outbound path. That difference can determine whether the Community setup fits your security requirements.

Promptfoo Pricing: Budget Beyond the License

Promptfoo lists its open-source Community edition as free and advertises up to 10,000 red team probes per month. A probe is one request to the target during a scan. Enterprise and Enterprise On-Premise have custom pricing. The vendor lists team collaboration and single sign-on among Enterprise features, so if the entire company needs a shared review process, get a quote before estimating the rollout.

Separate the plan allowance from provider costs. In a simple eval, 50 cases across two model configurations and three fresh repeats produce 300 target evaluations before any retries or model grading. If each one gets a separate model grade, that's up to another 300 grading calls in that example. An agent that makes multiple calls per turn can use more inference than a direct prompt test, and a red team strategy may make several requests as it adapts an attack.

For a first estimate, record target tokens, judge tokens, and elapsed time on a small representative run. Use fresh responses when measuring variability: Promptfoo can reuse cached results, and its docs recommend using --no-cache with --repeat when you want fresh calls. Pay attention to how long humans spend investigating failed tests, especially when a grader disagrees with the team about what the application promised.

Promptfoo vs DeepEval: Which Fits Your Team?

Promptfoo is a good starting point if you want a declarative matrix for comparing several prompts and providers, plus a red team workflow in the same tool. DeepEval may fit better if your team already writes Python tests and wants its eval cases and metrics to follow a pytest-style workflow. DeepEval runs those tests through its own CLI with a pytest plugin. With either runner, plan to validate the grader and maintain your test data.

If your team is also choosing how to build the agent, decide that separately. A framework such as PydanticAI handles application concerns such as typed outputs and tool definitions. An eval runner helps check how that built system behaves across scenarios. In a pilot, try connecting the same staging endpoint to the shortlisted runner before translating a large corpus of tests.

A Small Promptfoo Pilot

Pick one action you can't afford to get wrong. Start with ten to twenty sanitized cases, including routine requests, ambiguous language, and cases that should be denied. Run the current setup and one candidate against the same inputs. Give every security-critical case its own pass rule so a strong average on routine questions can't hide a failed permission check.

Keep one candidate change per run if you need to diagnose the result. A model swap and a new prompt tested together may improve the outcome, but you won't know which change fixed the failure. Save the configuration version and the failing case with the results so another teammate can repeat the comparison.

Keep fast, stable checks in pull request CI and schedule broader scans separately if they need more time or model calls. In the first week, ask whether the suite caught a meaningful regression, whether a teammate could reproduce it, and how much it cost to investigate. If people spend more time interpreting noisy scores than fixing defects, tighten the checks before adding volume.

Conclusion

The verdict of this Promptfoo review: it's a useful choice when your team wants evals beside the application code and a repeatable way to probe an agent before release. Its biggest limitation is that the results only reflect the scenarios you test and what your harness can see. Start with one risky tool action, check the backend outcome, and expand once the team trusts the signal and understands the cost.

Written by

LO

Lena Ortiz

AI Tools Analyst

Lena tests AI products through the lens of creators, operators, and teams that need software to stay useful after launch week.

FAQ

Is Promptfoo free to use?

The Community edition is free, with a vendor-listed monthly allowance of 10,000 red team probes. Your target model, grader, and infrastructure can still incur costs. Enterprise pricing requires a quote.

Can Promptfoo run locally?

Yes, the CLI and results viewer can run locally. Hosted model providers or remote-only red team features can still send data outside your network, so check the full configuration before running sensitive tests.

Can Promptfoo replace OpenAI Evals?

OpenAI recommends it for migration. Recreate prompts, tests, providers, and assertions in a Promptfoo configuration, then validate that grading still matches your expectations. A new Promptfoo run doesn't carry over the old run's results.

Related reading

More from the publication.