# Billing

Source: https://smartpdf.ru/en/developers/docs/billing

## API balance

Requests are paid from the account’s API balance — in rubles, shared by all keys and MCP. There’s no subscription, and the balance never expires. You can top it up in your dashboard, in the [“API and MCP”](https://smartpdf.ru/en/dashboard/api-keys) section: by card or SBP (Russia’s Faster Payments System), from 100 ₽, with a receipt from a self-employed seller.

After you sign up and confirm your email (or sign in with Yandex ID), **300 ₽** is credited to your balance — once per account.

## Request price

A request is paid in **units: one unit per 10 MB of input or part thereof**, and the unit price is `request_price` (currently 0.25 ₽). A file up to 10 MB is 1 unit, 0.25 ₽; 25 MB is 3 units, 0.75 ₽. For merging, the total size of the files counts.

Heavy operations also count pages, and the greater value applies:

| Operation | Unit |
|---|---|
| Text recognition (OCR); PDF to Word and PDF to Markdown with `ocr: true` | 10 MB or 10 pages |
| Image to text | 10 MB of the total file size or 10 photos |
| PDF to Word, Excel, PowerPoint, JPG, Markdown | 10 MB or 50 pages; JPG at 300 dpi — 25 pages |
| All others, including the editor and finding and redacting personal data | 10 MB |

For example, text recognition of a 30-page, 2 MB scan is 3 units, 0.75 ₽; PDF to Word for 120 pages and 4 MB is 3 units; text from 15 photos is 2 units. For PDF to JPG with selected pages, only those pages count.

Current rates are returned by the public endpoint `GET /v1/pricing/api` (the request price is changed in the admin panel, so don’t hard-code it).

## Top-up bonus

| Top-up | Bonus |
|---|---|
| from 5,000 ₽ | +25% |
| from 20,000 ₽ | +56% |
| from 65,000 ₽ | +92% |

With the largest bonus, a standard request at the current price costs about 0.13 ₽.

## Business plan

On the Business plan, 500 standard requests a month are already included and are used before the balance; the month counts from the purchase date. The number remaining is returned by `GET /v1/api-keys/balance` (`included_remaining`).

## When money is charged

The payment is charged when the operation is accepted, before it’s queued. If there isn’t enough money or the key’s limit is used up, the API responds with `402` and charges nothing. If processing fails, the payment is returned automatically. The amount charged for each operation is shown in your dashboard, in the operation history.
