Compute
Run any pricing function. Skip the infra.
Compute is the managed runtime that executes your pricing functions: rule engines, ML models, LLM prompts, external APIs, or composites. Train a pricing model on your own sales or upload one, and Last Price hosts it, versions it and runs it on every call. Model Profiling captures latency, throughput, and cost for every call so you always know which function to route to.

What you can do
- Deploy custom pricing functions with the same execution_type contract as built-ins.
- Get GPU runtimes for ML pricing models with no machine to provision, on Baseten, Replicate, Hugging Face or Together AI with your key.
- Train a demand model on your own quote outcomes, scored against held-out sales, and retrain it nightly.
- Upload ONNX models from scikit-learn, XGBoost, LightGBM or PyTorch, and Last Price hosts and runs them.
- Promote and rollback model versions without touching client code.
- Profile every model: latency p50/p95/p99, throughput, error rate, and cost per call.
- Wire profiling output straight into Routing policies, cheapest, fastest, weighted.
Recent changes
All Compute notes- Improved
Release v0.11.0
v0.11.0 makes every price say what it means and what kind of claim it is, lets a buyer state the most it will pay, asks for a fresh sign-in before money decisions, and fixes routing, price bounds, UCP quotes and server errors.
- Improved
Cost and margin inputs are checked, never dropped
Cost and margin inputs that cannot be read are refused by name, the explanation starts with the price you get, and a batch keeps pricing past an item that fails validation.
- Fixed
Automatic routing moves on when a function fails
When the function cheapest or fastest routing picks fails while running, Last Price now tries the next function that can answer instead of returning an error.
- Fixed
Price bounds hold wherever you send them
A min_price or max_price sent inside context, or to the keyless compute_price tool, now holds the price the same way constraints does.
- Fixed
UCP quotes price catalog carts on their own
A UCP quote for items in your catalog now takes each line's price from the catalog, as checkout does, instead of asking for a current price.
Ready to try it?
Spin up a free playground tenant in under a minute. No credit card.