# Limits, pricing and credits

> What Percia costs, what is free, camera-minutes and credits, and every limit with its error.

Page: https://percia.ai/docs/limits. Index of all docs pages: https://percia.ai/docs/llms.txt

# Limits, pricing and credits

## Price

Percia charges for **camera time**, not for watches or alerts.

- **$0.50 per camera-hour**, billed by the exact minute (seconds carry over, nothing is rounded up to a block), before tax.
- A camera counts while at least one of your active watches uses it and it is sending video. Ten watches on one camera cost the same as one.
- Hours without video are free: a watch whose camera stopped sending pauses itself after an hour.
- **10 free camera-minutes every calendar month (UTC)**, no card. Unused minutes do not roll over.
- **50 bonus minutes once** when you add a card (once per card and per account; they never expire). Adding a card charges nothing.
- After the free minutes and credits, the card is charged monthly for the camera time used.
- A **monthly spend cap** (default $200) pauses your watches and emails you when reached. Raise it and resume.

Order of use: free monthly minutes, card bonus, credits, then the card.

## Credits

Credit minutes come from a redeemed code or a grant. They are used after the free minutes of the month, are not charged and do not count toward the spend cap.

- Redeem a code on the **Billing** page of the app, or `POST /api/billing/redeem {"code":"..."}`. Redeeming needs a card on file (otherwise `402 card_required`, and the code is not used).
- Codes work once per account. Unknown, disabled and expired codes answer `404 code_invalid`; a code with no redemptions left answers `409 code_fully_claimed`.
- **Events and hackathons:** Percia can give an event its own camera-minutes, claimed with your email. They are used before other credits, need no card while they last, and expire (your plan shows `eventCreditExpiresAt`). The organisers tell you how to claim them; if something does not work, ask in the [Percia Discord](https://discord.gg/97HRGJtzVs).

Read your balance:

```bash
curl -sS "$BASE/plan" -H "Authorization: Bearer $PERCIA_API_KEY"
# freeMinutesLeft, creditMinutes, monthToDate, capCents, pricing, billingEnforced, ...
curl -sS "$BASE/usage/cameras" -H "Authorization: Bearer $PERCIA_API_KEY"   # this month, per camera
```

`whoami` also carries a `billing` block (`canStartWatches`, free and credit minutes, `billingUrl`). Adding a card and the billing portal are for people only: a key cannot call them.

## What happens when you run out

Creating or resuming a watch answers `429 plan_limit` with `limit: "billing"` when the free minutes and credits are used and there is no card, or the cap is reached. Watches paused for billing show `pausedReason: "needs_billing"` or `"spend_cap"`.

If a card payment fails you have 48 hours of grace: everything keeps working. After that, watches pause (`payment_failed`) and writes answer `402 payment_required`; reads always work. The account recovers by itself once payment succeeds.

## Limits

| Thing | Limit |
|---|---|
| Active watches per camera | 10 (`429 plan_limit`, `limit: "watchesPerStream"`) |
| Active watches per account | 20 (`429 plan_limit`, `limit: "activeWatches"`) |
| Cameras per account | 50, including camera links (`429 camera_limit`) |
| Goal | 5 to 500 characters |
| `sourceUrl`, webhook target | 2048 characters; public hosts only |
| Connections per account, rules per watch | 20, 5 |
| Connection delivery attempts | 120 per hour |
| REST hooks | 20 |
| Agents, concerns per agent | 50, 10 |
| Sites | 20 |
| Events per page | 1 to 100, default 50 |
| Keyframe | JPEG, at most 256 KB |
| Event stream | 2 at once, 10 connects a minute, 10 minutes each |
| Alert emails | 20 per recipient per hour |
| Rate limit | about 10 creating requests a minute per address and path; over it, `429` with `Retry-After` |

Private, loopback and link-local addresses are refused for sources and webhook targets (`localhost`, `*.local`, `*.internal`, `10/8`, `127/8`, `172.16/12`, `192.168/16`, `169.254/16`, `::1`, `fc00::/7`, `fe80::/10`). For a camera on a private network use the [bridge](https://percia.ai/docs/cameras.md#cameras-on-a-private-network).

## What is kept, and for how long

- **Keyframes** (the still at each alert): 1, 3, 7, 14 or 30 days. Default 3 days for accounts in the EU, EEA, UK and Switzerland, 7 days elsewhere. Stored encrypted per user and deleted at expiry.
- **Recording:** while a camera is on, Percia records its video (no audio): the last 2 hours on Percia's video servers and 14 days in an encrypted archive. There is no endpoint to download the raw recording; you get keyframes and clips of events. Deleting a camera deletes its recordings.
- **Uploaded files:** kept 14 days or until their watch is deleted.
- **Deleting a watch** deletes its events, keyframes and clips. Deleting the account deletes everything.
- Percia does not identify people by their face and does not train on your footage.

The authoritative statement is the [privacy notice](https://privacy.percia.ai/privacy/). You must tell the people your camera can see that they are recorded, and get any consent the law requires (see the [terms](https://www.percia.ai/terms)).
