In beta

Your agents are leaking money.

Your logs already capture where. Polir reads them, finds the cheaper call at the same quality, and proves it. No SDK to start. Let us manage the loop.

scroll through one run of the loop
01 · The raw material

It starts with a log you already have.

Every run your agents make is recorded: model, tokens, tool calls, cost. That trace is the evidence, and you already keep it.

agent run · trace
modelsonnet-5
tool calls8
retries1
context67,390 tokens
cost$0.33
quality86
02 · Read-only, no SDK

Polir reads it. Nothing to integrate.

We connect to the logs you already keep, read-only. No code in your product, no risk in production. The audit comes before you commit a line.

Your logs
already there
Polir
de-confound · replay
03 · The cost frontier

It replays the call against thousands of alternatives.

The same run, every other model and setting, adjusted for difficulty so the comparison is fair. A cheaper model that holds your quality shows up.

your cost / quality frontier
cost per run →qualitysonnet-5 · todaygpt-5.5 · cleanestdominatedhaiku-4.5 · −51% · same q
04 · Proven, not estimated

And hands back a dollar-ranked list.

Every change comes with a saving you can trust, de-confounded, with a confidence interval. Not a guess, a number that holds quality.

what to change · ranked by proven saving
1Route support·long to the cheap workhorse−$0/mo
2Cap reasoning where it plateaus−$0/mo
3Guard runaway tool loops−$0/mo
Proven, de-confounded−$0 / mo
05 · The SDK

One line, and the loop closes.

When the audit convinces you, a single line lets the engine decide every call live, instead of you shipping a static guess.

# one line, in the path
import { polir } from "@polir/sdk";
const agent = polir.wrap(yourAgent);
↳ every call now decided + logged
06 · Your personal frontier

Then it runs, 24/7.

Polir keeps re-scoring your frontier as traffic shifts, and pushes the current best model to the router you already run. We control the router, you keep the savings.

recovered so far, this month
−$0
recomputed 24/7 · we control the router

See where yours is leaking.

Drop a log. Get the dollar-ranked list back, proven. No install, no commitment.

polir.ai · read the logs · decide the call · prove the lift