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
Price Router: how a request is routed, the agent tool manifest, and the routing strategies.
Price Router: how a request is routed, the agent tool manifest, and the routing strategies.

What you get

  • 5 built-in providers (Jale, Cost-Plus, Competitive, Elo, Rosetta) with 17 built-in 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 and metering constants, with 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.