Skip to content
llm-speed

Install

Install llm-speed

llm-speed is a free, open-source CLI that measures how fast a local LLM runs on your own GPU or Mac: decode tok/s, prefill tok/s and time to first token. Install it, run llm-speed doctor, then llm-speed bench.

Install options

Bare machine (no Python yet)

$ curl -fsSL https://llm-speed.com/install.sh | sh

Upgrade:

$ curl -fsSL https://llm-speed.com/install.sh | sh

Sets up Python through uv (it asks first), installs the CLI, then runs llm-speed doctor. The script is served over HTTPS and checks the uv installer's sha256 before running it; read it first at /install.sh if you prefer.

pipx (recommended if you already have Python 3.10+)

$ pipx install llm-speed

Upgrade:

$ pipx upgrade llm-speed

Installs llm-speed from PyPI into its own isolated environment. If llm-speed is already installed, a plain pipx install does nothing and leaves the old version in place: run pipx upgrade llm-speed instead. If that refuses (for example an install pinned with ==), run pipx uninstall llm-speed, then pipx install llm-speed.

uv

$ uv tool install llm-speed

Upgrade:

$ uv tool upgrade llm-speed

Same PyPI package, installed as a uv tool. Installed with a pin (uv tool install llm-speed==X)? uv tool upgrade won't move it; use uv tool install llm-speed@latest.

Homebrew (tested on Apple Silicon)

$ brew install meadow-kun/tap/llm-speed

Upgrade:

$ brew update && brew upgrade llm-speed

From the meadow-kun tap.

Upgrading

Running the install command again does not upgrade: pipx and uv keep the version you already have. Use the upgrade command for the tool you installed with (above), or, for a pip install inside a virtual environment:

$ pip install -U llm-speed

Then check which version is on your PATH. If it still shows the old one, another copy (Homebrew, pip --user, an old venv) is earlier on PATH; the install.sh script finds and lists every copy.

$ llm-speed --version

After installing

Run the doctor once. It checks every dependency and, in an interactive terminal, walks you through installing whatever is missing (a backend such as llama.cpp, Ollama, MLX or vLLM, and a model).

$ llm-speed doctor

Then measure, and compare your numbers with the cheatsheet of measured runs.

$ llm-speed bench

What gets sent with a run is described on the privacy page; how numbers are measured is on the methodology page.

Uninstalling

If you set up the background agent, remove it first, while the CLI is still installed. This stops and removes the service and deletes this computer's agent token (from the macOS Keychain or the token file) and its agent consent. Nothing is sent to the server: the machine stays listed on its queue until that queue's admin revokes it, but nothing on this computer can use the token any more.

$ llm-speed agent uninstall --forget

Then uninstall with the tool you installed with:

pipx:

$ pipx uninstall llm-speed

uv:

$ uv tool uninstall llm-speed

pip:

$ pip uninstall llm-speed

Homebrew:

$ brew uninstall llm-speed

Uninstalling keeps your settings, signing key, saved runs and downloaded models. To remove them too (on macOS, Linux and WSL2 they live in the same places; if you set LLM_SPEED_CONFIG, LLM_SPEED_CACHE or LLM_SPEED_MODELS_DIR, delete those folders instead):

$ rm -rf ~/.config/llm-speed ~/.cache/llm-speed ~/.local/share/llm-speed

~/.config/llm-speed holds settings, consent, the signing key and the agent's config and token file; ~/.cache/llm-speed holds saved runs, logs and downloaded models; ~/.local/share/llm-speed holds llama.cpp builds that llm-speed downloaded (a source build, if you accepted one, is in ~/llama.cpp-<tag>). The agent's service files, which agent uninstall --forget removes: on macOS ~/Library/LaunchAgents/com.llm-speed.agent.plist and the login Keychain item com.llm-speed.agent; on Linux ~/.config/systemd/user/llm-speed-agent.service (under $XDG_CONFIG_HOME if set); under WSL2 the Windows logon task\llm-speed-agent-<distro>, and the dedicated distro itself if you made one (wsl --unregister llm-speed-agent from PowerShell deletes it and its models).