llmrace
The same request, every provider, one verdict.
Race LLM providers head-to-head from your terminal: latency, TTFT, tokens/s, p95, cost and task success — live. Then a CI gate that names the prompt that got worse.
This wheel carries the compiled llmrace binary for your platform. No
Rust toolchain needed.
Quick start
pip install llmrace
# no API key needed — two mock lanes, a podium, and whether the gap is noise
llmrace mock mock --no-tui -n 3 --warmup 0 --winner
# the same race on the providers you pay for
llmrace openai anthropic groq gemini --winner
# one workload, every lane, the same prompt on the same round
llmrace openai groq --workload prompts.jsonl --winner
What it does
- The race. One streaming request to every provider at the same time. TTFT, tokens/s, p95, inter-token gaps, cost per run (cache discounts priced), and goodput — a lane that drops half its rounds cannot win on the survivors.
- The answer. A workload checks each prompt (
exact,contains,regexor a JSON Schema). A fast wrong answer is a miss. Workloads can be multi-turn conversations with per-prompt system prompts and custom tool schemas. - The gate.
--baselineexits 1 when one prompt's success falls or its latency rises past the threshold — with a Welch significance test so noise does not fail your build.race.jsonnames the provider, the metric and the prompt id; JUnit and SARIF reports plug the same verdict into test reporters and code scanning. - The noise check. Every comparison says whether the gap is real or could be noise (Welch's t-test, p < 0.05).
- Agents.
llmrace --mcpis an MCP server: agents race providers, gate baselines and inspect the registry as native tool calls. - Embeddable. The
llmraceRust crate runs a full multi-lane race from your own test suite with scoped per-race pricing.
Single static binary. No telemetry. 18 cloud providers plus local
Ollama and any OpenAI-compatible endpoint. Also on Homebrew
(brew install dfbustosus/tap/llmrace), crates.io, Docker and as a
GitHub Action.
Links: GitHub · Changelog · Issue tracker
Metadata
Release files for llmrace 1.37.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| llmrace-1.37.2-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details for llmrace-1.37.2-py3-none-win_amd64.whl |
| llmrace-1.37.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | Python 3 | none | Linux glibc 2.17+ x86-64 | Details for llmrace-1.37.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
| llmrace-1.37.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | Python 3 | none | Linux glibc 2.17+ ARM64 | Details for llmrace-1.37.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
| llmrace-1.37.2-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details for llmrace-1.37.2-py3-none-macosx_11_0_arm64.whl |
| llmrace-1.37.2-py3-none-macosx_10_9_x86_64.whl | Python 3 | none | macOS 10.9+ x86-64 | Details for llmrace-1.37.2-py3-none-macosx_10_9_x86_64.whl |
Total release size: 41.4 MB
Release files / llmrace-1.37.2-py3-none-win_amd64.whl
| Download URL | llmrace-1.37.2-py3-none-win_amd64.whl |
|---|---|
| Size | 10.1 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
e881e06829263eadd2fe00a463c2072502a8c5cc57d43a5efd64a1aa4393d7ce
|
|
BLAKE2b-256 checksum How to use checksums |
3b829e288513067866a646ca18143a4d7aebdf87ec81f8011a921d9c5ad5cd6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.18
|
Release files / llmrace-1.37.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | llmrace-1.37.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 8.8 MB |
| Tags | Linux glibc 2.17+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
b33820e44d7e0aa2962b40a218207a6159a91f2e9dee88a0c1b024ffe700771a
|
|
BLAKE2b-256 checksum How to use checksums |
2e3bdfe1b1e17b7b73863ff94eb908a68a2aebed36095f657b80267d18f87319
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.18
|
Release files / llmrace-1.37.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | llmrace-1.37.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 7.4 MB |
| Tags | Linux glibc 2.17+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
fd5b2f7557a232bf420532ca2adb408d4adc8b2fb9d926b6c6c6857522c95532
|
|
BLAKE2b-256 checksum How to use checksums |
bd6297f9d2ca2be05a01c57e9884fc0bcb2ba6eaf44cf8b369728a85d0dd24f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.18
|
Release files / llmrace-1.37.2-py3-none-macosx_11_0_arm64.whl
| Download URL | llmrace-1.37.2-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 7.2 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
7471885b7cfdb1a241795ddf8df90827437fc79e0f1e128951431e2fa0a9e11e
|
|
BLAKE2b-256 checksum How to use checksums |
12b606ba6ea642fe3c11f34653cbc2c20f5b73c5273d38c9e2d2af10ecb21e9c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.18
|
Release files / llmrace-1.37.2-py3-none-macosx_10_9_x86_64.whl
| Download URL | llmrace-1.37.2-py3-none-macosx_10_9_x86_64.whl |
|---|---|
| Size | 8.0 MB |
| Tags | Python 3 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
000ca796be8a89c049820b3c90b1c9468330dccfa28018e732efa13d026c94dd
|
|
BLAKE2b-256 checksum How to use checksums |
35b49bde0c7974822f3decaca6fcacd03a35b35588ea49321517deb930421ed1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.18
|
Security for llmrace 1.37.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.