Reservations affect the available allowance
A submitted task can consume allowance before its final result is delivered. Failed jobs and confirmed settlement changes affect the recorded usage. For text, a maximum reservation can later settle to measured usage. Do not calculate remaining permission merely by counting completed images or by subtracting last month's jobs from this month's cap.
What to do next
- 01
Read the reported month
Use the month field from /usage rather than the user's local calendar date. Keep monthly_limit and monthly_used alongside the shared balance in your application view.
- 02
Estimate the next reservation
Obtain the exact quote and compare it with the remaining allowance. A task can be rejected by the cap even when the account wallet holds enough credits.
- 03
Investigate differences by job
Review recent accepted, pending, completed and failed tasks. Keep this key's cap separate from the broader account job history and other keys' consumption.
A concrete example
Illustrative case: a key has a 100-credit monthly cap with 90 credits used. A 20-credit reservation is not permitted even if the account balance is 1,000. Another key's allowance does not automatically enlarge this one.
Before you call it ready
- Month boundaries use UTC.
- Cap and wallet are displayed separately.
- Pending reservations are considered before creation.
When to stop or choose another method
Do not automatically raise the cap whenever a request fails. Confirm the intended monthly spending approval and the exact cause of the rejection first.
