Quotas and limits
Limits protect your spending and the platform. When you hit one, the error names the limit, its value and what to do next. For example: max_running_minivms limit reached … · kill or pause miniVMs you no longer use.
Limits by account level
Section titled “Limits by account level”Your account level grows as you pay. See Billing for the monthly maximum each level allows.
| Level | How you reach it | Running miniVMs at once, at most | Largest miniVM size |
|---|---|---|---|
| 0 | Card added | 20 | large (8 vCPU, 16 GiB) |
| 1 | First paid top-up | 100 | large |
| 2 | 50,000 bought credits kept, bonus credits excluded | 500 | large |
- The running miniVMs of each level are a ceiling. A create can also be refused with
503capacity_exhaustedwhen the managed service has no room right now. WaitRetry-Afterseconds and retry. - xlarge (16 vCPU, 32 GiB) is coming soon, with computer use. Until then, large is the largest size at every level.
- These limits count only the payments you kept. After a refund, or a dispute you lose, that payment no longer counts and your level can drop.
- For higher limits, write to support@onshore.sh.
An organization without a payment method cannot run miniVMs. See Billing.
miniVMs
Section titled “miniVMs”| Limit | Value |
|---|---|
| Timeout | 1 to 86400 seconds (24 hours). Default 300 seconds. |
| Idle delay before auto-pause | 0 (never) or 60 to 86400 seconds. Default 600 seconds. |
| Paused miniVM kept | 30 days |
| Paused miniVMs per organization | 10 |
miniVMs per ons create --count |
50, all admitted or none |
| Size | 1 to 8 vCPU, 1 to 4 GiB of memory per vCPU, at most 16 GiB |
| Disk included | 10 GiB per vCPU |
| Outbound bandwidth per miniVM | 25 Mbit/s per vCPU, between 50 and 400 Mbit/s |
| Outbound SMTP (ports 25, 465, 587) | blocked |
When paused miniVMs reach the limit
Section titled “When paused miniVMs reach the limit”A self-serve organization holds at most 10 paused miniVMs.
- An idle pause is skipped once 5 are paused. At 10, a miniVM that reaches its timeout with
--auto-pauseis killed instead. See Auto-pause at the timeout and Auto-pause when idle. - A pause you ask for (
ons pause) at 10 is refused with429max_paused_minivms limit reached. - Pauses caused by a hold (out of credit, a disputed payment, or a hold from support) ignore this limit and never kill a miniVM, so your paused count can go above 10.
Kill the paused miniVMs you no longer need (ons ls --json lists them). To hold more, write to support@onshore.sh.
Rate limits
Section titled “Rate limits”| Limit | Value |
|---|---|
| Creates | 60 per minute per key |
| Pause, resume, timeout changes, connect to a paused miniVM | 120 per minute per key, 600 per minute per organization |
| Timeout changes on one miniVM | 12 per minute |
| Template builds | 10 per minute per key |
| Unfinished template builds | 5 per organization |
| Followed build logs | 8 per organization at once, half of them per key |
A rate limit answers 429. Wait, then retry.
Processes and files
Section titled “Processes and files”| Limit | Value |
|---|---|
Output kept per ons proc process |
last 4 MiB |
| Ended processes remembered | 24 hours, the last 64 |
ons exec --json captured output |
16 MiB |
ons push and ons run --push |
500 MiB |
| Metrics kept | 7 days, one sample every 10 seconds |
Organization
Section titled “Organization”| Limit | Value |
|---|---|
| Active API keys | 100 |
| API keys created per 24 hours | 200 |
| Pending invitations | 50 |
| Invitations sent per day | 100 |
| Invitation link | valid 7 days, single use |
| AI agents per owner | 5 |
Errors you may see
Section titled “Errors you may see”| Status | When |
|---|---|
400 |
A request outside the limits (timeout, vCPU, memory), or a field onshore.sh does not support. The message names the field. |
402 payment_method_required |
Your organization has no saved card yet. An owner adds one on Billing. See Billing. |
402 organization_on_hold |
Your credit is at 0, a payment is disputed, or onshore.sh support put your organization on hold. The message says which. See Billing. |
403 organization_suspended |
Your organization is suspended. Write to support@onshore.sh. |
403 egress_presets_only |
onshore.sh support limited your organization to the built-in egress presets, and the template allows a domain outside them. Use presets only, or write to support@onshore.sh. A card does not lift this limit. |
429 |
A count or rate limit. The message names it and its value. |
503 |
No capacity for this request right now. Retry shortly. |