Google DeepMind has open-sourced gBench on GitHub under the Apache 2.0 license (published on PyPI up to 0.5.0.post1). Rather than treating model accuracy checks and serving throughput benchmarks as disconnected workflows, gBench verifies whether open-weight deployments preserve benchmark capability, render chat templates properly, handle tool schemas, and sustain tail latency under load—all directly against standard OpenAI-compatible /v1 HTTP endpoints.

Three-tier eval coverage and chat-template diagnostics

  • 86 modular capability suites (--evals all): Pure-Python suites span reasoning, coding, multimodal understanding, tool use, and multilingual tasks across six core pillars, plus standalone integration adapters for ui_control_osworld and swe_lancer. For multimodal benchmarks, gBench transmits original, unresized raw image bytes rather than recompressing inputs so serving backends face identical pixels.
  • 16 Golden Set checks and 60 containerized Agentic QA tasks: Fast developer iterations can invoke --golden-only for deterministic smoke tests—including paired checks engineered to isolate Jinja chat-template bugs from true weight quality issues. Passing --quality-only launches isolated gbench-quality Docker sandboxes running 60 multi-turn GemmaClaw and OpenClaw memory and tool-calling scenarios.
  • Remote /v1 endpoints and GPU tier validation: Using --remote-endpoint <URL>/v1 lets platform engineers test existing vLLM, Ollama, or unauthenticated Cloud Run services without touching model downloads, while built-in Hugging Face config rules cross-check weight footprints against three standard GPU tiers (1 GPU up to 20B parameters, 2 GPUs up to 80B, and 8 GPUs above 80B).
Google DeepMind gBench overview showing 86 capability benchmarks, 16 Golden checks, 60 Agent QA tasks, and ±9% open-loop Poisson serving certification
gBench eval tiers and open-loop throughput certification gates (FindGoodAI, from GitHub repository)

Repeatability gates, sharded sweeps, and licensing scope

Self-hosting and MLOps infrastructure teams: On the performance side, gBench executes multi-iteration repeatability runs reporting mean, P50, P95, P99, and coefficient of variation (default gate CV ≤ 5.0%), runs an open-loop Poisson rate-doubling search to pinpoint capacity, and certifies steady-state QPS using at least 1,099 (~1,400) probes accurate to ±9% against strict 5000ms TTFT, 200ms ITL, ≥90% completion, and <2% failure thresholds. Large evaluations also support distributed --shard and --merge coordination across workers. Keep in mind that while the gBench codebase itself carries an Apache 2.0 license, bundled third-party academic and agent benchmark datasets remain governed by their respective upstream licenses. Pair gBench workflows with vLLM, Promptfoo, our AI Agent Infrastructure Stack, and Model Radar.

Source: GitHub: google-deepmind/gbench