Usage & Billing
Usage & Billing
Usage & Billing
Gateway AI uses a prepaid credit model. You purchase credits, and each API request deducts from your balance based on token usage and model pricing.
For each request, the gateway tracks:
The cost is calculated using the model’s per-token pricing, which has two components:
The difference is your savings.
Your dashboard overview shows:
These metrics are available for any time period and can be broken down by key, provider, model, or date.
Go to Settings > Billing in your dashboard.
Available credit packages are displayed with their price and credit amount. Click a package to purchase:
The Usage page in your dashboard provides:
Each key tracks its own spend. View per-key usage in the keys table or via the management API at GET /v1/keys/{id}/usage.
Every credit change is recorded in an append-only ledger:
View your transaction history in Settings > Billing.
Every API request is logged with:
View the full audit trail in the Audit page. Export as CSV or JSON for compliance reporting.
No prompt or completion content is stored — only metadata.