Skip to content

v0.8.1 — provider-listed price fallback, x-polyrouter-tier value in the inspector, dated timestamps

Choose a tag to compare

@izzoa izzoa released this 22 Jul 17:47

Highlights

  • Recorded cost falls back to a provider's listed price. A model the LiteLLM catalog (exact + native-family) doesn't cover used to record unpriced, even when its provider — e.g. OpenRouter — reported a per-token price at sync time. It now records that captured listed price instead. LiteLLM always wins: the listed price is a last-resort fallback, never overrides the catalog, is snapshotted immutably, and is clearly marked as an estimate everywhere (provider-listed · estimate, · est., the request-table ~, budget-alert provenance, and the weekly-summary caveat) — never presented as an authoritative cost. A 0/0 listed price that isn't asserted free (token rates zero but a per-request/image charge) stays unpriced rather than showing a false "$0 free".
  • The x-polyrouter-tier value shows in the request inspector. A request routed by a tier-header remap rule (e.g. x-polyrouter-tier: shopping) now renders x-polyrouter-tier: shopping in the DECISION section instead of the header name alone. Rules on other headers still record the name only (a configured value there could be a credential).
  • The request inspector header carries the date. Timestamps now show date and time (e.g. 2026-07-22 10:01:58), unambiguous across days.

Upgrade notes

  • No migrations, no new env, no config changes — a drop-in upgrade.
  • Recorded cost for uncatalogued provider-listed models changes from unpriced to a marked estimate (see the first highlight). Historical rows are unchanged — cost is immutable. Run a pricing refresh to prefer authoritative LiteLLM rates where available.

Full package changelogs live in packages/*/CHANGELOG.md.