Skip to content

twaka/loadllm

Repository files navigation

loadllm

A load testing tool for LLM streaming APIs.

loadllm

Usage

1. Setup

git clone https://github.com/twaka/loadllm.git
cd loadllm
npm install
npm run build
chmod +x dist/cli.js
export OPENAI_API_BASE="http://localhost:8000/v1" # openai compatible endpoint to test
export OPENAI_API_KEY="sk-your-key"              # api key for the endpoint

2. Run

  • Run a test with 3 concurrent virtual users for 60 seconds using the gpt-oss-20b model:
    dist/cli.js -m gpt-oss-20b -c 3 -d 60

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published