# Promptfoo vs garak

- Promptfoo: An open-source tool to test and red-team LLM applications for prompt injection, jailbreaks and data leaks.
- garak: NVIDIA's free, open-source scanner that probes large language models for prompt injection, data leakage, jailbreaks and other weaknesses.

## Promptfoo stands out for
- Free and runs in CI.
- More than 150 attack plugins.

## garak stands out for
- Free and maintained by NVIDIA.
- Large library of attack probes.

## Quick facts
| | Promptfoo | garak |
|---|---|---|
| Price | Free: Free open source (MIT), up to 10k red-team probes/month; Enterprise and on-prem quoted. | Free: Free open source (Apache-2.0). |
| Headquarters | USA / open source | USA / open source |
| Free tier | Yes | Yes |
| Open source | Yes | Yes |
| Can be run for you | No | No |

## Coverage
| Building block | Promptfoo | garak |
|---|---|---|
| App & code security | Basic | Not covered |
| AI & LLM security | Solid | Solid |

## Pros and cons
### Promptfoo
- Pro: Free and runs in CI.
- Pro: More than 150 attack plugins.
- Pro: Maps results to OWASP LLM Top 10.
- Con: Testing only; not a runtime filter.
- Con: Developer-oriented.

### garak
- Pro: Free and maintained by NVIDIA.
- Pro: Large library of attack probes.
- Pro: Works with many model providers and self-hosted models.
- Con: Command-line tool for technical users.
- Con: Tests models; does not protect them in production.

Full comparison: https://securitystackcompare.com/en/compare/promptfoo-vs-garak

---
Security Stack Compare scores declared capabilities (0–3 per building block, assuming each feature works as described). Published by Shielda, which is also listed. Methodology: https://securitystackcompare.com/en/about
