llm-speed-benchmark
A tool that can be used to measure the sequential performance of any OpenAI-compatible LLM API
File Explorer
- avg_time_between_chunks_boxplot.png
- avg_tokens_per_chunk_boxplot.png
- gpt_4o_vs_4o_mini.png
- num_response_tokens_boxplot.png
- output.csv
- output.md
- prompt_tokens_per_second_boxplot.png
- README.md
- response_tokens_per_second_boxplot.png
- time_to_first_token_boxplot.png
- benchmark.py
- LICENSE
- README.md
- requirements.txt
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
git clone
View Details ▼
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
pip install
View Details ▼
pip install
Install Python packages.
pip install {{package1 package2 ...}}
Install one or more packages:
pip install {{package1 package2 ...}} {{[-U|--upgrade]}}
Upgrade all specified packages to the latest version, installing any that are not already present:
pip install {{package}}=={{version}}
Install a specific version of a package:
yes
View Details ▼
yes
Output something repeatedly.
This command is commonly used to answer yes to every prompt by install commands (such as `apt-get`).
yes
Repeatedly output `y`:
yes {{value}}
Repeatedly output a specified value:
yes | sudo apt-get install {{program}}
Accept everything prompted by the `apt-get` command:
