Platform
Sessions and pricing
NodeSandbox runs on your users' devices, so plans are priced by runtime sessions, not compute, storage, or egress.
What counts as a session
A session is one runtime boot authorized with a public API key: each Sandbox.create() (or React and Elements sandbox) that passes an apiKey to the hosted runtime. It is counted once, however long it runs. The commands, package installs, dev servers, and previews inside it are not counted.
A runtime on localhost is never authorized, so local development costs nothing.
Reloads
The same browser reopening the same sessionId within an hour of the boot that was counted is not counted again. Pass a stable sessionId when a page reloads its sandbox, and refreshes and hot reloads stay free. The hour is per browser and per embedding site, so one hard-coded sessionId shared by many users still counts once for each of them.
Plans and limits
Free counts sessions per UTC calendar month. Paid plans count from the start of each Stripe billing period.
Free1,000 sessions a month, then new sessions pause until the next month. Non-commercial use, with attribution.Starter, $25 / month2,000 sessions included, then $10 per 1,000. Commercial use, with attribution.Pro, $100 / month100,000 sessions included, then $10 per 1,000. No attribution.EnterpriseUnlimited sessions, no overage, invoiced. Contact us.Your dashboard shows this period's sessions by day, API key, and origin: nodesandbox.com/dashboard.
Reaching a limit
On Free, a boot past the monthly limit is refused: Sandbox.create() rejects with Monthly session limit reached, and the message is also passed to onLog. Sessions that are already running are never cut off. Starter and Pro never refuse a session; sessions past the included amount are billed as overage at the end of the period.