Suggest a tool

Promptfoo vs Ragas: open-source AI and LLM evaluation tools compared

Metrics as of , from the GitHub or GitLab API of each repository. Refreshed monthly.

Summary

Promptfoo: CLI and library for LLM evaluations, side-by-side model comparison and red teaming of LLM-based applications.

Ragas: Python toolkit for evaluating LLM applications with LLM-based and traditional metrics and test set generation.

Both are listed under AI and LLM evaluation. The table gives repository metrics from the GitHub API with their fetch date, then the documented facts used for every comparison in this category, each linked to the README or docs page it comes from. A cell reads "not documented" when the fact was not found in the project's documentation (1 of 12 fact cells here); that does not mean the feature is absent.

Side by side

Promptfoo and Ragas: metrics and documented facts, in the fixed row order used for AI and LLM evaluation comparisons.
FactPromptfooRagas
Stars25,371115,8241
Forks2,35311,7181
Contributors34912461
Last release2026-09-1812026-01-131
Last commit2026-09-2212026-02-241
Commits in 90 days775101
LicenseMIT1Apache-2.01
Primary languageTypeScript1Python1
Statusactive1slow1
Model providersOpenAI, Anthropic, Azure, Bedrock, Ollama and others source: READMEOpenAI, Anthropic, Google directly; Azure OpenAI, AWS Bedrock, Google Vertex AI and others through LiteLLM source: Docs: Customise models
Evaluation metricsAssertions for equality, JSON structure, similarity and custom functions source: Docs: Assertions & metricsContext Precision, Context Recall, Faithfulness, Response Relevancy, Tool Call Accuracy, BLEU, ROUGE, Aspect Critic and others source: Docs: List of available metrics
Test definition formatYAML config file (promptfooconfig.yaml) with prompts, providers and test cases source: Docs: Getting StartedCode (Python metrics API, for example DiscreteMetric); ragas quickstart project templates source: README
CI integrationGitHub Actions guide and GitHub Marketplace action; CI/CD guide for other platforms source: Docs: CI/CD Integration for LLM Evaluation and Securitynot documentednot found in the project's documentation as of
Report formatsHTML, JSON, CSV, JUnit XML (promptfoo eval --output) source: Docs: Output FormatsExperiment results saved as timestamped CSV files in experiments/ source: Docs: Experimentation
Install methodnpm (npm install -g promptfoo), Homebrew (brew install promptfoo), pip (pip install promptfoo) source: READMEpip (pip install ragas), or pip install from the Git repository source: README

1 Fetched from the GitHub or GitLab API on . Hover a value for its own date.

When each fits

Written from each project's documented scope, not from preference. Neither tool is ranked.

Promptfoo

Fits projects that test prompts and models of LLM-based apps; its README describes a CLI and library that evaluates and red-teams LLM-based apps. source: README

Ragas

Fits projects that evaluate LLM applications, including RAG systems, and generate test datasets; its README describes LLM-based and traditional metrics. source: README

More on these tools

Sources

  1. GitHub REST API: repository, read
  2. GitHub REST API: repository, read
  3. GitHub REST API: contributors, read
  4. GitHub REST API: contributors, read
  5. GitHub REST API: latest release, read
  6. GitHub REST API: latest release, read
  7. GitHub REST API: commits, read
  8. GitHub REST API: commits, read
  9. README, read
  10. Docs: Customise models, read
  11. Docs: Assertions & metrics, read
  12. Docs: List of available metrics, read
  13. Docs: Getting Started, read
  14. README, read
  15. Docs: CI/CD Integration for LLM Evaluation and Security, read
  16. Docs: Output Formats, read
  17. Docs: Experimentation, read

Documented facts collected 2026-09-22. See the methodology for how metrics and facts are gathered.