OpenAI Evals logo

OpenAI Evals

Free

OpenAI's framework for writing evals

FreeFree tier
Type
Open Source
Company
OpenAI

About OpenAI Evals

OpenAI Evals is an open-source framework for evaluating large language models (LLMs) and systems built using LLMs. It includes a registry of existing benchmarks to test different dimensions of OpenAI models, as well as the ability to write custom evals for specific use cases. Users can also build private evals using their own data without exposing it publicly. The framework supports advanced use cases like prompt chains and tool-using agents through a Completion Function Protocol, and integrates with tools like Weights & Biases and Snowflake for logging. Evals requires Python 3.9+, an OpenAI API key, and uses Git-LFS for data storage.

Key Features

Framework for evaluating LLMs and LLM systems
Open-source registry of benchmarks
Custom eval creation for specific use cases
Private evals using user data without public exposure
Completion Function Protocol for prompt chains and tool-using agents
Integration with Weights & Biases
Snowflake logging for eval results
Run evals directly in the OpenAI Dashboard

Pros & Cons

Pros
  • Open source and free to use
  • Extensible: supports custom and private evals
  • Comes with an existing registry of benchmarks
  • Backed by OpenAI and integrated with their ecosystem
  • Supports advanced patterns like prompt chains and agent evaluation
  • Can log results to Snowflake for analysis
Cons
  • Requires an OpenAI API key and incurs usage costs
  • Requires Python 3.9+ and Git-LFS setup for data
  • May be complex for beginners with limited technical background
  • Registry data is large and requires Git-LFS to download

Best For

Testing model performance across different dimensionsEvaluating custom LLM applicationsBenchmarking model versions for specific use casesBuilding private evals from internal data for workflow validationDeveloping and testing prompt chains and tool-using agents

FAQ

What is Evals?
Evals is an open-source framework by OpenAI for evaluating large language models (LLMs) and systems built using LLMs. It includes a registry of benchmarks and allows creating custom evals.
Do I need an API key to run evals?
Yes, you need to set up and specify your OpenAI API key using the OPENAI_API_KEY environment variable.
Can I create my own evals?
Yes, Evals supports writing custom evals for specific use cases. You can also create private evals using your own data without exposing it publicly.