Agent sandbox

E2B, through SandBase. Same SDK, one key.

Point the E2B SDK at SandBase with three environment variables, then create sandboxes, run commands and read files. Sandboxes are free for now, and your models and APIs share the same key.

What you get.

SandBase is an E2B-compatible gateway, not an E2B account. Isolation, network controls and persistence depend on the provider and template you select.

E2B pricing, and what SandBase charges.

E2B figures are from e2b.dev/pricing on 2026-11-24 (UTC). SandBase sandboxes are free for now and the price will be announced before it changes.

E2B Hobby
$0 a month with a one-time $100 of usage credits, up to 10 concurrent sandboxes and 1 hour per session. Some accounts are asked for a one-time $5 card payment, which becomes usage credits.
E2B Pro
$150 a month plus usage, up to 100 concurrent sandboxes and 24 hours per session. Add-ons raise concurrency to 600 ($650 a month) or 1,100 ($1,150 a month).
E2B usage rate
$0.000014 per vCPU-second and $0.0000045 per GiB-second of RAM, with disk included. The default 2 vCPU, 4 GiB sandbox costs $0.000046 a second, which is $0.1656 an hour.
SandBase today
Creating, running and stopping sandboxes does not touch your balance. Fair-use caps may apply. Models and APIs your agent calls are billed as usual.
What to check first
Free is a limited-time offer. Check template availability, concurrency and session limits against your workload, and plan for pricing after the offer ends.
When E2B itself is the better fit
Choose E2B directly if you need its custom templates, enterprise terms, bring-your-own-cloud deployment or higher concurrency with a contract. Those are not listed on SandBase.

Related.

Questions people ask.

Is SandBase an E2B alternative?

For creating sandboxes, running commands and working with files through the E2B SDK, yes. SandBase is an E2B-compatible gateway, not an E2B account, so E2B dashboard features, custom template builds and enterprise terms are not included.

How much does E2B cost?

E2B Hobby is $0 a month with a one-time $100 of usage credits. Pro is $150 a month plus usage. Usage is $0.000014 per vCPU-second and $0.0000045 per GiB-second, so a default 2 vCPU, 4 GiB sandbox is about $0.17 an hour.

Is SandBase Sandbox free?

For now. Creating, running and stopping sandboxes does not use your balance, fair-use caps may apply, and pricing will be announced before it changes.

Do I need to change my code?

Not beyond configuration. Set E2B_API_KEY, E2B_API_URL and E2B_DOMAIN as the quickstart shows, then use the official SDK.

Is the sandbox a security boundary?

It is one part of your design. Isolation, network controls and persistence depend on the provider and template, so review them for sensitive workloads.

Run your first command.

Create a key, set the three variables and start a sandbox with the E2B SDK.

Get API key

SandBase is an independent service. E2B is a trademark of its owner. This page does not imply affiliation or endorsement. E2B figures are from e2b.dev/pricing on 2026-11-24 (UTC) and may change.