ROI calculator
From audit to business case.
Every number is recomputable by hand. The savings share and eligible share come from your Routing Audit or pilot ledger; the rest are your own figures.
Inputs
s and q must come from the Routing Audit or pilot ledger, never a guess.
Business case
Lead with the conservative column (audit savings - 10 points).
| Per month | Conservative | Audit | Audit + learned |
|---|---|---|---|
| Gross savings (G) | $13,104 | $16,744 | $19,656 |
| Platform fee (F) | $999 | $999 | $999 |
| Engineering time recovered | $2,400 | $2,400 | $2,400 |
| Net benefit (N) | $14,505 | $18,145 | $21,057 |
| Payback (P) | 0.1 mo | 0.1 mo | < 0.1 mo |
| First-year ROI | 12.4x | 15.5x | 18.0x |
| Year-1 net (12N - I) | $172,140 | $215,820 | $250,764 |
G = S x s x q; N = G + H x r + V - F; P = I / N; ROI = (12N - I) / (12F + I). Savings-share fee is capped at the tier ceiling so the fee can never exceed the cap. Finance can recompute G from the per-request ledger export (baseline_cost - routed_cost). Cost per request today: $0.0133.
Get the audit numbers
Replay a week of anonymised traffic through your catalogue. The report returns savings_pct (s), the share of rows above the confidence floor (q) and every policy violation your current routing allowed.
pip install "opensmartroute[yaml]"
osr -t targets.yaml audit traffic.jsonl --baseline gpt-frontier --monthly 3000000 --markdownThen measure it live
In production the savings ledger records baseline versus routed cost per request together with the reported quality, so finance can reconcile the fee against real spend.
ep = RouterBuilder(registry).with_savings(baseline="max").build()
print(ep.savings.report(window_s=30 * 86400).to_markdown())Reference formulas and worked examples: plans and quotas and the docs/sales kit in the repository. Compare against your current gateway on the comparison pages.