Anthropic Code Execution vs Shardflux

Anthropic Code Execution costs $0.05 per vCPU-hour and Shardflux costs $0.04 per vCPU-hour. Anthropic Code Execution runs containers. Shardflux runs Firecracker microVMs and offers GPUs.

Updated

Anthropic Code Execution

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

Shardflux

Isolation
Firecracker microVM
Free tier
30-day Pro trial, no card needed
Max session
Not listed

What is different

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

Anthropic Code Execution
Shardflux
vCPU, per hour
Anthropic Code Execution: $0.05
Shardflux: $0.04
RAM, per GiB-hour
Anthropic Code Execution: Included
Shardflux: $0.015
Free tier
Anthropic Code Execution: 1,550 free hours per month
Shardflux: 30-day Pro trial, no card needed
Billing
Anthropic Code Execution: Bundled machine time
Shardflux: Active CPU time only
Largest sandbox
Anthropic Code Execution: 1 vCPU · 5 GiB
Shardflux: 32 vCPU · 64 GiB
Isolation
Anthropic Code Execution: Container
Shardflux: Firecracker microVM
SDKs
Anthropic Code Execution: Python, TypeScript, Go, Java, Ruby
Shardflux: TypeScript, Python

Full comparison

18 fields, at each provider's list price

Pricing

vCPU, per hour
Anthropic Code Execution: $0.05
Shardflux: $0.04
RAM, per GiB-hour
Anthropic Code Execution: Included
Shardflux: $0.015
Storage
Anthropic Code Execution: Not listed
Shardflux: Retained storage is a monthly allowance per plan. No hourly storage rate is published.
Free tier
Anthropic Code Execution: 1,550 free hours per month
Shardflux: 30-day Pro trial, no card needed
Paid plan from
Anthropic Code Execution: Not listed
Shardflux: $9 / month
Billing
Anthropic Code Execution: Bundled machine time
Shardflux: Active CPU time only

Limits

Max session
Anthropic Code Execution: Not listed
Shardflux: Not listed
Idle stop
Anthropic Code Execution: Not listed
Shardflux: Not listed
Largest sandbox
Anthropic Code Execution: 1 vCPU · 5 GiB
Shardflux: 32 vCPU · 64 GiB
Concurrent sandboxes
Anthropic Code Execution: Not listed
Shardflux: Up to 200

Platform

Isolation
Anthropic Code Execution: Container
Shardflux: Firecracker microVM
GPU
Anthropic Code Execution: Not listed
Shardflux:
Snapshots
Anthropic Code Execution: Not listed
Shardflux:
Pause and resume
Anthropic Code Execution:
Shardflux:

Developer

SDKs
Anthropic Code Execution: Python, TypeScript, Go, Java, Ruby
Shardflux: TypeScript, Python
Integrations
Anthropic Code Execution: Not listed
Shardflux: Claude Code, MCP

Trust

License
Anthropic Code Execution: Not listed
Shardflux: Not listed
BYOC
Anthropic Code Execution: Not listed
Shardflux: Not listed

Hourly cost

One sandbox running for one hour

Anthropic Code Execution
Shardflux
1 vCPU · 2 GiB
Anthropic Code Execution: $0.050
Shardflux: $0.070
2 vCPU · 4 GiB
Anthropic Code Execution: $0.100
Shardflux: $0.140
4 vCPU · 8 GiB
Anthropic Code Execution: $0.200
Shardflux: $0.280

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.140 an hour for 2 vCPU and 4 GiB.

Shardflux fits when

  • You need GPUs.
  • You want each sandbox in its own microVM.
  • You use Claude Code or MCP.
  • You need snapshots.

More comparisons

See all comparisons

Related