# Plan limits and grace periods

PiGi plan limits are soft. Going over a limit does not block you on the spot — a daily check flags the company, emails the owner and starts a 14-day grace window, and only when that lapses does PiGi restrict admin writes. Branch creation is the one exception: it is refused immediately.

Source: https://help.pigi.io/guides/company-setup/plan/plan-limits

## Quick answers

**What happens when I go over my plan limit?**
Nothing immediately. A daily check flags the company, emails the owner, and starts a
14-day grace window. A warning banner appears across the admin screens saying you are over
plan, naming what is over and how many days remain. If you are still over when grace ends,
PiGi restricts the company and admin writes start failing.

**What does "Service restricted" mean?**
Your grace window lapsed while you were still over a plan limit. Adding more of **the thing
you are over on** now fails with "Your plan limit was exceeded and the grace period has
ended. Upgrade your subscription to continue." Everything else keeps working — if you are
over on instructors you can still log tandem flights and register students. Customer-facing
self-registration keeps working throughout.

**Which limits are actually enforced?**
Tandem students, training students, instructors and tandem flights per 30 days all drive the
grace and restriction flow. Branches are enforced hard and immediately — that one is refused
on the spot rather than after a grace period.

**How do I clear an over-limit warning?**
Either upgrade to a plan with more headroom on Company → Settings → Subscription, or bring
usage back under the limit by deactivating the students or instructors you no longer need.
The next daily run clears the flag; the banner disappears after you sign in again or the
page refreshes your session.

**How long is the grace period?**
14 days from the first time PiGi saw you over a limit.

**Do my branches get their own limits?**
No. A parent school and all its branches share one allowance. 100 training students means
100 across the whole group, not 100 per school.

## What this is

PiGi plan limits are soft caps. Instead of blocking a write the moment you cross a limit —
which would stop a school mid-shift — PiGi flags the company, warns it, and only restricts
service after a grace window. The state lives on the subscription and is recomputed daily.

## How the escalation runs

1. **Over limit.** A daily task at 02:00 UTC compares current usage with the plan. If tandem
   students, training students, instructors or tandem flights in the last 30 days are over,
   the company is flagged and a 14-day grace window starts. The owner is emailed.
2. **In grace.** A warning banner reads "You're over your plan on <what> (used/cap)" with
   "Upgrade within N days to avoid restrictions." and an **Upgrade** button. It cannot be
   dismissed.
3. **Restricted.** If grace lapses while still over, the banner turns red and reads
   "Service restricted". Admin creates are refused for the limit you are over on, and only
   that one. If you drop back under the limit, creates start working again immediately —
   you do not have to wait for the next daily run.
4. **Cleared.** Once usage is back under every limit — or you upgrade — the next daily run
   clears the flag and the banner goes away.

## What counts towards each limit

| Limit | Counted as | Acts on |
|---|---|---|
| Instructors | Active company pilots across the group | Grace flow, then restriction |
| Tandem students | Active students flagged tandem across the group | Grace flow, then restriction |
| Training students | Active students flagged training across the group | Grace flow, then restriction |
| Branches | Every school in the group | Refused immediately when creating or adopting a branch |
| Tandem flights | Flights created in the last 30 days across the group | Grace flow, then restriction |

Going over the tandem-flight limit does **not** stop you logging flights on the day. Like
every other usage limit here it flags you, warns you, and only restricts after the grace
window — blocking a launch site mid-shift is not how PiGi sells an upgrade.

## Known limitations

- **Nothing shows your usage against your limits** until you are already over. There is no
  "82 of 100 students" display on the Subscription screen.
- **The banner state is only as fresh as your session.** It is computed when your session
  is issued or refreshed, so it can lag a change by minutes until the page reloads.
- **Companies with no subscription at all are unlimited.** Limits only apply once a
  subscription row exists.

## Related

- [Check and change your subscription](your-subscription.md)
- [Branches and school groups](branches.md)
