Billing and Quotas
CodeGate is prepaid. Add credit, spend it, add more. No monthly bill, no surprise overage.
The prepaid balance
Your account has one balance in credits. One credit equals one US dollar of purchased value. Every request debits from that balance in fractional credits based on the model and token count.
- Credits never expire.
- Balance is shown in the top-right of the console.
- When it hits zero, requests return
402 Payment Requireduntil you top up.
Adding credit
- Open Console, Top Up.
- Enter an amount. Minimum is a few dollars.
- Pick a payment method.
- Confirm. Balance updates within a few seconds.
Payment methods: cards, crypto, and bank transfer are all live. See the top-up page for the current list.
Viewing spend
- Per request: Console, Logs. Every call shows the model, token counts, and cost.
- Per key: Console, API Keys shows lifetime spend per token.
Per-key quotas
Every key has a spend quota. The default is a generous ceiling, but you can lower it per key.
- Open Console, API Keys and edit a key.
- Set Quota to the maximum credits this key can ever spend, or Unlimited to inherit the account balance.
- When a key hits its quota, requests return
403with a message. Raise the quota to unblock.
Use this to bound risk: a leaked local-dev key with a $10 quota can only cost you $10.
Enterprise
For larger teams, Enterprise unlocks:
- A private support channel (Slack or Discord).
- Bring-your-own-key custom channels, so you can route through your own OpenAI or Anthropic account with CodeGate's failover and analytics on top.
Join the Discord to set up a call.
Refunds
Refunds of unused credit are handled case by case. Join the Discord and we will evaluate the request. No fixed timeline, no fixed policy; each case is judged on its own facts.
Referral program
The console includes a referral program. Share your referral link, and both you and the referred user get credit when they top up. Details are in the console under Referral.
Common questions
- What if I get charged twice? Rare, but if it happens, join the Discord with the transaction ID.
- Do you charge per request or per token? Per token. Requests themselves are free; the cost is only what the token counts add up to.
- Are streams billed the same as non-streams? Yes. Token counts are identical for the same prompt and completion, streaming or not.
Next
- Models and Pricing for exact rates.
- Rate Limits.
- FAQ.