Account and billing
A BeatAPI account has one prepaid USD balance. Text calls are billed per token, tasks reserve credits on submission and settle on completion, and failed tasks are refunded. When the balance reaches zero, paid calls return 402 insufficient_credits until you add credits in the dashboard.
How does billing work?
Each account has one USD balance, and completed work draws the balance down. There is no subscription and no monthly commitment: you add credits up front, and requests consume the credits.
- Text is metered per token, priced separately for input, cached input, and output.
- Tasks (image, video, effect, workflow) reserve credits on submission and settle on completion.
Where do I see what I have spent?
The dashboard and the usage endpoint show the same figures:
- The dashboard, for calls, tokens, cost, and the per-key breakdown.
GET /v1/usage, for the same data programmatically, includingby_model,by_capability, andby_api_key.
What happens when a task fails?
The reservation is refunded. GET /v1/tasks/{task_id} reports the refund on the task itself, and GET /v1/usage reports credits_refunded alongside credits_settled.
Record both values in your own accounting. If your ledger records the reservation and never reads the refund, your ledger drifts from the invoice.
Why is my balance negative?
credit_balance can go below zero. A long-running task settles at completion, so work already accepted finishes and bills even if the balance reached zero while it was running. Add credits and the balance returns to positive.
What happens at zero?
Every paid operation on the account returns 402 insufficient_credits. The block applies to the whole account, not to one key. A balance above zero but below the price of a request gets the same 402. Tasks already accepted continue to completion. Nothing is deleted and no key is revoked; adding credits resumes service immediately.
A key with its own quota is a different case, and the answer depends on what is left. When the key’s quota is used up, it returns 401 invalid_api_key with the message This API key has used up its quota., while the account’s other keys keep working. When the key still has quota but less than the price of a request, it returns 402 insufficient_credits (“This API key’s remaining quota is below the price of this request.”). Raise the key’s quota in the dashboard or use another key. Keys created in the dashboard have no limit of their own.
If your users call BeatAPI through your product, set an alert on 402 responses so that you see an empty balance before your users do.
How is the request-rate allowance decided?
The allowance depends on the account’s lifetime paid top-ups, not on a plan. Adding credits moves the account up a tier permanently. The tier never falls back, because the lifetime top-up total only ever increases.
The tiers, your current allowance and the next tier are on the Billing page of the dashboard. No public API returns them. Two things are left out: promotional credits and referral bonuses do not count toward a tier, and the figure shown excludes any stricter limit attached to an individual key.
Free models (the Free category, such as deepseek-v4.1-flash-free) sit outside these tiers. Free models have a fixed per-account limit of their own: 1 successful request per minute before the first top-up, at most 10 per minute after any top-up however much was paid. The free-model limit is counted separately from the paid tier, so free calls do not use up the paid allowance, and a request over the free-model limit gets 429 with Retry-After.
Do credits expire?
No. The balance stays until it is spent.
Why does the same prompt cost different amounts?
The same prompt can cost different amounts for four reasons, listed roughly by how often each reason surprises people:
- Output length varies. Output is the expensive half of a text call, and the model decides the output length unless you cap the output.
- Cached input is cheaper than fresh input. Repeating a long system prompt can hit the cache and cost a fraction of the first call.
- Some models bill by time of day. The two DeepSeek HC (high-cache) models double on weekdays 09:00–12:00 and 14:00–18:00 Beijing time, while the regular paid DeepSeek models bill one rate at all hours; Hunyuan
hy3has its own daily peak window. The pricing page footnotes give the exact hours. - Some models bill by context length. Most GPT-6 models charge a higher rate above 272K input tokens and Grok above 200,000 tokens. A long agent session crosses it silently.
Every response’s usage record shows which rate was applied.
Can I see cost per application?
Give each application its own API key. by_api_key in GET /v1/usage then attributes tasks and credits per key with no further work.
How do I add credits?
Add credits on the Billing page. Available payment methods are grouped by region on that page:
- Global: Credit or debit card (Visa, Mastercard), Apple Pay, Google Pay (via Stripe), PayPal, and Crypto (via NOWPayments).
- China (CNY): Alipay and WeChat Pay.
- Russia (RUB): Russian bank cards (Mir, Visa, Mastercard), SBP, SberPay, T-Bank, and YooMoney (via Payssion).
Your USD balance updates as soon as the payment is confirmed, and no further setting needs to be enabled.
How long are results and uploads kept?
Result files and files you upload with POST /v1/files are kept for at least 72 hours, so download what you need to keep within that time. Stored capability results last 1 hour. The task record is kept separately from the files, and a failed task’s refund is recorded on it. The full table is in the Quick Guide.
How do I get help with a charge?
Open a ticket from the dashboard or email support@beatapi.io, with the request_id of the call in question, or the task ID. Either ID identifies a single record.

