Run
Jasmine Cloud
The same sandboxes, on our machines. Same API and SDKs; only JASMINE_URL changes.
Start
- Sign in at tryjasmine.dev/dashboard and create an API key.
- Point your agent or SDK at Cloud:
export JASMINE_URL=https://api.tryjasmine.dev
export JASMINE_API_KEY=jsm_…
curl -sX POST $JASMINE_URL/v1/sandboxes -H "authorization: Bearer $JASMINE_API_KEY" \
-H 'content-type: application/json' -d '{"timeout": 600}'Every account starts with $2 of credit, no card needed. That is about 67 hours of a 4 vCPU · 8 GiB sandbox.
Billing
Per second, from prepaid credit: $0.0045 per vCPU-hour plus $0.0015 per GiB-hour while a sandbox runs, so $0.030 an hour for 4 vCPU · 8 GiB. A paused sandbox keeps its memory and processes and costs $0.05 per GiB-month of storage; so does a saved snapshot. There is no minimum, no fee per start and no egress charge.
Top up $10, $25, $100 from the dashboard. Credit never expires. At $0, new sandboxes are refused and running ones are paused (nothing is deleted); top up and resume them. You can never owe more than you paid.
Timeouts
A forgotten sandbox shouldn't burn credit, so every sandbox has a timeout: one hour unless you pass timeout in seconds (up to 86,400). When it expires the sandbox is deleted, or paused if you passed "on_timeout": "pause". The response includes timeout_at.
Limits
| Limit | Trial | After a top-up |
|---|---|---|
| Running at once | 2 | 20 |
| Sandboxes in total (running + paused) | 5 | 100 |
| Largest sandbox | 4 vCPU · 8 GiB | 8 vCPU · 16 GiB |
| Saved snapshots | 3 | 50 |
| Starts per minute | 120 | 120 |
GET /v1/me returns your balance, limits and this month's usage. Need more? Email us.
Differences from self-hosted
- Templates: start from the built-in ones (
default: Python 3.12,node: Node 22). Building from your own image isn't available on shared hosts yet; snapshot a configured sandbox instead and create from the snapshot. - Preview URLs (
/v1/sandboxes/<id>/ports/<port>/) open in a browser without a key; the sandbox ID is the secret. Visiting a preview never wakes a paused sandbox. - Outbound port 25 (SMTP) is blocked.
JASMINE_URL.