Microsoft Foundry hosted agents vs Sandbox0

Microsoft Foundry hosted agents costs $0.0994 per vCPU-hour. Sandbox0 bills memory only, at $0.015 per GiB-hour. Microsoft Foundry hosted agents runs microVMs. Sandbox0 runs gVisor and has no session limit.

Updated

Microsoft Foundry hosted agents

Isolation
MicroVM
Free tier
Not listed
Max session
Not listed

Sandbox0

Isolation
gVisor
Free tier
$5 credit, one time
Max session
No limit

What is different

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

Microsoft Foundry hosted agents
Sandbox0
vCPU, per hour
Microsoft Foundry hosted agents: $0.0994
Sandbox0: Included
RAM, per GiB-hour
Microsoft Foundry hosted agents: $0.0118
Sandbox0: $0.015
Billing
Microsoft Foundry hosted agents: Per second
Sandbox0: Memory only
Concurrent sandboxes
Microsoft Foundry hosted agents: Up to 2,000
Sandbox0: Up to 20
Isolation
Microsoft Foundry hosted agents: MicroVM
Sandbox0: gVisor
SDKs
Microsoft Foundry hosted agents: Python, JavaScript / TypeScript
Sandbox0: Go, Python, JavaScript / TypeScript
Integrations
Microsoft Foundry hosted agents: Claude Agent SDK, LangChain, MCP, OpenAI Agents SDK
Sandbox0: LangChain, OpenAI Agents SDK

Full comparison

18 fields, at each provider's list price

Pricing

vCPU, per hour
Microsoft Foundry hosted agents: $0.0994
Sandbox0: Included
RAM, per GiB-hour
Microsoft Foundry hosted agents: $0.0118
Sandbox0: $0.015
Storage
Microsoft Foundry hosted agents: Not listed
Sandbox0: $0.02 per GiB-month for retained RootFS changes and memory checkpoints. Shared base images are free
Free tier
Microsoft Foundry hosted agents: Not listed
Sandbox0: $5 credit, one time
Paid plan from
Microsoft Foundry hosted agents: Pay as you go
Sandbox0: Pay as you go
Billing
Microsoft Foundry hosted agents: Per second
Sandbox0: Memory only

Limits

Max session
Microsoft Foundry hosted agents: Not listed
Sandbox0: No limit
Idle stop
Microsoft Foundry hosted agents: After 15 minutes
Sandbox0: Not listed
Largest sandbox
Microsoft Foundry hosted agents: 2 vCPU · 4 GiB
Sandbox0: Not listed
Concurrent sandboxes
Microsoft Foundry hosted agents: Up to 2,000
Sandbox0: Up to 20

Platform

Isolation
Microsoft Foundry hosted agents: MicroVM
Sandbox0: gVisor
GPU
Microsoft Foundry hosted agents: Not listed
Sandbox0: Not listed
Snapshots
Microsoft Foundry hosted agents: Not listed
Sandbox0:
Pause and resume
Microsoft Foundry hosted agents:
Sandbox0:

Developer

SDKs
Microsoft Foundry hosted agents: Python, JavaScript / TypeScript
Sandbox0: Go, Python, JavaScript / TypeScript
Integrations
Microsoft Foundry hosted agents: Claude Agent SDK, LangChain, MCP, OpenAI Agents SDK
Sandbox0: LangChain, OpenAI Agents SDK

Trust

License
Microsoft Foundry hosted agents: Not listed
Sandbox0: Not listed
BYOC
Microsoft Foundry hosted agents: Not listed
Sandbox0: No

Hourly cost

One sandbox running for one hour

Microsoft Foundry hosted agents
Sandbox0
1 vCPU · 2 GiB
Microsoft Foundry hosted agents: $0.123
Sandbox0: $0.030
2 vCPU · 4 GiB
Microsoft Foundry hosted agents: $0.246
Sandbox0: $0.060
4 vCPU · 8 GiB
Microsoft Foundry hosted agents: $0.492
Sandbox0: $0.120

Compute only, at list rates.

Open the calculator

Which one fits

Based on the fields above

Microsoft Foundry hosted agents fits when

  • You want each sandbox in its own microVM.
  • You use the Claude Agent SDK or MCP.

Sandbox0 fits when

  • You want the lower list price: $0.060 against $0.246 an hour for 2 vCPU and 4 GiB.
  • You need snapshots.
  • You want one rate for memory, with CPU included.

More comparisons

See all comparisons

Related