
The Credits page in AI Gateway, showing the balance, payment method, auto top-up settings, and transaction history.
Available credits
The current credit balance is displayed at the top of the page and is shared across all projects in the organization. Credits are consumed as requests are made through the AI Gateway. Each model call deducts from the balance based on token usage and model pricing.When the traces included in the package are exceeded, tracing costs are also deducted from credits. Credit purchases have a minimum amount of $5. See AI Gateway pricing for model and tracing cost details.
Add Credits
Click Add Credits to purchase additional credits and top up the balance.1
Click Add Credits
Click the Add Credits button in the Available credits panel.
2
Enter an amount
Enter the dollar amount to add to the balance.
3
Add a Tax ID (optional)
Expand the Edit Tax ID section to add a tax identifier. Tax IDs are supported globally. Select the country and applicable tax ID type, then enter the number. Optional but recommended for businesses that need it reflected on invoices.
4
Select a payment method
Choose an existing payment method or add a new card.
5
Enter name and billing address
Provide a name and billing address. Required for payment processing with Stripe.
6
Confirm purchase
Confirm the transaction. Credits are added to the balance immediately.
Payment Method
Add a credit card to enable credit purchases and auto top-up. Click Add new in the Payment Method panel to register a card.At least one payment method is required to enable auto top-up.
Auto Top-up
Auto top-up ensures the balance never runs out by automatically purchasing credits when it drops below a threshold. To configure auto top-up:- Enable the Auto top-up toggle.
- Set the Top-up threshold (e.g. $50). A top-up is triggered when the balance falls below this amount.
- Set the Amount to add (e.g. $200). This is the amount automatically added each time.
- Click Save changes.
Transaction History
The Transaction History table shows a log of credit purchases only. Usage deductions from individual API calls are not listed here. Refer to the AI Gateway dashboard for usage details.Filtering Transactions
Use the Filter button to narrow down the transaction history by type:- Purchase: manual credit top-ups
- Auto Top-up: automatic top-ups triggered by the auto top-up threshold