Agent Sandbox vs Microsoft Foundry hosted agents

Microsoft Foundry hosted agents costs $0.0994 per vCPU-hour. Agent Sandbox runs containers. Microsoft Foundry hosted agents runs microVMs.

Updated

Agent Sandbox

Isolation
Container
Free tier
$10 credit with a Google sign-in
Max session
Not listed

Microsoft Foundry hosted agents

Isolation
MicroVM
Free tier
Not listed
Max session
Not listed

What is different

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

Agent Sandbox
Microsoft Foundry hosted agents
Idle stop
Agent Sandbox: After 5 minutes
Microsoft Foundry hosted agents: After 15 minutes
Isolation
Agent Sandbox: Container
Microsoft Foundry hosted agents: MicroVM
SDKs
Agent Sandbox: Python
Microsoft Foundry hosted agents: Python, JavaScript / TypeScript
Integrations
Agent Sandbox: Claude Code
Microsoft Foundry hosted agents: Claude Agent SDK, LangChain, MCP, OpenAI Agents SDK

Full comparison

18 fields, at each provider's list price

Pricing

vCPU, per hour
Agent Sandbox: Not listed
Microsoft Foundry hosted agents: $0.0994
RAM, per GiB-hour
Agent Sandbox: Not listed
Microsoft Foundry hosted agents: $0.0118
Storage
Agent Sandbox: $0.0005/MB for output files
Microsoft Foundry hosted agents: Not listed
Free tier
Agent Sandbox: $10 credit with a Google sign-in
Microsoft Foundry hosted agents: Not listed
Paid plan from
Agent Sandbox: Pay as you go
Microsoft Foundry hosted agents: Pay as you go
Billing
Agent Sandbox: Per second
Microsoft Foundry hosted agents: Per second

Limits

Max session
Agent Sandbox: Not listed
Microsoft Foundry hosted agents: Not listed
Idle stop
Agent Sandbox: After 5 minutes
Microsoft Foundry hosted agents: After 15 minutes
Largest sandbox
Agent Sandbox: Not listed
Microsoft Foundry hosted agents: 2 vCPU · 4 GiB
Concurrent sandboxes
Agent Sandbox: Not listed
Microsoft Foundry hosted agents: Up to 2,000

Platform

Isolation
Agent Sandbox: Container
Microsoft Foundry hosted agents: MicroVM
GPU
Agent Sandbox: Not listed
Microsoft Foundry hosted agents: Not listed
Snapshots
Agent Sandbox: Not listed
Microsoft Foundry hosted agents: Not listed
Pause and resume
Agent Sandbox: Not listed
Microsoft Foundry hosted agents:

Developer

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

Trust

License
Agent Sandbox: Not listed
Microsoft Foundry hosted agents: Not listed
BYOC
Agent Sandbox: Not listed
Microsoft Foundry hosted agents: Not listed

Hourly cost

One sandbox running for one hour

Agent Sandbox
Microsoft Foundry hosted agents
1 vCPU · 2 GiB
Agent Sandbox: Not listed
Microsoft Foundry hosted agents: $0.123
2 vCPU · 4 GiB
Agent Sandbox: Not listed
Microsoft Foundry hosted agents: $0.246
4 vCPU · 8 GiB
Agent Sandbox: Not listed
Microsoft Foundry hosted agents: $0.492

Compute only, at list rates.

Open the calculator

Which one fits

Based on the fields above

Agent Sandbox fits when

  • You use Claude Code.

Microsoft Foundry hosted agents fits when

  • You want each sandbox in its own microVM.
  • You use the Claude Agent SDK, LangChain, MCP or the OpenAI Agents SDK.
  • You need pause and resume.

More comparisons

See all comparisons

Related