Anthropic Code Execution vs LangSmith Sandboxes

Anthropic Code Execution costs $0.05 per vCPU-hour and LangSmith Sandboxes costs $0.0576 per vCPU-hour. Anthropic Code Execution runs containers. LangSmith Sandboxes runs Firecracker microVMs.

Updated

Anthropic Code Execution

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

LangSmith Sandboxes

Isolation
Firecracker microVM
Free tier
Credit of 8 LSU every month
Max session
Not listed

What is different

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

Anthropic Code Execution
LangSmith Sandboxes
vCPU, per hour
Anthropic Code Execution: $0.05
LangSmith Sandboxes: $0.0576
RAM, per GiB-hour
Anthropic Code Execution: Included
LangSmith Sandboxes: $0.01845
Free tier
Anthropic Code Execution: 1,550 free hours per month
LangSmith Sandboxes: Credit of 8 LSU every month
Billing
Anthropic Code Execution: Bundled machine time
LangSmith Sandboxes: Per second
Largest sandbox
Anthropic Code Execution: 1 vCPU · 5 GiB
LangSmith Sandboxes: 16 vCPU · 64 GiB
Isolation
Anthropic Code Execution: Container
LangSmith Sandboxes: Firecracker microVM
SDKs
Anthropic Code Execution: Python, TypeScript, Go, Java, Ruby
LangSmith Sandboxes: Python, TypeScript

Full comparison

18 fields, at each provider's list price

Pricing

vCPU, per hour
Anthropic Code Execution: $0.05
LangSmith Sandboxes: $0.0576
RAM, per GiB-hour
Anthropic Code Execution: Included
LangSmith Sandboxes: $0.01845
Storage
Anthropic Code Execution: Not listed
LangSmith Sandboxes: $0.000123 per GiB-hour
Free tier
Anthropic Code Execution: 1,550 free hours per month
LangSmith Sandboxes: Credit of 8 LSU every month
Paid plan from
Anthropic Code Execution: Not listed
LangSmith Sandboxes: Not listed
Billing
Anthropic Code Execution: Bundled machine time
LangSmith Sandboxes: Per second

Limits

Max session
Anthropic Code Execution: Not listed
LangSmith Sandboxes: Not listed
Idle stop
Anthropic Code Execution: Not listed
LangSmith Sandboxes: After 10 minutes
Largest sandbox
Anthropic Code Execution: 1 vCPU · 5 GiB
LangSmith Sandboxes: 16 vCPU · 64 GiB
Concurrent sandboxes
Anthropic Code Execution: Not listed
LangSmith Sandboxes: Not listed

Platform

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

Developer

SDKs
Anthropic Code Execution: Python, TypeScript, Go, Java, Ruby
LangSmith Sandboxes: Python, TypeScript
Integrations
Anthropic Code Execution: Not listed
LangSmith Sandboxes: LangChain

Trust

License
Anthropic Code Execution: Not listed
LangSmith Sandboxes: Not listed
BYOC
Anthropic Code Execution: Not listed
LangSmith Sandboxes: Enterprise plan

Hourly cost

One sandbox running for one hour

Anthropic Code Execution
LangSmith Sandboxes
1 vCPU · 2 GiB
Anthropic Code Execution: $0.050
LangSmith Sandboxes: $0.095
2 vCPU · 4 GiB
Anthropic Code Execution: $0.100
LangSmith Sandboxes: $0.189
4 vCPU · 8 GiB
Anthropic Code Execution: $0.200
LangSmith Sandboxes: $0.378

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

LangSmith Sandboxes fits when

  • You want each sandbox in its own microVM.
  • You use LangChain.
  • You need snapshots.
  • You need the sandboxes in your own cloud account.

More comparisons

See all comparisons

Related