llm-cost-reduction → kalibr
This package redirects to kalibr — the production-grade solution.
Install
pip install kalibr
What kalibr does
Kalibr is a runtime cost optimization layer for AI agents. It automatically routes each LLM call to the cheapest model that will succeed at the task.
- ~12x cost reduction on typical agent workloads
- Zero quality loss — routes by outcome success, not just price
- Zero manual tuning — Thompson Sampling learns from every run
- Drop-in install — one import, no code restructuring
import kalibr # must be first import
from kalibr import Router
router = Router(
goal="answer_question",
paths=["gpt-4o-mini", "claude-haiku-3-5", "gpt-4o"],
success_when=lambda output: len(output) > 20
)
response = router.completion(messages=[{"role": "user", "content": "..."}])
Docs: https://kalibr.systems/llms.txt
GitHub: https://github.com/kalibr-ai/kalibr-sdk-python
Metadata
Release files for llm-cost-reduction 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| llm_cost_reduction-1.0.0.tar.gz | 2.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| llm_cost_reduction-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.8 kB
Release files / llm_cost_reduction-1.0.0.tar.gz
| Download URL | llm_cost_reduction-1.0.0.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
741ddc4d6106460a5df751c9f69d709e08062a3367b3f99ebc29376212e0d1dd
|
|
BLAKE2b-256 checksum How to use checksums |
7519132504d1477bc95923d4cf489b861e95045b8fa6b37bc6d86f5af1f68a64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / llm_cost_reduction-1.0.0-py3-none-any.whl
| Download URL | llm_cost_reduction-1.0.0-py3-none-any.whl |
|---|---|
| Size | 2.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
57362906e22dfa7feae12513cf9b35e04eec817b2858d6c5e2292847166c4f3b
|
|
BLAKE2b-256 checksum How to use checksums |
f3aa7e4ae201706a0e26c9f2d9753f2ce289d5b6eb378728fb3d3ddb25b4f946
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|