Microsoft Foundry hosted agents vs Sandbox as a Service

Microsoft Foundry hosted agents costs $0.0994 per vCPU-hour and Sandbox as a Service costs $0.045 per vCPU-hour. Microsoft Foundry hosted agents runs microVMs. Sandbox as a Service runs full VMs and limits a session to 24 hours.

Updated

Microsoft Foundry hosted agents

Isolation
MicroVM
Free tier
Not listed
Max session
Not listed

Sandbox as a Service

Isolation
Full VM
Free tier
$5 credit
Max session
24 hours

What is different

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

Microsoft Foundry hosted agents
Sandbox as a Service
vCPU, per hour
Microsoft Foundry hosted agents: $0.0994
Sandbox as a Service: $0.045
RAM, per GiB-hour
Microsoft Foundry hosted agents: $0.0118
Sandbox as a Service: Included
Billing
Microsoft Foundry hosted agents: Per second
Sandbox as a Service: Bundled machine time
Largest sandbox
Microsoft Foundry hosted agents: 2 vCPU · 4 GiB
Sandbox as a Service: 8 vCPU · 16 GiB
Concurrent sandboxes
Microsoft Foundry hosted agents: Up to 2,000
Sandbox as a Service: Up to 20
Isolation
Microsoft Foundry hosted agents: MicroVM
Sandbox as a Service: Full VM
Integrations
Microsoft Foundry hosted agents: Claude Agent SDK, LangChain, MCP, OpenAI Agents SDK
Sandbox as a Service: MCP

Full comparison

18 fields, at each provider's list price

Pricing

vCPU, per hour
Microsoft Foundry hosted agents: $0.0994
Sandbox as a Service: $0.045
RAM, per GiB-hour
Microsoft Foundry hosted agents: $0.0118
Sandbox as a Service: Included
Storage
Microsoft Foundry hosted agents: Not listed
Sandbox as a Service: Not listed
Free tier
Microsoft Foundry hosted agents: Not listed
Sandbox as a Service: $5 credit
Paid plan from
Microsoft Foundry hosted agents: Pay as you go
Sandbox as a Service: Pay as you go
Billing
Microsoft Foundry hosted agents: Per second
Sandbox as a Service: Bundled machine time

Limits

Max session
Microsoft Foundry hosted agents: Not listed
Sandbox as a Service: 24 hours
Idle stop
Microsoft Foundry hosted agents: After 15 minutes
Sandbox as a Service: Not listed
Largest sandbox
Microsoft Foundry hosted agents: 2 vCPU · 4 GiB
Sandbox as a Service: 8 vCPU · 16 GiB
Concurrent sandboxes
Microsoft Foundry hosted agents: Up to 2,000
Sandbox as a Service: Up to 20

Platform

Isolation
Microsoft Foundry hosted agents: MicroVM
Sandbox as a Service: Full VM
GPU
Microsoft Foundry hosted agents: Not listed
Sandbox as a Service: Not listed
Snapshots
Microsoft Foundry hosted agents: Not listed
Sandbox as a Service:
Pause and resume
Microsoft Foundry hosted agents:
Sandbox as a Service: Not listed

Developer

SDKs
Microsoft Foundry hosted agents: Python, JavaScript / TypeScript
Sandbox as a Service: Python, JavaScript / TypeScript
Integrations
Microsoft Foundry hosted agents: Claude Agent SDK, LangChain, MCP, OpenAI Agents SDK
Sandbox as a Service: MCP

Trust

License
Microsoft Foundry hosted agents: Not listed
Sandbox as a Service: Not listed
BYOC
Microsoft Foundry hosted agents: Not listed
Sandbox as a Service: Not listed

Hourly cost

One sandbox running for one hour

Microsoft Foundry hosted agents
Sandbox as a Service
1 vCPU · 2 GiB
Microsoft Foundry hosted agents: $0.123
Sandbox as a Service: $0.045
2 vCPU · 4 GiB
Microsoft Foundry hosted agents: $0.246
Sandbox as a Service: $0.090
4 vCPU · 8 GiB
Microsoft Foundry hosted agents: $0.492
Sandbox as a Service: $0.180

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, LangChain or the OpenAI Agents SDK.
  • You need pause and resume.

Sandbox as a Service fits when

  • You want each sandbox to be a full VM.
  • You want the lower list price: $0.090 against $0.246 an hour for 2 vCPU and 4 GiB.
  • You need snapshots.
  • You need a sandbox larger than 2 vCPU · 4 GiB.

More comparisons

See all comparisons

Related