Anthropic Code Execution vs Smol Machines

Anthropic Code Execution costs $0.05 per vCPU-hour and Smol Machines costs $0.05 per vCPU-hour. Anthropic Code Execution runs containers. Smol Machines runs microVMs.

Updated

Anthropic Code Execution

Isolation
Container
Free tier
1,550 free hours per month
Max session
Not listed

Smol Machines

Isolation
MicroVM
Free tier
$100 credit, one time
Max session
Not listed

What is different

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

Anthropic Code Execution
Smol Machines
RAM, per GiB-hour
Anthropic Code Execution: Included
Smol Machines: $0.0162
Free tier
Anthropic Code Execution: 1,550 free hours per month
Smol Machines: $100 credit, one time
Billing
Anthropic Code Execution: Bundled machine time
Smol Machines: Active CPU time only
Largest sandbox
Anthropic Code Execution: 1 vCPU · 5 GiB
Smol Machines: 32 vCPU · 32 GiB
Isolation
Anthropic Code Execution: Container
Smol Machines: MicroVM
SDKs
Anthropic Code Execution: Python, TypeScript, Go, Java, Ruby
Smol Machines: TypeScript, Python, Rust

Full comparison

18 fields, at each provider's list price

Pricing

vCPU, per hour
Anthropic Code Execution: $0.05
Smol Machines: $0.05
RAM, per GiB-hour
Anthropic Code Execution: Included
Smol Machines: $0.0162
Storage
Anthropic Code Execution: Not listed
Smol Machines: $0.0001 per GiB-hour
Free tier
Anthropic Code Execution: 1,550 free hours per month
Smol Machines: $100 credit, one time
Paid plan from
Anthropic Code Execution: Not listed
Smol Machines: Pay as you go
Billing
Anthropic Code Execution: Bundled machine time
Smol Machines: Active CPU time only

Limits

Max session
Anthropic Code Execution: Not listed
Smol Machines: Not listed
Idle stop
Anthropic Code Execution: Not listed
Smol Machines: Not listed
Largest sandbox
Anthropic Code Execution: 1 vCPU · 5 GiB
Smol Machines: 32 vCPU · 32 GiB
Concurrent sandboxes
Anthropic Code Execution: Not listed
Smol Machines: Up to 1,000

Platform

Isolation
Anthropic Code Execution: Container
Smol Machines: MicroVM
GPU
Anthropic Code Execution: Not listed
Smol Machines: No
Snapshots
Anthropic Code Execution: Not listed
Smol Machines: No
Pause and resume
Anthropic Code Execution:
Smol Machines:

Developer

SDKs
Anthropic Code Execution: Python, TypeScript, Go, Java, Ruby
Smol Machines: TypeScript, Python, Rust
Integrations
Anthropic Code Execution: Not listed
Smol Machines: Not listed

Trust

License
Anthropic Code Execution: Not listed
Smol Machines: Apache-2.0
BYOC
Anthropic Code Execution: Not listed
Smol Machines: Not listed

Hourly cost

One sandbox running for one hour

Anthropic Code Execution
Smol Machines
1 vCPU · 2 GiB
Anthropic Code Execution: $0.050
Smol Machines: $0.082
2 vCPU · 4 GiB
Anthropic Code Execution: $0.100
Smol Machines: $0.165
4 vCPU · 8 GiB
Anthropic Code Execution: $0.200
Smol Machines: $0.330

Compute only, at list rates.

Open the calculator

Which one fits

Based on the fields above

Anthropic Code Execution fits when

  • You want the lower list price: $0.100 against $0.165 an hour for 2 vCPU and 4 GiB.

Smol Machines fits when

  • You want each sandbox in its own microVM.
  • You want an open-source platform (Apache-2.0) that you can self-host.
  • Your code waits a lot: CPU is billed only while it is in use.
  • You need a sandbox larger than 1 vCPU · 5 GiB.

More comparisons

See all comparisons

Related