Limits and errors
Plan limits
Section titled “Plan limits”| Try ($9/mo) | Build ($49/mo) | Scale ($199/mo) | |
|---|---|---|---|
| Pages stored | 2,000 | 20,000 | 100,000 |
| Questions per month | 5,000 | 50,000 | 300,000 |
| Projects | 1 | 3 | 10 |
| Requests per second per API key (bursts of 2×) | 5 | 20 | 50 |
| Reranking | no | yes | yes |
| “Powered by Beru” on the chat widget | always | removable | removable |
A question is one /v1/answer or one /v1/retrieve. It’s counted when it starts, so a client
that disconnects mid-answer is still counted; a failure on Beru’s side is not. A page is a
real PDF page, or 3,000 characters for other formats. Identical content in the same scope is
stored and counted once.
Usage resets monthly on your subscription date. Check it any time with GET /v1/usage. Past an
included amount, the next page or question returns 402 plan_limit_exceeded until you upgrade
or usage resets.
Input limits
Section titled “Input limits”| What | Limit |
|---|---|
| File size | 50 MB |
| File types | PDF (including scans), DOCX, TXT, Markdown, HTML, PNG, JPG, WebP; or a public web page URL |
| Scanned pages and images | read by Beru’s model, up to 50 per document; each counts as one page |
query |
4,000 characters |
top_k |
1–20 (default 8) |
end_user_id |
1–255 characters |
A memory fact |
500 characters |
messages per memory call |
1–50 |
Errors
Section titled “Errors”Every error has the same shape, and every response carries an X-Request-Id header:
{"error": {"code": "plan_limit_exceeded", "message": "…what happened and what to do…", "request_id": "req_…"}}Branch on code; show message to people (it’s written for them); quote request_id if you
contact us.
| Status | Code | What to do |
|---|---|---|
| 401 | invalid_api_key |
Send Authorization: Bearer beru_sk_… with a key that isn’t revoked |
| 402 | subscription_required |
Choose a plan in the console (or renew a cancelled one) |
| 402 | payment_failed |
Update your card in Manage billing |
| 402 | plan_limit_exceeded |
Upgrade, delete documents, or wait for usage to reset |
| 402 | cap_reached |
Raise your spending cap in Usage and billing |
| 404 | not_found |
The id doesn’t exist in this project |
| 409 | request_in_progress |
A request with the same Idempotency-Key is still running: retry shortly |
| 413 | file_too_large |
Split the file (50 MB maximum) |
| 422 | validation_error |
Fix the field the message names |
| 422 | unsupported_file_type |
Convert to PDF, DOCX, TXT, Markdown, HTML, or a PNG, JPG or WebP image |
| 422 | idempotency_key_reused |
Use a new Idempotency-Key for a different request |
| 429 | rate_limited |
Back off for the seconds the message gives |
| 429 | llm_rate_limited |
The answer model is busy: retry in a few seconds |
| 500 | internal_error |
Retry; if it keeps happening, send us the request_id |
| 502 | llm_unavailable |
The answer model failed: retry. The question isn’t counted |
Retries and idempotency
Section titled “Retries and idempotency”Retry 429, 500, 502 and network errors with exponential backoff. Uploads accept an
Idempotency-Key header: a retry with the same key and body returns the first response instead
of creating a second document.
Still stuck?
Section titled “Still stuck?”Email support@airesearchlabs.si with what you tried and the request_id from the error. On Build we reply within two business days, on Scale within one.