ChengRang

gBench

AI Platforms Open Source

Evaluation framework open sourced 2026/11/24 by Google's Gemma team, with 86 suites across six capability areas plus 16 Golden Set smoke checks, chat template validation and an agent quality suite. It speaks the OpenAI-compatible /v1 path so --remote-endpoint targets any service, verified on vLLM and Ollama, and starts a local vLLM when no endpoint is given, shutting it down afterward. Apache 2.0 on PyPI for Python 3.11 and newer

GoogleEvaluation FrameworkBenchmarkingOpen SourceModel Deployment
Visit gBench

Disclaimer: Review content represents our editorial team's views and experience, not commercial recommendation or investment advice. Product info and pricing may change; refer to official sources.

Overview

Anyone who has deployed a model has hit this: the same weights score one number on an official leaderboard and a different number on your own machine, sometimes ten points apart. When the score drops, there is no way to tell whether the model is weak or the chat template is wrong, a system prompt slipped in, or server parameters are misaligned. gBench, open sourced by Google's Gemma team, exists to make that distinction.

Its position is not another academic eval set. It puts model capability and the running service into one toolchain. Official wording names three things: evaluation, serving performance and release readiness. The distinction is practical, because whether a model serves reliably on vLLM and how it scores on MMLU are independent questions, and earlier tools handled one or the other.

The academic layer holds 86 evaluation suites grouped into six capability areas: general knowledge and scientific reasoning, mathematics and proof, coding and algorithm design, long context and retrieval, tool use and agentic workflows, and multimodal vision and localization. Familiar names like MMLU, GPQA and GSM8K sit alongside tool-calling sets and visual grounding tasks.

The smoke checks are where it behaves most like an engineering tool. There are 16 Golden Set checks that run before the full suite to confirm three things: the model is wired up correctly, the chat template is not broken, and it can answer at all. If any of those fails, every number from the 86 suites is worthless. Isolating that step saves hours of wasted benchmarking.

Installation is light. One pip install gbench on Python 3.11 or newer. The interface speaks the OpenAI-compatible /v1 path, so --remote-endpoint points at anything, and official docs confirm testing on vLLM and Ollama. Without a remote endpoint it starts a local vLLM server, then shuts it down afterward, managing memory and ports itself.

Dependencies are layered. The base package benchmarks a remote endpoint from a laptop, while the 86 academic suites need extra dependencies through pip install gbench[evals], and running vLLM locally requires installing vllm as well. That design serves two audiences: deployers who want a health check on their own service, and researchers running the full suite.

Multi-model comparison is a strength. Same question bank, same scoring logic, and a different --remote-endpoint gives you another model with alignment built in. Run everything with --evals all, or name specific suites such as --evals gpqa mmlu. Adding --eval-thinking enables reasoning mode, and --max-output-tokens caps per-question output so reasoning models do not run away.

Be clear about what it is not. It is a framework, not a leaderboard, and it will not hand you a cross-model ranking. The provenance of the 86 suites and their scoring implementations deserve a look before you make release decisions with them. It comes from the Gemma team, so Gemma models are the best-tuned path; other families run, but whether defaults are optimal is your call. A full run takes hours.

The fit is concrete. Teams running their own inference do a full health check before shipping. Comparing one model across quantizations or serving backends shows where the losses land. Wiring the smoke checks into CI runs a quick pass on every weight or template change. None of these need a ranking; they need a comparable yardstick.

Key Features

Use Cases

Pros

Pricing

Apache 2.0 and free to install from PyPI. Benchmarking consumes whatever inference compute the endpoint uses, billed by your hardware or provider.

Summary

An evaluation framework from Google's Gemma team with 86 suites and 16 smoke checks against any OpenAI-compatible endpoint, built to separate a weak model from a broken setup.

Version History

Category
AI Platforms
Pricing
Open Source
Tags
Google · Evaluation Framework · Benchmarking
Website

Related Tools