الحدود والفوترة والضمانات
What is enforced on a paid account, what is enforced on a Free Sandbox, and which ceilings are technical rather than commercial.
Bardiya separates three different things that other platforms blur into one number: the commercial allowance, the wallet, and the infrastructure protection ceiling. Confusing them leads teams to design for a throughput they were never promised.
| Concept | Paid organization | Free Sandbox |
|---|---|---|
| Commercial daily requests | No limit | None: a lifetime credit, not a daily number |
| Commercial monthly requests | No limit | None |
| Commercial requests per minute | No limit | A per-minute guard applies |
| Admission control | Funded prepaid wallet | Lifetime sandbox credit |
| Infrastructure ceilings | Apply | Apply |
| Request size and batch bounds | Apply | Apply |
The wallet is the limit on a paid account
A funded paid organization is billed pay as you go against its prepaid balance. There is no fixed daily, monthly or per-minute commercial allowance to exceed: when the balance cannot cover the cost of the next operation, the request is refused rather than served on credit. A quota_exceeded error means top up, not wait.
What the infrastructure ceiling is
Independently of billing, the data plane applies protection ceilings: requests per minute per organization, concurrent connections, request body size, batch sizes and tile fetch rates. They exist to keep one tenant from degrading another, and they are not a service level. A 429 rate_limited response means a protection ceiling fired; honour Retry-After.
Enforced bounds
These are enforced today. Out-of-range values are rejected with 400 or 422, never silently clamped, and oversized bodies are rejected with 413.
| Bound | Value | Response |
|---|---|---|
| Place search limit | 1–50, default 10 | 422 outside the range |
| Place search radius_m | 100–200000, default 50000 | 422 |
| Autocomplete limit | 1–20, default 8 | 422 |
| Autocomplete radius_m | 100–100000, default 30000 | 422 |
| Distance Matrix origins | at most 25 | 413 |
| Distance Matrix destinations | at most 25 | 413 |
| Distance Matrix cells | at most 625 | 413 |
| Tracking history limit | 1–500, default 200 | 422 |
| Query length | as declared per operation | 422 |
Tracking ingest bounds
- Events carry recorded_at. The default replay window is 24 hours: an event older than that is rejected with event_too_old, and one too far ahead of server time with event_too_far_future.
- The replay window is a deployment setting. Do not hard-code 24 hours in your client; treat both codes as terminal for that event and drop it.
- Batches are bounded. A batch above the limit returns 413; split it rather than shrinking the window.
- Quality gates apply to history (minimum movement, minimum interval, heading change) so a stationary device does not store a point every second. The live state is unaffected by those gates.
Billing units
| Operation family | Charged per | Notes |
|---|---|---|
| Place search, autocomplete, place details | request | A request that returns no results is still a request |
| Forward and reverse geocoding | request | Validation failures are not charged |
| Directions | request | Waypoints and steps do not multiply the charge |
| Distance Matrix | cell | origins x destinations, so 5 x 10 is 50 units |
| Address validation | request | |
| Tiles and style | free | Protection ceilings still apply |
| Health | free | Unauthenticated |
| Tracking ingest and history | per stored event, per retention window | See the console rate card for the current unit price |
The authoritative unit prices are on the rate card in the console, and they change independently of this page. This page documents what each operation charges for, not how much.
Exhaustion behaviour
- Reads and writes both stop when the wallet cannot cover the operation. There is no partial degradation where writes succeed and reads fail.
- Failed operations are not charged: a 4xx caused by your request does not consume credit.
- Free Sandbox credit does not renew. A new organization is the only way to obtain another sandbox allowance.
- Top-ups are recorded in the ledger with their own identifier, so a disputed balance is reconstructible line by line.
