Files
xming521andClaude Opus 5.5 f378ea0f2f feat: estimate a build's cost and time, and show what it spends
The build page counts the requests a build will send from the chats, without
calling the model. A trial sends 10 real windows (the answers are kept for the
build) and turns that into cost, tokens and time, priced from a bundled
snapshot of LiteLLM's price table: the service's own price for a known host,
else the median across providers, else no money. A price with off-peak hours
is taken for the periods a build started now would run in. Starting a build
waits for a trial of the saved settings, unless nothing is left to try.

While a build runs, the page shows what it has spent and what is left, per
stage too, and warns when spending runs far past the estimate. Codex builds
stop once the account's usage limit is met, keeping the answers already paid
for.

The web build reads only the chats uploaded for it: the page clears earlier
uploads when it opens, and a successful build clears its own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 23:57:26 +08:00
..