Quota & Top Up
How quota works in AI Router and how to add it to your account
Quota is AI Router's internal billing unit. When you call the gateway, consumption is calculated as the actual token count multiplied by the model's rate (multiplier). To add quota, open Top Up in the left sidebar, or go to /console/topup directly.
AI Router is a demo deployment. Pricing, currency amounts, and payment options below are not finalized — concrete numbers shown in any production instance are placeholders. (定价/费率/支付方式待补 / pricing, rates, and payment methods TBD.)
Screenshot placeholder: the top-up page in your deployment. (截图待补 / image TBD)
How quota is consumed
- Every chat/completion request deducts quota equal to
tokens used × model rate. - Different models can carry different rates; the exact rate table is configured per deployment and is not yet defined for this demo (费率待补 / rate table TBD).
- Your remaining quota and recent usage are visible in the console dashboard and usage logs.
Ways to add quota
The top-up page can expose one or more methods, depending on how the operator configures the instance. Whether any given method is enabled, and the amounts involved, are not finalized for this demo.
| Method | What it does |
|---|---|
| Redemption code | Enter an operator-generated code to credit quota directly to your account |
| Online payment | Pay through a configured payment provider, then quota is credited automatically |
No specific payment provider, currency, or amount is committed for this demo. Treat any provider names, price tiers, or "X per 1M tokens" figures you see as placeholders pending configuration. (支付渠道/金额待补 / payment provider and amounts TBD.)
Online payment top-up
On the top-up page, choose a preset amount or enter a custom amount. (Available amounts are not finalized — 金额待补 / amounts TBD.)
Select a payment method, if more than one is enabled. (Available providers are not finalized — 渠道待补 / providers TBD.)
Click Top Up. The page hands off to the configured payment flow.
Complete payment. On success you are returned to the console and your quota balance updates automatically.
Redemption code top-up
Find the Redemption Code input on the top-up page.
Paste or type a code provided by an operator.
Click Redeem. The system validates the code.
On success, the page shows the quota credited and your balance updates.
Referral rewards
Each account has a unique referral code. When a new user registers with your code, you can earn a referral reward. Whether referral rewards are enabled, and the reward amounts, are configured per deployment and are not finalized for this demo (奖励金额待补 / reward amounts TBD).
Get your referral code
Find the Referral section on the top-up page or in your personal settings, and copy your unique referral code.
How referral rewards work
- Reward on registration: when a referred user registers successfully with your code, the system can credit a configured reward quota to you (amount TBD).
- Transfer to balance: accumulated reward quota can be moved into your main balance using the Transfer to Balance button, after which it can be spent on gateway calls.
Notes
- This page describes the generic flow of an OpenAI-compatible gateway built on AI Router. Your instance may enable, disable, or relabel any of the methods above.
- For the OpenAI-compatible endpoint and base URL used when spending quota, see the API usage docs. Example base URL:
https://ai.sammier.com/v1. - Found an issue with this page? Open an issue on the source repository: github.com/ssgzy/Router-new-api.
How is this guide?
Last updated on