ospalabs
Stop the spend

Every request priced at its worst case, before it leaves

Checking the bill after a request is too late, and checking a running total before it is racy: twenty concurrent requests all see the same balance. Fuse reserves each request's worst case in one atomic step, so the twenty-first sees the money the first twenty are holding.

  1. 01

    Price

    Input tokens plus the output cap, at the model's price, including long-context rates where a vendor bills the whole request higher.

  2. 02

    Reserve

    The worst case is held against the project counter in one step. In-flight money counts against the ceiling.

  3. 03

    Settle

    When the provider reports usage the hold becomes the real cost. An error before any tokens costs nothing.

Questions

Why does a realistic max_tokens help?
The hold is input plus the output cap. A smaller cap means a smaller hold, so more requests fit under the ceiling at once.