E2B vs Runtime

E2B costs $0.0504 per vCPU-hour and Runtime costs $0.025 per vCPU-hour. E2B runs Firecracker microVMs and limits a session to 24 hours. Runtime runs Firecracker microVMs and has no session limit.

Updated

E2B

Isolation
Firecracker microVM
Free tier
$100 credit, one time
Max session
24 hours

Runtime

Isolation
Firecracker microVM
Free tier
100 hours of a 1 GB machine in the first 30 days
Max session
No limit

What is different

11 fields differ. The rest are the same or not listed.

E2B
Runtime
vCPU, per hour
E2B: $0.0504
Runtime: $0.025
RAM, per GiB-hour
E2B: $0.0162
Runtime: $0.0075
Storage
E2B: Free
Runtime: $0.000119 per GiB-hour after 10 free GiB
Free tier
E2B: $100 credit, one time
Runtime: 100 hours of a 1 GB machine in the first 30 days
Paid plan from
E2B: $150 / month
Runtime: Pay as you go
Billing
E2B: Per second
Runtime: Active CPU time only
Max session
E2B: 24 hours
Runtime: No limit
Largest sandbox
E2B: 8 vCPU · 8 GiB
Runtime: 16 vCPU · 64 GiB
Concurrent sandboxes
E2B: Up to 100
Runtime: Up to 200
SDKs
E2B: Python, JavaScript / TypeScript
Runtime: JavaScript / TypeScript, Python, Go, Ruby, Java
Integrations
E2B: LangChain, OpenAI Agents SDK, Vercel AI SDK, MCP, Claude Code
Runtime: OpenAI Agents SDK, Vercel AI SDK, Claude Agent SDK, LangChain, MCP, Claude Code

Full comparison

18 fields, at each provider's list price

Pricing

vCPU, per hour
E2B: $0.0504
Runtime: $0.025
RAM, per GiB-hour
E2B: $0.0162
Runtime: $0.0075
Storage
E2B: Free
Runtime: $0.000119 per GiB-hour after 10 free GiB
Free tier
E2B: $100 credit, one time
Runtime: 100 hours of a 1 GB machine in the first 30 days
Paid plan from
E2B: $150 / month
Runtime: Pay as you go
Billing
E2B: Per second
Runtime: Active CPU time only

Limits

Max session
E2B: 24 hours
Runtime: No limit
Idle stop
E2B: Not listed
Runtime: After 5 minutes
Largest sandbox
E2B: 8 vCPU · 8 GiB
Runtime: 16 vCPU · 64 GiB
Concurrent sandboxes
E2B: Up to 100
Runtime: Up to 200

Platform

Isolation
E2B: Firecracker microVM
Runtime: Firecracker microVM
GPU
E2B: No
Runtime: No
Snapshots
E2B:
Runtime:
Pause and resume
E2B:
Runtime:

Developer

SDKs
E2B: Python, JavaScript / TypeScript
Runtime: JavaScript / TypeScript, Python, Go, Ruby, Java
Integrations
E2B: LangChain, OpenAI Agents SDK, Vercel AI SDK, MCP, Claude Code
Runtime: OpenAI Agents SDK, Vercel AI SDK, Claude Agent SDK, LangChain, MCP, Claude Code

Trust

License
E2B: Apache-2.0
Runtime: Not listed
BYOC
E2B: Enterprise plan
Runtime: Not listed

Hourly cost

One sandbox running for one hour

E2B
Runtime
1 vCPU · 2 GiB
E2B: $0.083
Runtime: $0.040
2 vCPU · 4 GiB
E2B: $0.166
Runtime: $0.080
4 vCPU · 8 GiB
E2B: $0.331
Runtime: $0.160

Compute only, at list rates.

Open the calculator

Which one fits

Based on the fields above

E2B fits when

  • You want an open-source platform (Apache-2.0) that you can self-host.
  • You need the sandboxes in your own cloud account.
  • You need SOC 2 Type II and HIPAA.

Runtime fits when

  • A session must run longer than 24 hours.
  • You want to pay only for usage, with no plan fee.
  • You use the Claude Agent SDK.
  • You want the lower list price: $0.080 against $0.166 an hour for 2 vCPU and 4 GiB.

More comparisons

See all comparisons

Related