> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gainflow.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Credits

> How requests are metered.

Gainflow bills in credits. Each response tells you what it cost in `meta.credits_used`.

| Action | Credits |
| - | - |
| Scrape a page or PDF | 1 |
| Scrape served from cache (`max_age_sec` above 0) | 0 |
| CSS field parsing (`parse`) | Free on top of the scrape |
| Map a site | 1 |
| Balance, usage and key management | Free |
| A fetch that fails upstream | 0, the reserved credit is released |

## Free credits

Every new account gets **300 credits** when it first signs in.

## How a request is charged

1. Gainflow **reserves** the credit before it fetches.
2. On success the reservation is **settled**.
3. If the target site fails, the reservation is **released** and you pay nothing.

All of this is visible in your ledger at [`GET /v1/account/usage`](https://docs.gainflow.ai/api-reference/account/list-usage) as `reserve`, `settle`, `release`, `topup` and `refund` entries.

When your balance runs out, requests return `402` with the code `INSUFFICIENT_CREDITS`.

## Plans and top-ups

Monthly plans add credits every billing period. One-time packs add credits once. Buy or change either in the [dashboard](https://gainflow.ai/dashboard).

| Plan | Credits a month | Rate limit |
| - | - | - |
| Free | 300 once | 60 requests a minute |
| Starter | 5,000 | 300 requests a minute |
| Growth | 25,000 | 1,000 requests a minute |
| Scale | 100,000 | 3,000 requests a minute |

Packs: 5,000 or 25,000 credits.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.