Limits and usage
Each run gets 512 MB of memory, 2 CPUs, 16 processes (100 on Pro and above) and up to 30 seconds, with no network. Your account has a monthly allowance and per-minute, pending and running limits set by its plan, and GET /api/usage/ shows where you stand.
Code and stdin must be UTF-8 strings without NUL characters. Code is limited to 100,000 encoded bytes and stdin to 5 MB (5,242,880 bytes; 100 KB through the widget). Output floods exceeding 8 MB across both streams are stopped with exit code 153 (signal 25), while retained output stays capped at 64 KB per stream. HTTP 429 indicates account limits or execution capacity; wait the seconds in its Retry-After header before retrying, and back off further if it repeats (a spent monthly allowance sends no Retry-After). Timing and memory figures are informational and may be unavailable after a forced stop.
| Memory | 512 MB per execution by default; a run may set memory_limit from 16 MB up to 512 MB on Free and Starter, and up to 2048 MB (2 GB) on Pro and above or with an exam tier: a higher one raises the sandbox's cap, a lower one is checked against the run's peak |
| CPU | 2 cores |
| Timeout | 30 seconds |
| Max Processes | 16 running at once on Free and Starter, 100 on Pro and Business or with an exam tier, 200 on Platform; more stops the run with exit code 71. Each process needs memory: past about 120 small ones a run also needs a memory_limit above 512 MB. GET /api/usage/ gives your account's number as max_processes |
| Writable Storage | 256 MB workspace + 128 MB temporary files, within the memory limit |
| Submission Rate | 60 per minute per account across API keys and widgets; higher on paid plans |
| Pending Submissions | 32 per account, queued or running; higher on paid plans |
| Runs at Once | 4 per account in a sandbox at the same moment; later runs wait their turn, and a synchronous request that finds them all busy gets 429 on Free; on paid plans it first waits up to 10 seconds for a free run, also when the service as a whole is busy, and queued runs start before free accounts' runs; higher on paid plans |
| Monthly Submissions | 100,000 per account on Free, up to 10,000,000 on paid plans and more on Enterprise (see pricing), per calendar month in UTC; refused requests and runs that fail on our side are not counted (see What counts toward your monthly runs, below) |
| Per-Key Monthly Limit | Optional, set by you on each API key or widget key in the dashboard; stops that key only |
| Network | Disabled (no outbound access); a test-suite run on run-tests has only its own 127.0.0.1 |
| Code Size | 100 KB max |
| Input Size | 5 MB max per run or test (100 KB in the embeddable widget); an input over 64 KB is kept for download from the dashboard for 7 days after its last use |
| Request Size | 32 MB max per request to a run endpoint; past it the answer is 413. For many large tests, store them once in a problem |
| Command-line Arguments | Up to 32 per run and 4,096 bytes in all; not for sqlite-3, duckdb-1.5 or erlang-29 |
| Output | Up to 64 KB per stream; longer output is cut and truncated is true |
| Input Files | Up to 20 files and 1 MB in total per run, sent in the files field |
| Output Files | Up to 8 files and 2 MB per run, written to $OUTPUT_DIR (/tmp/outputs); png, svg, csv, json and txt come back, and files_truncated is true when some were left out |
| Output Files in Run Tests | Up to 4 MB of files in one response, for visible tests only |
| Stored Files | A returned file's url works for 60 days; each account stores up to 1 GB, and past that url is null (the file is still in the response). Widget, WebSocket and RapidAPI runs store no files |
| Sync Concurrency | Limited per server; returns 429 when at capacity |
| WebSocket Rate | 1 execution per second per connection |
The memory a run reports includes the library files it maps, so a Python program that imports the whole data science stack reports about 430 MB while really using about 200 MB. A memory_limit is checked against that reported figure, so set it with headroom; see memory limit. Files and the stack are described in Files in and out.
What counts toward your monthly runs
Your plan's monthly runs count the programs we start for you. A program's own errors count, since it ran. If a run fails on our side, it doesn't count.
| Counts, one run each | Doesn't count |
|---|---|
|
|
Every run, counted or not, stays on the dashboard's Runs page with its output or error. Refused requests are listed on the API keys page and in key.refused of GET /api/usage/.
Check limits and usage
/api/limits/ the limits above as JSON, file limits in bytes; no key needed/api/usage/ your account's runs this month, its limits, and the calling key's own count, limit and refused requests; send your API key{
"month": "2026-10",
"submissions": 1520,
"monthly_limit": 100000,
"remaining": 98480,
"resets_at": "2026-11-01T00:00:00Z",
"submissions_per_minute": 60,
"pending_submissions": 32,
"running_submissions": 4,
"max_memory_mb": 512,
"key": {
"submissions": 1200,
"monthly_limit": 5000,
"remaining": 3800,
"refused": [
{"day": "2026-10-14", "status": 429, "reason": "Submission rate limit exceeded.", "count": 12},
{"day": "2026-10-09", "status": 400, "reason": "Unsupported or missing compiler", "count": 1}
]
}
}Over the monthly limit, runs answer HTTP 429 until the allowance resets at the start of the next month (UTC). What uses the allowance is listed in What counts toward your monthly runs. The dashboard shows the same count.
Refused requests are counted separately. key.refused lists the calling key's requests that were answered with an error status (400 and above: a limit's 429, an invalid request's 400 or 422, a key used where it isn't allowed, or a 500 on our side; the Jobe API's overload answer, outcome 21 with HTTP 200, counts as the 429 it is) in the last 30 days (UTC), one entry per day, status and reason with its count, newest day first. The reason is the error's first sentence with numbers and names masked, so one kind of refusal is one entry. The API keys page of the dashboard lists the same for every key of the account. A program that ran is never in it, even when it failed: those runs are on the dashboard's Runs page.
Service health
/api/health/ whether a run gets through right now; no key neededA check reaches the database and sends a one-line Python program through the job queue into a real sandbox, the path widget and asynchronous runs take. It answers HTTP 200 when every check is ok and 503 otherwise, naming the check that failed: unreachable, timeout (no run within 20 seconds), busy (every sandbox stayed full) or failed. A report is reused for a minute, so checked_at can be up to a minute old; calling it costs no runs. Point an uptime monitor at it rather than at /api/ping/, which only shows the web server is up.
We watch it ourselves every three minutes: current status and past incidents are on status.onlinecompiler.io.
{
"status": "ok",
"checked_at": "2026-10-19T10:41:07.512345+00:00",
"checks": {"database": "ok", "queue": "ok", "sandbox": "ok"},
"run_seconds": 0.84
}Per-key limits and usage emails
- Give any API key or widget key its own monthly limit on the API keys or Widgets page of the dashboard. Once the key reaches it, runs through that key answer HTTP 429 (or a
codeoutputerror in the widget) until the next month; your other keys keep running. Use it to cap an AI agent, a public widget or a customer's integration. - A key's limit works inside your account's allowance, never above it. Leave it empty for no limit of its own.
- The API keys and Widgets pages also show when each key was last used (an API call, an MCP call, or a widget connecting or embedding), to within a few minutes, so a key nothing uses any more can be found and disabled.
- We email the account's address the first time in a month that usage reaches 80% and 100% of the account's allowance, and of each key's own limit.
- In
GET /api/usage/,keycounts runs through the key you called with this month; itsmonthly_limitandremainingarenullwhen the key has no limit. Calls through RapidAPI don't includekey.
Questions
- What happens when I reach a limit?
- Requests over a limit get HTTP 429 and nothing runs, so nothing is billed. The error message names the plan that raises the limit, with a link to upgrade. A limit that clears by itself (per minute, pending, runs at once, busy sandboxes) also sends a Retry-After header with the seconds to wait before trying again. The monthly allowance resets at the start of the next month (UTC).
- Can I limit a single API key?
- Yes. Give any API key or widget key its own monthly limit in the dashboard. Once it's reached, that key gets 429 until the next month, and your other keys keep running.
- Why does my data science program report more memory than it uses?
- The memory field counts the library files a program maps as well as the memory it allocates. A hello world that imports the whole Python data stack reports about 430 MB while really using about 200 MB, so judge headroom by the 512 MB limit, not by the reported figure of a small program.
- Do paid plans raise the limits per run?
- Memory, yes: runs on Free and Starter get 512 MB, and runs on Pro and above (or with an exam tier) may ask for up to 2 GB with memory_limit. Every plan has the same 30 seconds, and a run on any plan may ask for less with memory_limit and time_limit; paid plans raise the runs a month, submissions a minute, runs at once and tests per request.