API
API billing
The same credit meter as the product, plus a per-key cap.
Usage is billed to the account that owns the key, on the same credit meter as the product. Prices are unchanged by the API. A normal call is the provider price plus 8%. A Night owl batch call is the batch price plus 5%.
Two caps
- The account wallet. If it cannot spend, the call is 402 insufficient_quota.
- The key's optional monthly credit cap, in UTC months. Past it, the call is 402 spend_cap. Editing the cap does not rotate the secret.
Partner responses include a credits field when the handler charged the turn. Image generation also posts a usage.recorded webhook. See the product billing page for plan prices, top-ups, and rollover.