# Billing

## What you pay for

Per GB of extracted text per month, multiplied only by how often it syncs:

| Frequency       | Per GB per month |
| --------------- | ---------------- |
| Daily           | $5   |
| Hourly          | $8  |
| Every 5 minutes | $12    |

- Free plan: 100 MB and 3 libraries with daily sync. No card. The allowance is yours, not each organization's: it is shared by all the free organizations you create (up to 3).
- Paid plan: $5 monthly minimum, no size limit, any frequency, any number of libraries.
- No seat fees. Searches are not metered, though fair-use rate limits apply.

The paid plan has no free part. The $5 minimum includes what 1 GB at daily sync uses in 30 days; usage above that is billed at the rates above.

Hourly libraries are billed as at least 10 MB, and every-5-minutes libraries as at least 20 MB, because each sync between the daily full syncs has a fixed cost whatever the size. Daily libraries are billed at their size.

## What a GB is

1 GB is 1,000,000,000 bytes of extracted source text kept in a library: the text of pages, issues and files after Shoko extracts it. 1 MB is 1,000,000 bytes, so the free plan holds 100,000,000 bytes. It is not the size of files on disk, and not vectors or search chunks.

## How a month is measured

Shoko measures each library's size every 5 minutes, and each day counts that library's largest size that day. A day is that size in GB times the frequency's weight: 1 for daily, 1.6 for hourly, 2.4 for every 5 minutes. One such GB-day costs $5 ÷ 30.

So 1 GB with daily sync costs $5 for a 30-day month. Billing months follow the day you upgraded and run 28 to 31 days, so the same GB is $5.17 in a 31-day month, and the $5 minimum applies in a short one. The day you upgrade and the day the paid plan ends count only the hours the paid plan covered. Adding or removing a library changes the bill only for the days affected.

You pay by card. The $5 minimum is charged when you upgrade and at the start of each month after that. Usage above what it includes is billed after the month, on the same invoice as the next month's minimum, so the minimum is never charged twice. **Billing** in the dashboard shows the month so far, by library, and the projected total.

## Spending limit

A paid organization has a monthly spending limit, $50 to start. The owner changes it in **Billing**. A new paid organization can raise it to at most $50 until its first monthly invoice is paid, then to at most $500 until three are paid, then to any amount up to $100,000. Only invoices that charged for usage above what the minimum includes, paid in full, count: the payment at upgrade and a month that cost only the minimum do not. While a payment is failing the limit is at most $50, and after a paid plan ends because it was not paid, the count starts again. Once a month's usage reaches $500 ($50 before the first monthly invoice is paid), Stripe invoices it straight away instead of waiting for the end of the month. When the projected bill for the month would pass the limit, syncs add only what fits, the same way as at the free plan's 100 MB: deletions and changes that do not grow a document are still applied, new and growing content waits, and the library shows **Limit reached**. Everything indexed stays searchable. Billing says so. Raise the limit to index the rest.

## Upgrade, manage, cancel

- **Upgrade**: the owner presses **Upgrade** in Billing and enters a card on Stripe's page. The plan changes as soon as Stripe confirms.
- **Manage billing** opens Stripe's page for the card, billing details and invoices.
- **Cancel** there too. The paid plan runs to the end of the month already started. Its usage, up to the moment it ends, is billed after it; no new minimum is charged. Then the free plan applies. Nothing is deleted: libraries keep what they have indexed and stay searchable. Only the 3 oldest libraries keep syncing, daily. While they hold more than 100 MB, their syncs still apply deletions and changes that do not grow a document, but add nothing new. Delete libraries, or upgrade again.

Only the organization's owner can upgrade, change the limit or manage billing. Admins and members can see Billing.

## If a payment fails

Stripe retries the card and emails you. Libraries keep syncing for 7 days. After that they stop syncing until the payment goes through; search keeps working. Update the card in **Manage billing**.

If Stripe stops retrying and the paid plan ends because it was not paid, the owners get an email and the free plan applies. Libraries that fit in the free plan (100 MB and the 3 oldest libraries) stay. The others:

- stop being searchable 14 days after the failed payment;
- are deleted 30 days after the failed payment.

Neither happens before the plan has ended, and nothing is deleted sooner than 7 days after the email. **Billing** shows both dates as soon as a payment fails. To keep everything, pay the unpaid invoice in **Manage billing** and upgrade again before then (upgrading is refused while an invoice from the last paid plan is unpaid); or delete libraries until the rest fits in the free plan, and the others become searchable again. A cancellation you make yourself is different: nothing is withheld or deleted (see [Upgrade, manage, cancel](#upgrade-manage-cancel)).

## Taxes

Prices exclude taxes where taxes apply.

## Delete

You can delete a library at any time. The owner deletes an organization in **Settings**, and you delete your account there too; access ends at once and the indexes are gone within minutes. Deleting an organization on the paid plan (directly, or with your account) first cancels its paid plan with Stripe: usage up to that moment goes on a final invoice, and the minimum already paid for the month is not refunded. If Stripe cannot be reached, nothing is deleted; try again a few minutes later. See [Sync and limits](/docs/sync-and-limits#deleting-an-organization-or-your-account).

Payments are handled by Stripe. Shoko does not store card numbers.

See also [pricing](https://stillshoko.com/pricing) and [sync and limits](https://stillshoko.com/docs/sync-and-limits).
