OpenAI Evals 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
OpenAI Evals: Framework and registry for evaluating LLMs and LLM-based systems, with template-based evals defined in JSON and YAML.
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 (2 of 12 fact cells here); that does not mean the feature is absent.
Side by side
| Fact | OpenAI Evals | Ragas |
|---|---|---|
| Stars | 19,4921 | 15,8241 |
| Forks | 3,0921 | 1,7181 |
| Contributors | 4421 | 2461 |
| Last release | 2023-04-061 | 2026-01-131 |
| Last commit | 2026-04-141 | 2026-02-241 |
| Commits in 90 days | 01 | 01 |
| License | MIT1 | Apache-2.01 |
| Primary language | Python1 | Python1 |
| Status | slow1 | slow1 |
| Model providers | Models on the OpenAI API; completion functions in evals/registry/completion_fns or any CompletionFn implementation source: Docs: How to run evals | OpenAI, Anthropic, Google directly; Azure OpenAI, AWS Bedrock, Google Vertex AI and others through LiteLLM source: Docs: Customise models |
| Evaluation metrics | Basic templates Match, Includes, FuzzyMatch, JsonMatch; model-graded template ModelBasedClassify (fact, closedqa, battle) source: Docs: Existing templates for evals | Context Precision, Context Recall, Faithfulness, Response Relevancy, Tool Call Accuracy, BLEU, ROUGE, Aspect Critic and others source: Docs: List of available metrics |
| Test definition format | Data in JSON format with eval parameters in YAML; custom eval logic (docs/custom-eval.md) source: README | Code (Python metrics API, for example DiscreteMetric); ragas quickstart project templates source: README |
| CI integration | not documentednot found in the project's documentation as of | not documentednot found in the project's documentation as of |
| Report formats | Local JSONL event logs; optional logging to a Snowflake database source: Docs: How to run evals | Experiment results saved as timestamped CSV files in experiments/ source: Docs: Experimentation |
| Install method | pip (pip install evals); pip install -e . from a clone to create evals source: README | pip (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.
OpenAI Evals
Fits projects that evaluate large language models or systems built on them with a registry of evals and custom evals; its README describes a framework for evaluating LLMs or systems built using LLMs. 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
- GitHub REST API: repository, read
- GitHub REST API: repository, read
- GitHub REST API: contributors, read
- GitHub REST API: contributors, read
- GitHub REST API: tags, read
- GitHub REST API: latest release, read
- GitHub REST API: commits, read
- GitHub REST API: commits, read
- Docs: How to run evals, read
- Docs: Customise models, read
- Docs: Existing templates for evals, read
- Docs: List of available metrics, read
- README, read
- README, read
- Docs: Experimentation, read
Documented facts collected 2026-09-22. See the methodology for how metrics and facts are gathered.