Production-grade benchmarking platform for OpenAI-compatible LLM endpoints
Project description
LLM Benchmark Studio
Production-grade, local-first performance evaluation suite for OpenAI-compatible LLM endpoints.
LLM Benchmark Studio allows you to easily evaluate, benchmark, and visualize the throughput, latency, and token-level performance of any OpenAI-compatible API endpoint (including vLLM, LM Studio, Ollama, SGLang, TGI, OpenAI, and local custom routers).
Key Features
- 🔌 Connections Manager: Configure and store endpoint connections, target models, temperature settings, and custom request headers with a built-in lightweight network connection and latency tester.
- 📝 Prompt Dataset Editor: Import prompt datasets (CSV/JSON), customize individual prompts, and estimate token counts using client-side tokenizer heuristics.
- ⚡ Performance Benchmarking Engine: Run concurrent evaluations using customized batch sizes and warmup requests. Calculate throughput (Tokens/sec), Time to First Token (TTFT), and Inter-Token Latency (ITL).
- 🎛️ Force Max Tokens (Ignore EOS): Optional switch to ignore instruct model End-of-Sequence (EOS) tokens, forcing models to generate exactly the requested output token length.
- 🔎 Server-Side Token Verification: Requests use
"stream_options": {"include_usage": true}to extract exact, server-reported input/output token counts for absolute timing accuracy. - 📊 Parameter Sweep Matrix: Benchmark multiple parameter combinations (concurrencies, token sizes) in sequence. Generates sweep combinations automatically and visualizes performance frontiers.
- 📈 Real-Time Charts & Dashboard: Live progress tracking and interactive Apache ECharts displaying latency distributions and tokens/second throughput.
- 📄 Executive Reports: Export comparative benchmark reports side-by-side as print-ready HTML, compiled PDF documents (using WeasyPrint with a structured ReportLab fallback), or detailed multi-sheet Excel workbooks.
Installation
Install LLM Benchmark Studio using pip:
pip install llm-bench-studio
Note: Requires Python 3.10 or higher.
Quick Start
Launch both the user interface and backend server using a single command:
llm-bench-studio start
Once running, open your browser and navigate to: 👉 http://localhost:8005
Custom Host and Port Configuration
To bind the server to a custom interface or port, pass options to the CLI:
llm-bench-studio start --host 0.0.0.0 --port 8080
Local Development Setup
If you wish to run LLM Benchmark Studio from source or contribute changes:
-
Clone the Repository:
git clone https://github.com/bezawadasiddinikhilesh/LLM_Bench_Studio.git cd LLM_Bench_Studio
-
Backend Setup:
# Create a virtual environment python3 -m venv venv source venv/bin/activate # Install dependencies pip install -r backend/requirements.txt # Start the API server in reload mode python3 -m uvicorn backend.main:app --port 8005 --reload
-
Frontend Setup:
# Install node dependencies npm install # Run Vite development server npm run dev
-
Compiling a Package: Compile Vite assets and build a wheel distribution package locally:
./build_package.sh
License
This project is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file llm_bench_studio-0.1.1.tar.gz.
File metadata
- Download URL: llm_bench_studio-0.1.1.tar.gz
- Upload date:
- Size: 760.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
617f9b293f73cdbc67d507e9b49a7f7fcfe7f5bb5b5324465eadde954b263fc0
|
|
| MD5 |
fe2603ccf47b18abb829be5c9cf74500
|
|
| BLAKE2b-256 |
57c6eb744b011e66a0c40361f6fab3cdf168bc8d35b9dc5ffebf1b0010e33e77
|
File details
Details for the file llm_bench_studio-0.1.1-py3-none-any.whl.
File metadata
- Download URL: llm_bench_studio-0.1.1-py3-none-any.whl
- Upload date:
- Size: 771.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
414744b429c887e6d7d32b4a2f56979ebc278f5c8b81fb5a1f3bd6ed18d3761b
|
|
| MD5 |
63d6d0489cb299b0925a347adb56d19d
|
|
| BLAKE2b-256 |
2888c14d4aa3b1cc3d3bdc4376ac9e0bfb817188bf874b9fbd8f9307d1fefcb0
|