
# Limits and quotas

## Rate limit

Each integration may make a number of calls a minute, set by your institution's plan (600 when no plan
is set); a test key, 10. A test key is for building and checking an integration, not for load: its
calls run on the same calculators, so a load test needs a live key and a word with FinCalc first.
Every answer says where you stand:

| Header | Meaning |
|---|---|
| `RateLimit-Limit` | Calls this key may make in the current minute. |
| `RateLimit-Remaining` | Calls left in it. |
| `RateLimit-Reset` | Seconds until it resets. |

Past it, calls are [`rate-limited`](/problems/rate-limited) (429) until the minute resets.

## Quota

A live key's completed calculations count against your institution's quota for the period its contract
sets. Only calculations that completed count: refused inputs, failures, listing and describing
calculators, and anything done with a test key don't.

`X-FinCalc-Quota-Remaining` on a live answer says roughly how many are left. It is shared by every
integration your institution has, so read it as a guide, not an exact count.

At the end of the quota, your institution's contract decides:

- **Overage:** calls carry on, and each one past the quota is billed at the plan's rate.
- **Hard stop:** live calls are [`quota-exhausted`](/problems/quota-exhausted) (429) until the next
  period, which `X-FinCalc-Quota-Reset` gives as a date. Test keys keep working.

Your institution's Administrators are emailed at 80% and 100% of the quota.

## Request size

A calculation's body is at most 64 KB, a lead's 32 KB and an MCP message 80 KB; more is
[`body-too-large`](/problems/body-too-large) (413). A body names each field once: a field twice in the
same object is [`invalid-body`](/problems/invalid-body) (400).
