ParetoOps
Cost per successful task for LLM applications. ParetoOps reads your eval results (Promptfoo, LangSmith, Braintrust, DeepEval, CSV or JSON), finds the Pareto frontier of cost against accuracy, recommends the cheapest configuration that meets your accuracy bar, and gates CI on it.
pip install pareto-ops
pareto-ops analyze results.json
pareto-ops gate results.json --config my-config --min-acc 0.9
The pareto-ops command is the same native CLI that npm install -g pareto-ops installs.
Python API
from pareto_ops import ParetoOptimizer, EvalTrial, ParetoAnalysisOptions, load_trials
trials = load_trials("promptfoo_results.json") # or build EvalTrial objects yourself
result = ParetoOptimizer(trials).compute(options=ParetoAnalysisOptions(min_success_rate=0.85))
print(f"Sweet spot: {result.sweet_spot.config_name}")
for rec in result.recommendations:
print(f"[{rec.type}] {rec.description}")
Free and Pro
Free (no key, no sign-up): analyze, gate on accuracy and cost thresholds, every importer, the
pricing catalog and this Python API. In the Python API, the 3D frontier
(enable_3d_optimization) and confidence-bound ranking (use_statistical_confidence) are Pro:
pass license_key=... to compute() or set PARETO_LICENSE_KEY. Pro also adds the regression gate against your last good run,
the git-branch baseline store, early stopping (watch) and the CI gate with PR comments
(pareto-ops ci). Pro is coming soon: join the interest list.
License keys are verified offline. ParetoOps sends no telemetry and never uploads your data.
Platforms
Prebuilt wheels for CPython 3.9 and newer on Linux (x86_64, arm64; glibc and musl), macOS (Intel and Apple silicon) and Windows (x64). Other platforms can use the standalone binary via npm.
License
Proprietary. Use is governed by the ParetoOps End-User License Agreement,
included in the wheel as LICENSE. Third-party notices are in THIRD_PARTY_NOTICES.md.
Metadata
Release files for pareto-ops 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| pareto_ops-1.0.1-cp39-abi3-win_arm64.whl | CPython 3.9 | abi3 | Windows ARM64 | Details |
| pareto_ops-1.0.1-cp39-abi3-win_amd64.whl | CPython 3.9 | abi3 | Windows x86-64 | Details |
| pareto_ops-1.0.1-cp39-abi3-musllinux_1_2_x86_64.whl | CPython 3.9 | abi3 | Linux musl 1.2+ x86-64 | Details |
| pareto_ops-1.0.1-cp39-abi3-musllinux_1_2_aarch64.whl | CPython 3.9 | abi3 | Linux musl 1.2+ ARM64 | Details |
| pareto_ops-1.0.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.9 | abi3 | Linux glibc 2.17+ x86-64 | Details |
| pareto_ops-1.0.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | CPython 3.9 | abi3 | Linux glibc 2.17+ ARM64 | Details |
| pareto_ops-1.0.1-cp39-abi3-macosx_11_0_x86_64.whl | CPython 3.9 | abi3 | macOS 11.0+ x86-64 | Details |
| pareto_ops-1.0.1-cp39-abi3-macosx_11_0_arm64.whl | CPython 3.9 | abi3 | macOS 11.0+ ARM64 | Details |
Total release size: 14.4 MB
Release files / pareto_ops-1.0.1-cp39-abi3-win_arm64.whl
| Download URL | pareto_ops-1.0.1-cp39-abi3-win_arm64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.9 Windows ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
e0e77d68b1fda4595b07b03827acbe0a41a9f6ddf1b5ea5d56b76bf068816cd2
|
|
BLAKE2b-256 checksum How to use checksums |
4d1cf1f7b9dc41a9fc9163539b2e96567e3eb3d2a155c4f74af6fbc7fb67ec07
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / pareto_ops-1.0.1-cp39-abi3-win_amd64.whl
| Download URL | pareto_ops-1.0.1-cp39-abi3-win_amd64.whl |
|---|---|
| Size | 1.7 MB |
| Tags | CPython 3.9 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
732f9d3c018e7a3e5114af096588c9a3ee013a088566e9f87c4db133192acec2
|
|
BLAKE2b-256 checksum How to use checksums |
9317e46f95b4dfd2ce723145604a84180c3b6c7ed6c4a51d18a7e30a94c87513
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / pareto_ops-1.0.1-cp39-abi3-musllinux_1_2_x86_64.whl
| Download URL | pareto_ops-1.0.1-cp39-abi3-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 2.1 MB |
| Tags | CPython 3.9 Linux musl 1.2+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
4ee25b56a1e255f68330b9b10cef10a709b162b4b4276d20b5b5799589298d9d
|
|
BLAKE2b-256 checksum How to use checksums |
14b6b084ad6109ef5b8d625360ed2390861c3bb8b67a0a720e09956bb5c6f64f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / pareto_ops-1.0.1-cp39-abi3-musllinux_1_2_aarch64.whl
| Download URL | pareto_ops-1.0.1-cp39-abi3-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 1.9 MB |
| Tags | CPython 3.9 Linux musl 1.2+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
f594a4d376c9e964ed0902be19ab0129b573e3e8484c779760730d335f254c93
|
|
BLAKE2b-256 checksum How to use checksums |
89f929fee4565ff1f2e650be3d51769c991dd83a67acf4020a7ae87aa76b23f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / pareto_ops-1.0.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | pareto_ops-1.0.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.9 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
b4362903d43981428ad71ed4993c05952cc40bef474bef20e6383807191449fa
|
|
BLAKE2b-256 checksum How to use checksums |
56886956974d97b6f38ad204258f146e4cd2557dbc86c3e6757b70b2b1c5dc69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / pareto_ops-1.0.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | pareto_ops-1.0.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
65b526225dba8f55c3c44903f59c687ec39e06a6823612ad8a90accab4903cdc
|
|
BLAKE2b-256 checksum How to use checksums |
c6331752c9acea382e8bbd87a1cfe2d5efaaae5e83ea31b70f9523dda794ccbc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / pareto_ops-1.0.1-cp39-abi3-macosx_11_0_x86_64.whl
| Download URL | pareto_ops-1.0.1-cp39-abi3-macosx_11_0_x86_64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.9 abi3 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
b075c195f71ed6988245cf4db270f650ad704424aac8c5ce007538d7cdf0e1c4
|
|
BLAKE2b-256 checksum How to use checksums |
3f88c1b016df82d9d3f2c43fc858bd463840011c302a39d492873d8904a1062b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / pareto_ops-1.0.1-cp39-abi3-macosx_11_0_arm64.whl
| Download URL | pareto_ops-1.0.1-cp39-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.9 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
19c00b93d895d47d91143cf0ceba9f2dca00cbaaf6b3dd56c9a26d11f5cc4724
|
|
BLAKE2b-256 checksum How to use checksums |
50374dea5728c67fb82378c4a3ccfd975944c3b6635649dbd9f73204a6f500e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|