> For the complete documentation index, see [llms.txt](https://docs.alphagate.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.alphagate.io/developer-api/plans-and-credits.md).

# Plans and credits

API plans, how credits work, and how to top up.

Every call costs credits ([Endpoints](/developer-api/endpoints.md) lists the cost of each). Buying or renewing a plan adds its credits to your balance.

| Plan       | Price | Credits added | Period  |
| ---------- | ----- | ------------- | ------- |
| Developer  | $200  | 50,000        | 30 days |
| Growth     | $500  | 175,000       | 30 days |
| Enterprise | $900  | 375,000       | 30 days |

{% hint style="info" %}
Plans differ only in credits. Every plan has the same endpoints, page sizes and rate limit.
{% endhint %}

## How credits work

* **Credits never expire.** Nothing resets at the end of the month; unused credits stay until you spend them.
* **Pro subscribers get 20% more** credits on every API plan they buy.
* **Failed calls are free.** Errors and empty results cost nothing (one exception: `/user/contracts` is charged even when the account has no contracts).
* **Your balance is checked first.** If it is lower than the most a call could cost, the API answers `402 Insufficient credits` and charges nothing.
* Every response tells you what the call cost and what is left: `{"message": "OK", "data": ..., "credits": {"cost": 4, "remaining": 49996}}`.

## Top-ups

While an API plan is running you can add credits at its top-up rate, on the [Subscribe page](https://alphagate.io/subscribe)'s **API** tab and through the same checkout as Pro: from $1 up to $10,000 in a stablecoin, or up to $1,000 in a coin.

{% hint style="success" %}
A top-up of at least the plan's full price renews the plan instead: +30 days and the plan's credits, with anything above the price added at the top-up rate.
{% endhint %}

Your plan, balance, top-ups and usage are on the [API dashboard](/developer-api/api-dashboard.md).
