Self-hosted Anthropic Code Execution alternatives

21 self-hosted sandbox providers you can use instead of Anthropic Code Execution. Containarium Cloud has the lowest hourly price, $0.040 for 2 vCPU and 4 GiB. Orgo and Unikraft Cloud offer GPUs.

Updated

Anthropic Code Execution, for reference

Anthropic Code ExecutionSandboxed Python and bash containers that Claude runs through the Anthropic API.
IsolationContainer
2 vCPU · 4 GiB$0.100 / hr
Free tier1,550 hours / month
Max sessionNot listed
Anthropic Code Execution profile

21 self-hosted alternatives to Anthropic Code Execution

Sorted by hourly price for 2 vCPU · 4 GiB, low to high

Side by side

Anthropic Code Execution first, then the 21 alternatives

  • Isolation
    Container
    vCPU / hr
    $0.050
    Free tier
    1,550 hours / month
  • Isolation
    Container
    vCPU / hr
    $0.020
    Free tier
    Free tier
  • Isolation
    gVisor
    vCPU / hr
    Included
    Free tier
    Not listed
  • Isolation
    Full VM
    vCPU / hr
    $0.040
    Free tier
    Starting credit
  • Isolation
    Firecracker
    vCPU / hr
    $0.040
    Free tier
    Free demo
  • Isolation
    Not listed
    vCPU / hr
    $0.067
    Free tier
    $5 credit
  • Isolation
    Firecracker
    vCPU / hr
    $0.045
    Free tier
    $10 credit
  • Isolation
    MicroVM
    vCPU / hr
    $0.047
    Free tier
    $30 credit
  • Isolation
    MicroVM
    vCPU / hr
    $0.050
    Free tier
    $100 credit
  • Isolation
    MicroVM
    vCPU / hr
    $0.050
    Free tier
    Free plan
  • Isolation
    MicroVM
    vCPU / hr
    $0.050
    Free tier
    $100 credit
  • Isolation
    Firecracker
    vCPU / hr
    $0.050
    Free tier
    $100 credit
  • Isolation
    Firecracker
    vCPU / hr
    $0.050
    Free tier
    $100 credit
  • Isolation
    Firecracker
    vCPU / hr
    $0.050
    Free tier
    Free during public preview
  • Isolation
    Firecracker
    vCPU / hr
    $0.050
    Free tier
    $5 to start, plus $95 when you add billing
  • Isolation
    Firecracker
    vCPU / hr
    $0.054
    Free tier
    $5.40 / month
  • Isolation
    Firecracker
    vCPU / hr
    $0.058
    Free tier
    8 LSU a month
  • Isolation
    Full VM
    vCPU / hr
    $0.100
    Free tier
    $10 credit
  • Isolation
    Firecracker
    vCPU / hr
    Not listed
    Free tier
    Not listed
  • Isolation
    Full VM
    vCPU / hr
    Not listed
    Free tier
    Not listed
  • Isolation
    Container
    vCPU / hr
    Not listed
    Free tier
    None
  • Isolation
    Firecracker
    vCPU / hr
    Not listed
    Free tier
    Hobby plan, free forever

Related