Balance & budgets
Fund your project and control API spending.
Project balances
Each project has a separate prepaid USD balance. Available funds equal posted funds minus active holds. A hold is not a posted debit; it protects against concurrent overspending.
curl "https://api.quanteex.com/v1/balance" \
-H "Authorization: Bearer $QUANTEEX_API_KEY"Before generation
The API checks the available project balance and applicable budgets before generation. GPT needs a positive available amount for its temporary hold. Insufficient funds return 402.
Available balance
GPT requests temporarily hold up to $0.05, or less when the available balance or budget is smaller. This is not the final price or an output limit: actual token usage may cost more. Final billing protects other active holds and respects project, key and request budgets.
Image reservations
The API reserves the exact unit price multiplied by n, then charges only for completed images. For GPT Image 2.6, see pricing.option_prices in authenticated GET /v1/models. Image token usage does not add a charge.
Budget controls
Text requests accept X-Quanteex-Max-Charge-USD as an optional per-request ceiling. Images currently use X-Quanteex-Max-Cost-USD instead. Match the header to the operation; do not assume the two names are interchangeable. Project and key budgets also apply.
X-Quanteex-Max-Charge-USD: 10.00
# For Images requests instead:
X-Quanteex-Max-Cost-USD: 0.036Project limits
Project and API-key limits may reject a request before dispatch. Check the dashboard for the current limits.
View charges
Failed generation releases its hold without a customer charge. Live requests renew their holds while working; after a process interruption, abandoned holds expire about 15 minutes after the last renewal plus a recovery interval. A client disconnect can still be followed by completed, billable generation. Avoid automatic resends and review Usage and Balance & payments with the request ID.



