Genai-bench is a powerful benchmark tool designed for comprehensive token-level performance evaluation of large language model (LLM) serving systems.
See the code
Genai-bench is a powerful benchmark tool designed for comprehensive token-level performance evaluation of large language model (LLM) serving systems.
It provides detailed insights into model serving performance, offering both a user-friendly CLI and a live UI for real-time progress monitoring.
Quick Start: Install with pip install genai-bench.
Alternatively, check Installation Guide for other options.
Run a benchmark against your model:
# Text generation (chat completions)
genai-bench benchmark --api-backend "your-backend" \
--api-base "http://localhost:8080" \
--api-key "your-api-key" \
--api-model-name "your-model" \
--task text-to-text \
--max-time-per-run 5 \
--max-requests-per-run 100
# Image generation (OpenAI-compatible /v1/images/generations)
genai-bench benchmark --api-backend openai \
--api-base "http://localhost:8080" \
--api-key "your-api-key" \
--api-model-name "your-model" \
--model-tokenizer "gpt2" \
--task text-to-image \
--traffic-scenario "I(1024,1024)" \
--max-time-per-run 60 \
--max-requests-per-run 10 \
--dataset-path /path/to/image_prompts.txt
Generate Excel reports from your results:
genai-bench excel --experiment-folder ./experiments/your_experiment \
--excel-name results --metric-percentile mean
Create visualizations:
genai-bench plot --experiments-folder ./experiments \
--group-key traffic_scenario --preset 2x4_default
If you're new to GenAI Bench, check out the Getting Started page.
For detailed instructions, advanced configuration options, and comprehensive examples, check out the User Guide.
If you are interested in contributing to GenAI-Bench, you can use the Development Guide.
2,138 followers · starred Jul 2025
3,386 followers · starred Jun 2025
470 followers · starred Nov 2025
541 followers · starred Jun 2025
Genai-bench is a powerful benchmark tool designed for comprehensive token-level performance evaluation of large language model (LLM) serving systems.
See the code
Genai-bench is a powerful benchmark tool designed for comprehensive token-level performance evaluation of large language model (LLM) serving systems.
It provides detailed insights into model serving performance, offering both a user-friendly CLI and a live UI for real-time progress monitoring.
Quick Start: Install with pip install genai-bench.
Alternatively, check Installation Guide for other options.
Run a benchmark against your model:
# Text generation (chat completions)
genai-bench benchmark --api-backend "your-backend" \
--api-base "http://localhost:8080" \
--api-key "your-api-key" \
--api-model-name "your-model" \
--task text-to-text \
--max-time-per-run 5 \
--max-requests-per-run 100
# Image generation (OpenAI-compatible /v1/images/generations)
genai-bench benchmark --api-backend openai \
--api-base "http://localhost:8080" \
--api-key "your-api-key" \
--api-model-name "your-model" \
--model-tokenizer "gpt2" \
--task text-to-image \
--traffic-scenario "I(1024,1024)" \
--max-time-per-run 60 \
--max-requests-per-run 10 \
--dataset-path /path/to/image_prompts.txt
Generate Excel reports from your results:
genai-bench excel --experiment-folder ./experiments/your_experiment \
--excel-name results --metric-percentile mean
Create visualizations:
genai-bench plot --experiments-folder ./experiments \
--group-key traffic_scenario --preset 2x4_default
If you're new to GenAI Bench, check out the Getting Started page.
For detailed instructions, advanced configuration options, and comprehensive examples, check out the User Guide.
If you are interested in contributing to GenAI-Bench, you can use the Development Guide.
2,138 followers · starred Jul 2025
3,386 followers · starred Jun 2025
470 followers · starred Nov 2025
541 followers · starred Jun 2025