Anthropic Code Execution vs Freestyle VMs

Anthropic Code Execution costs $0.05 per vCPU-hour and Freestyle VMs costs $0.04032 per vCPU-hour. Anthropic Code Execution runs containers. Freestyle VMs runs full VMs and offers GPUs.

Updated

Anthropic Code Execution

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

Freestyle VMs

Isolation
Full VM
Free tier
Free plan, $0 forever
Max session
Not listed

What is different

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

Anthropic Code Execution
Freestyle VMs
vCPU, per hour
Anthropic Code Execution: $0.05
Freestyle VMs: $0.04032
RAM, per GiB-hour
Anthropic Code Execution: Included
Freestyle VMs: $0.0129
Free tier
Anthropic Code Execution: 1,550 free hours per month
Freestyle VMs: Free plan, $0 forever
Billing
Anthropic Code Execution: Bundled machine time
Freestyle VMs: Per second
Largest sandbox
Anthropic Code Execution: 1 vCPU · 5 GiB
Freestyle VMs: 32 vCPU · 64 GiB
Isolation
Anthropic Code Execution: Container
Freestyle VMs: Full VM
SDKs
Anthropic Code Execution: Python, TypeScript, Go, Java, Ruby
Freestyle VMs: JavaScript

Full comparison

18 fields, at each provider's list price

Pricing

vCPU, per hour
Anthropic Code Execution: $0.05
Freestyle VMs: $0.04032
RAM, per GiB-hour
Anthropic Code Execution: Included
Freestyle VMs: $0.0129
Storage
Anthropic Code Execution: Not listed
Freestyle VMs: $0.000086 per GiB-hour
Free tier
Anthropic Code Execution: 1,550 free hours per month
Freestyle VMs: Free plan, $0 forever
Paid plan from
Anthropic Code Execution: Not listed
Freestyle VMs: $50 / month
Billing
Anthropic Code Execution: Bundled machine time
Freestyle VMs: Per second

Limits

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

Platform

Isolation
Anthropic Code Execution: Container
Freestyle VMs: Full VM
GPU
Anthropic Code Execution: Not listed
Freestyle VMs:
Snapshots
Anthropic Code Execution: Not listed
Freestyle VMs:
Pause and resume
Anthropic Code Execution:
Freestyle VMs:

Developer

SDKs
Anthropic Code Execution: Python, TypeScript, Go, Java, Ruby
Freestyle VMs: JavaScript
Integrations
Anthropic Code Execution: Not listed
Freestyle VMs: OpenAI Agents SDK, Claude Agent SDK, Claude Code

Trust

License
Anthropic Code Execution: Not listed
Freestyle VMs: Not listed
BYOC
Anthropic Code Execution: Not listed
Freestyle VMs: Not listed

Hourly cost

One sandbox running for one hour

Anthropic Code Execution
Freestyle VMs
1 vCPU · 2 GiB
Anthropic Code Execution: $0.050
Freestyle VMs: $0.066
2 vCPU · 4 GiB
Anthropic Code Execution: $0.100
Freestyle VMs: $0.132
4 vCPU · 8 GiB
Anthropic Code Execution: $0.200
Freestyle VMs: $0.264

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

Freestyle VMs fits when

  • You need GPUs.
  • You want each sandbox to be a full VM.
  • You use the OpenAI Agents SDK, the Claude Agent SDK or Claude Code.
  • You need snapshots.

More comparisons

See all comparisons

Related