Skip to content

PriceRouter

One endpoint. Every pricing vendor.

PriceRouter is OpenRouter for price computation: a single POST routes your pricing request across Jale, Elo, Rosetta, and any tenant-owned function. Seven routing strategies, per-call metering, and a public capability descriptor so AI agents can discover and use it without scraping docs.

last-price.ai/price-router
Multi-vendor catalog, routing strategy picker, built-in function table, and live test console.

What you get

  • Three built-in providers (Jale, Elo, Rosetta) with 15 pricing functions, ready to run on day one.
  • Seven routing strategies: explicit, cheapest, fastest, round-robin, weighted, policy, default.
  • Public capability endpoint (GET /api/price-router) returns providers, models, metering constants - no auth needed.
  • Function-name routing: pass lastprice/jale-elasticity and the router resolves it to a UUID automatically.
  • Per-call metering with a transparent cost formula: (input * cost_per_unit * 0.001 + output * cost_per_unit * 0.003) * cost_multiplier.
  • Circuit breakers per function - if a model fails, the router falls through to the next candidate.
  • Full OpenAPI contract so SDK generation and agent tool runtimes validate requests at compile time.

Ready to try it?

Spin up a free playground tenant in under a minute. No credit card.