Billing outcomes
Money is counted in tokens, the unit the app shows. Every paid request is quoted first: the quoted maximum is reserved before work starts and is never exceeded.
Generation outcomes
Section titled “Generation outcomes”| Outcome | Charged | Notes |
|---|---|---|
completed |
At most cost.quoted_max |
cost.charged is final once cost.final is true. |
failed |
Nothing | Failed work is free. The generation ID stays the same when a failed attempt is retried automatically. |
canceled before dispatch |
Nothing | The reserved tokens are released. |
canceled after dispatch |
At most cost.quoted_max |
Work already sent to a model host may still finish, and is then charged within its quote. |
| Late result | Nothing | A result that arrives late is delivered free. |
Errors
Section titled “Errors”Every refusal is free: an error response means nothing was started or charged by that request.
See Pricing and quotes and Spending limits.