How Credits Work

Credits are the universal currency for AI usage in Quota.

Credit Basics

  • 1 credit = $0.01 USD
  • Credits are deducted automatically when you make API calls
  • Your balance cannot go negative - requests are blocked at zero
  • Credits never expire

Credit Calculation

Credits are calculated based on token usage, which varies by model. The formula is:

credits = (input_tokens * input_rate) + (output_tokens * output_rate)

Rates are based on the underlying model pricing, converted to credits. See the pricing page for current rates.

Checking Your Balance

You can check your balance at any time:

curl -H "Authorization: Bearer $QUOTA_API_KEY" \
  https://api.usequota.app/v1/balance

Adding Credits

Credits can be added through the dashboard or via Stripe checkout. Minimum purchase is 100 credits ($1.00).

Credit History

Every credit transaction is recorded in an immutable ledger. You can view your transaction history in the dashboard to see exactly what each API call cost.