Skip to main content

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.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for pareto-ops 1.1.0
File
pareto_ops-1.1.0-cp39-abi3-win_arm64.whl CPython 3.9 abi3 Windows ARM64 Details
pareto_ops-1.1.0-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details
pareto_ops-1.1.0-cp39-abi3-musllinux_1_2_x86_64.whl CPython 3.9 abi3 Linux musl 1.2+ x86-64 Details
pareto_ops-1.1.0-cp39-abi3-musllinux_1_2_aarch64.whl CPython 3.9 abi3 Linux musl 1.2+ ARM64 Details
pareto_ops-1.1.0-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.1.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.9 abi3 Linux glibc 2.17+ ARM64 Details
pareto_ops-1.1.0-cp39-abi3-macosx_11_0_x86_64.whl CPython 3.9 abi3 macOS 11.0+ x86-64 Details
pareto_ops-1.1.0-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details

Total release size: 15.5 MB

Release files / pareto_ops-1.1.0-cp39-abi3-win_arm64.whl

Download URL pareto_ops-1.1.0-cp39-abi3-win_arm64.whl
Size 1.7 MB
Tags CPython 3.9 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
2902afebdad8d049061ee4a8902df1c7fcf60614805f2588fd5eaee8f57905c7
BLAKE2b-256 checksum
How to use checksums
9b0ef5c724a6c22154772b9f7ccd9010e1fae0d80d5cea3b90878c46d8a30201
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.1.0-cp39-abi3-win_amd64.whl

Download URL pareto_ops-1.1.0-cp39-abi3-win_amd64.whl
Size 1.9 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
00131454beb1c77b90c52c017bd1cba388c788f4d049171ac468fde0778e12d8
BLAKE2b-256 checksum
How to use checksums
b89c50aea44ca3ada09778fa3f17e240d091fe59c99aaa38b17fe49ec9bc351c
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.1.0-cp39-abi3-musllinux_1_2_x86_64.whl

Download URL pareto_ops-1.1.0-cp39-abi3-musllinux_1_2_x86_64.whl
Size 2.2 MB
Tags CPython 3.9 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
1d42826c654e1f149b6cbc00c68b3f3b4bd0a7781687c8822666c50ef92367df
BLAKE2b-256 checksum
How to use checksums
9bf6be4f5eef30f8d61551b788830e8361405a8f53929d1895a19a0e4efd68aa
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.1.0-cp39-abi3-musllinux_1_2_aarch64.whl

Download URL pareto_ops-1.1.0-cp39-abi3-musllinux_1_2_aarch64.whl
Size 2.1 MB
Tags CPython 3.9 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
f51dbfcf2342018111af4636ece8427f888fd9c72d5cfdf525788d15d38bb5d5
BLAKE2b-256 checksum
How to use checksums
c0bd3a3217bc446701248d22a8126c94eb67beb4e2944549394b3ac47083e47e
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.1.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL pareto_ops-1.1.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.0 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
34baa6babf2cf1139ffe0259f74644b2af250a37b0d0cd1039997b2e04965c70
BLAKE2b-256 checksum
How to use checksums
b8c5ca5d22608830479184f476a52d20dae8b0413234e510e779afac94eb91b2
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.1.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL pareto_ops-1.1.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 1.9 MB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
e8bd1155a29372d249d758de5d8bfb5aee00db9d527e28099b8d688a99270928
BLAKE2b-256 checksum
How to use checksums
37906958323b16b08ad7d419a77cc60cd89332bf2b30c6e90af323866894b911
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.1.0-cp39-abi3-macosx_11_0_x86_64.whl

Download URL pareto_ops-1.1.0-cp39-abi3-macosx_11_0_x86_64.whl
Size 1.9 MB
Tags CPython 3.9 abi3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
02fd6cb179f2fd5887f5e8e4a7a047a1ff105456d88b85fac0a9fcaade2b01b0
BLAKE2b-256 checksum
How to use checksums
a692220d81739ff98beec38fa3f9dc813fc6eb0a359d15c0c3cfcb4e84ec8971
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.1.0-cp39-abi3-macosx_11_0_arm64.whl

Download URL pareto_ops-1.1.0-cp39-abi3-macosx_11_0_arm64.whl
Size 1.8 MB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7787d6f4b008ab0b0c7faeee95b3d3d8d67a9cac613ad219679e5a166ad850a7
BLAKE2b-256 checksum
How to use checksums
96df88f98efe7a9a9ba85d256d8080556c55b29f3b25c04b6e8cb1ee6f8a0029
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

1.1.0 This release

8 release files

1.0.1

8 release files

1.0.0

8 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page