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

  • 6 built-in providers (Jale, Cost-Plus, Competitive, Optimal Stopping, Elo, Rosetta) with 18 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.

Recent changes

All Routing notes
  1. Improved

    Saved guardrails and routing policies apply on the next call

    A guardrail or routing policy you save is used by the very next price, within a second, instead of up to 30 seconds later.

  2. Improved

    Routing picks the same way every time, and policies are checked

    Automatic routing skips experiment assigners, breaks ties the same way on every call, and a routing policy that names a function it could never use is refused when you save it.

  3. Improved

    Choose routing weights by function name

    Choose functions by name and assign relative weights without typing their IDs.

  4. New

    See the item take shape as you describe it

    In the mobile app, the item sheet suggests a name, details and pictures while you type or speak, and sharpens as you add words.

  5. New

    Price an item from a photo on the website

    last-price.ai/price-check now prices one item from photos, a PDF, a link or a few words, with no account. Pick selling or buying and get a price, the range it sells in, its condition, and a listing or an offer to send.

Ready to try it?

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