Skip to main content

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:

  1. Clone the Repository:

    git clone https://github.com/bezawadasiddinikhilesh/LLM_Bench_Studio.git
    cd LLM_Bench_Studio
    
  2. 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
    
  3. Frontend Setup:

    # Install node dependencies
    npm install
    
    # Run Vite development server
    npm run dev
    
  4. 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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llm_bench_studio-0.1.2.tar.gz (803.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llm_bench_studio-0.1.2-py3-none-any.whl (820.9 kB view details)

Uploaded Python 3

File details

Details for the file llm_bench_studio-0.1.2.tar.gz.

File metadata

  • Download URL: llm_bench_studio-0.1.2.tar.gz
  • Upload date:
  • Size: 803.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for llm_bench_studio-0.1.2.tar.gz
Algorithm Hash digest
SHA256 1451e6fcd35ec5a2c399c36171d6cf43890c62fb9ef10271e5face1edb6810f2
MD5 5f55af24c00e0aab3947705b7f07dead
BLAKE2b-256 a9f7c37d0f178d3f7fc4ea50b80c23f616f8fb965c392ba7bbddb5c1193308f2

See more details on using hashes here.

File details

Details for the file llm_bench_studio-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for llm_bench_studio-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0b979e2df1b545f6fb8d8ee0f5e44172f8cef37c567cdccfa41e53d5cb658dd4
MD5 b00e477cbaff8cdbec8ae1132493c553
BLAKE2b-256 5e45a044d2791b56b387e828d4dff25b9f6158e379890b67157d16c30af27e2e

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page