---
title: Credits & Billing
description: How to buy credits, how they're charged and expire, and where to see each charge.
type: guide
status: stable
updated: 2026-12-03
url: /en/docs/billing
markdown: /en/docs/billing.md
---

Read as needed; not a required onboarding step. Path：[Data Access Path](/en/docs)

# Credits & Billing

API calls use credits. By the end of this page you can buy credits, understand your balance and find every charge.

Credits belong to the whole organization and are shared by all its applications and members.

## Buy credits [#buy]

1. See current packs and prices on the [pricing page](/en/pricing).
2. An organization owner or admin opens "Credits & history" in the console and chooses a pack.
3. You're taken to Stripe checkout to pay by card, Alipay or WeChat Pay (priced in USD).

- Card details are entered only on Stripe and never pass through us.
- Credits arrive automatically after payment, usually within seconds. Order status shows at the bottom of the page.
- Canceling checkout charges nothing.
- Packs are one-time purchases, not subscriptions.
- Topping up doesn't widen an application's access.
- The pricing page and console read the same configuration, cached for up to 60 seconds; the latest price applies at checkout.

## How credits are charged [#usage]

- Credits aren't call counts. The amount depends on the platform and operation pricing.
- Failed calls are refunded.
- Live queries reserve credits per item and settle on actual results; see [live queries](/en/docs/live-query#billing).
- With insufficient credits you get `402 credit_insufficient`.

## Permanent credits and monthly grants [#monthly]

Your balance has two parts:

| Type | Source | Validity |
| --- | --- | --- |
| Permanent credits | Sign-up grant and purchased packs | Never expire |
| Monthly grant | When enabled, granted once per UTC calendar month | Expires at 00:00 UTC on the 1st of the next month; doesn't carry over |

- The monthly grant is used first, then permanent credits.
- New organizations get the full current month on sign-up, not prorated. Adding members or applications doesn't add grants.
- The balance page shows permanent credits, remaining monthly grant and its expiry separately.
- Refunds return to the type they came from. Monthly credits keep their original expiry; expired ones don't become permanent.

## Refunds [#refund]

When a payment is refunded, the matching share of credits is taken back. Credits already used aren't reclaimed.

## See charges [#history]

- Console "Credits & history": balance, top-ups and every charge and refund.
- The application's "Usage": its call volume.
- [Request log](/en/portal/requests): what each request cost; see [investigate with the request log](/en/docs/portal#logs).

## Continue Your Task

[Return to the integration path](/en/docs); return to your task after consulting this reference.
