2 minute readNewAgent-ready
Preview a price change on your own past calls
Before you change a function's price, replay the new price over the calls it already served and see what each customer would have paid. Nothing is saved or charged.
Changing a price used to be a guess about who it would hit. Now you can try it on your own history first.
- Your calls, priced again. Pick one of your functions, or all of them, and a percent or a new cost per unit or multiplier. Every past call in the window is priced again with the same metering formula that charged it, once at today's price and once at the new one, so the difference is your change alone.
- Who pays more, who pays less. See the total before and after, how many customers would pay more, less or the same, the customers whose bill moves most, and how many would cross a spend level you choose.
- How far to trust it. The preview says how many calls it could replay and which ones were charged a different amount at the time. Customers are shown as Customer A, B and so on, never by name.
- For agents too.
POST /api/pricing/previewand the MCP toolpreview_price_changegive the same answer.
It is on Learned pricing for every workspace that owns a pricing function. Questions? Write to support@last-price.ai.
