# promptfoo

> Test your prompts, agents, and RAGs. Red teaming/pentesting/vulnerability scanning for AI

Source: https://talira.ai/catalog/promptfoo-qnwpp2h6
Every listing: https://talira.ai/catalog.md

- Kind: Open core
- Types: Command-line tool, Library, MCP server
- Categories: [ai / llm / evaluation](https://talira.ai/categories/ai/llm/evaluation), [ai / llm / red teaming](https://talira.ai/categories/ai/llm/red-teaming)
- Platforms: macos, linux, windows[^6]
- Licence: MIT[^3]
- Pricing: Free tier[^2]
- Pricing notes: Community edition free forever (red teaming up to 10k probes a month); Enterprise and On-Premise priced on request.
- Free tier: yes[^2]
- Self-hostable: yes[^2]
- Cloud hosted: yes[^2]
- SOC 2: yes[^4]
- SSO: yes[^2]
- SSO tax: SSO only in plans priced by sales (an enterprise plan)
- API: yes[^2]
- MCP server: yes[^5]
- Supports: [MCP](https://talira.ai/standards/mcp.md)[^5]
- Backed by: [Promptfoo](https://talira.ai/orgs/promptfoo.md), [OpenAI](https://talira.ai/orgs/openai.md)
- Funding: acquired by OpenAI[^7]

promptfoo is an MIT-licensed CLI and Node.js library for evaluating and red-teaming LLM applications: you declare prompts, providers and test cases with assertions in a config file, run `promptfoo eval`, and compare outputs side by side in a local web viewer, with caching and live reload, and the same checks run in CI. Its red teaming generates adversarial probes (prompt injection, jailbreaks, PII and data leaks, tool misuse such as unauthorized access and SQL injection, harmful content) against your app and reports vulnerabilities mapped to frameworks such as the OWASP LLM Top 10, NIST AI RMF and the EU AI Act, and its code scanning reviews pull requests for LLM security issues. It works with OpenAI, Anthropic, Azure, Bedrock, [Ollama](https://talira.ai/catalog/ollama-gr2tx5nn.md) and many other providers, and evals run locally. OpenAI acquired Promptfoo in 2026; the project stays open source, with paid Enterprise (managed cloud) and On-Premise editions for teams.

## Links

- Website: https://www.promptfoo.dev/
- GitHub: https://github.com/promptfoo/promptfoo
- Docs: https://www.promptfoo.dev/docs/intro/
- Pricing: https://www.promptfoo.dev/pricing/

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/promptfoo>[^1]

## Problems it solves

- compare GPT, Claude and Gemini side by side on the same prompts and test cases before picking one
- catch regressions in my prompts automatically in CI before they ship
- probe my chatbot for prompt injection and jailbreaks before launch
- check whether my RAG app leaks PII or internal documents when users try to extract them
- test whether an AI agent with database access can be tricked into SQL injection or privilege escalation
- produce a vulnerability report for our LLM app mapped to the OWASP LLM Top 10 for the security team
- write assertions for LLM outputs in a YAML config instead of eyeballing responses
- review pull requests for LLM security issues like unsanitised prompts reaching a model
- run LLM evals entirely on my machine so prompts never leave our network
- let my coding agent run evals and red team scans through an MCP server
- continuously monitor an LLM application for new vulnerabilities with a compliance dashboard

## Features

- declarative eval configs with assertions, run from the CLI with a local web viewer
- side-by-side model comparison across OpenAI, Anthropic, Azure, Bedrock, Ollama and more providers
- red teaming plugins and strategies: prompt injection, jailbreaks, PII leaks, BOLA, BFLA, tool misuse, hijacking
- vulnerability reports; frameworks such as OWASP LLM Top 10, NIST AI RMF and EU AI Act
- code scanning of pull requests for LLM security and compliance issues
- CI/CD integration
- MCP server (`promptfoo mcp`, stdio or HTTP) with eval, dataset generation and red team tools
- Node.js package for running evals from code
- caching and live reload
- Enterprise: team sharing, continuous monitoring, compliance dashboard, custom attack profiles, API access, SSO

## Ways to run it

### Community

You run it, MIT. Price: free (red teaming up to 10k probes/month).[^2][^3]

Only in this edition:

- LLM evaluation
- vulnerability scanning
- all model providers and integrations

Not included:

- team sharing, continuous monitoring and the compliance dashboard
- SSO

You arrange:

- API keys for the model providers you test

Pricing: https://www.promptfoo.dev/pricing/

### Enterprise

Hosted by Promptfoo and OpenAI. Price: custom.[^2]

Only in this edition:

- managed cloud deployment
- team sharing
- continuous monitoring
- compliance dashboard
- custom attack profiles
- Promptfoo API access
- SSO and permission profiles
- priority support with SLA

Pricing: https://www.promptfoo.dev/pricing/

### On-Premise

You run it, under a commercial licence. Price: custom.[^2]

Only in this edition:

- everything in Enterprise on your own infrastructure
- complete data isolation
- dedicated runner
- assigned deployment engineer

You arrange:

- your own infrastructure

Pricing: https://www.promptfoo.dev/pricing/

## Capabilities

- Has an API: plan not known
- Has a command line tool: plan not known
- Has an MCP server: plan not known
- Has single sign-on: Enterprise; On-Premise[^2]

## Trust

Overall: 0.65 out of 1.
Signals: backing 0.85, extensibility 0.60.

- backed by Promptfoo and OpenAI
- funding: acquired by OpenAI
- used by OpenAI, Anthropic
- has an MCP server for agents
- security: SOC 2, ISO 27001

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [DeepEval](https://talira.ai/catalog/deepeval-e9qwynsm.md): The LLM Evaluation Framework
- [Ragas](https://talira.ai/catalog/ragas-9hvtpb7x.md): Objective metrics, intelligent test generation, and data-driven insights for LLM apps
- [Braintrust](https://talira.ai/catalog/braintrust-0r151jbe.md): The active observability platform for agents
- [LangSmith](https://talira.ai/catalog/langsmith-4mhvh3kc.md): Observability, evaluation and deployment for LLM apps and agents, from LangChain
- [Langfuse](https://talira.ai/catalog/langfuse-a182n7e5.md): Open source AI engineering platform: AI Gateway, agent observability, evals, and prompt/skill management, built on OpenTelemetry.

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
[^2]: https://www.promptfoo.dev/pricing/ (checked 20 Nov 2026)
[^3]: https://github.com/promptfoo/promptfoo/blob/main/LICENSE (checked 20 Nov 2026)
[^4]: https://www.promptfoo.dev/security/ (checked 20 Nov 2026)
[^5]: https://www.promptfoo.dev/docs/integrations/mcp-server/ (checked 20 Nov 2026)
[^6]: https://www.promptfoo.dev/docs/installation/ (checked 20 Nov 2026)
[^7]: https://www.promptfoo.dev/about (checked 20 Nov 2026)
