Promptfoo vs Language Model Evaluation Harness: 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.
Language Model Evaluation Harness: Framework for evaluating generative language models on academic benchmarks across transformers, vLLM, SGLang and API backends.
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
| Fact | Promptfoo | Language Model Evaluation Harness |
|---|---|---|
| Stars | 25,3711 | 14,0551 |
| Forks | 2,3531 | 3,5851 |
| Contributors | 3491 | 4601 |
| Last release | 2026-09-181 | 2026-08-311 |
| Last commit | 2026-09-221 | 2026-09-141 |
| Commits in 90 days | 7751 | 911 |
| License | MIT1 | MIT1 |
| Primary language | TypeScript1 | Python1 |
| Status | active1 | active1 |
| Model providers | OpenAI, Anthropic, Azure, Bedrock, Ollama and others source: README | Hugging Face transformers, vLLM, SGLang, GGUF via llama.cpp, NeMo, Megatron-LM; OpenAI, Anthropic, LiteLLM, local API servers source: README |
| Evaluation metrics | Assertions for equality, JSON structure, similarity and custom functions source: Docs: Assertions & metrics | acc, acc_norm, perplexity, matthews_corrcoef, f1, bleu, chrf, ter; exact_match and others through metric_list source: Docs: Task Configuration |
| Test definition format | YAML config file (promptfooconfig.yaml) with prompts, providers and test cases source: Docs: Getting Started | YAML task configs with Jinja2 prompts; CLI (lm_eval) and Python API (simple_evaluate) source: README |
| CI integration | GitHub Actions guide and GitHub Marketplace action; CI/CD guide for other platforms source: Docs: CI/CD Integration for LLM Evaluation and Security | not documentednot found in the project's documentation as of |
| Report formats | HTML, JSON, CSV, JUnit XML (promptfoo eval --output) source: Docs: Output Formats | Results JSON via --output_path; sample logs via --log_samples; Hugging Face Hub, W&B and Zeno uploads source: README |
| Install method | npm (npm install -g promptfoo), Homebrew (brew install promptfoo), pip (pip install promptfoo) source: README | pip from a Git clone (pip install -e .); model backends as extras such as lm_eval[hf], lm_eval[vllm], lm_eval[api] 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
Language Model Evaluation Harness
Fits projects that test generative language models on academic benchmark tasks; its README describes a unified framework for a large number of evaluation tasks. 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: latest release, read
- GitHub REST API: latest release, read
- GitHub REST API: commits, read
- GitHub REST API: commits, read
- README, read
- README, read
- Docs: Assertions & metrics, read
- Docs: Task Configuration, read
- Docs: Getting Started, read
- Docs: CI/CD Integration for LLM Evaluation and Security, read
- Docs: Output Formats, read
Documented facts collected 2026-09-22. See the methodology for how metrics and facts are gathered.