2 minute readNewAgent-ready
The plan quote now prices work that passes, not work that is tried
The plan quote now takes a pass rate for each step and costs the failed attempts you run again. It also compares other ways to do the same step, costed per unit that passes, cheapest first.
The sticker price per attempt hides two things: a cheap worker that fails often can cost more than a dear one, and a cheap worker following a written plan can cost far less. The plan quote on /plan-cost now prices each step per unit that passes.
- Pass rate per step. Tell the quote how often an attempt passes your own check, such as tests or a review. Failed attempts are run again, so a step that passes 80% of the time costs a quarter more than its sticker price, and the quote shows what the retries cost.
- Other ways to do a step. Add up to 8 other ways to do the same step, each with its own price, pass rate and set-up fee: another model, another supplier, or a cheap model following a plan a dearer model wrote once. They are costed per unit that passes, cheapest first, and a cheaper one shows up in the savings.
- On the page. Each step has a third line for its pass rate and one other way. A new bar chart, "Each way to do a step", compares them, and the table shows tries and the redo cost.
- Agents can ask too.
POST /api/public/plan-costand the toolestimate_plan_costtake the same inputs, listed in the [API docs](/api-docs).
Works with the MCP tool estimate_plan_cost and the @last-price/tools-* packages.
