Microsoft Foundry hosted agents vs StateSet Sandbox

Microsoft Foundry hosted agents costs $0.0994 per vCPU-hour and StateSet Sandbox costs $0.0055 per vCPU-hour. Microsoft Foundry hosted agents runs microVMs. StateSet Sandbox runs gVisor and limits a session to 24 hours.

Updated

Microsoft Foundry hosted agents

Isolation
MicroVM
Free tier
Not listed
Max session
Not listed

StateSet Sandbox

Isolation
gVisor
Free tier
$25 trial credit, no card
Max session
24 hours

What is different

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

Microsoft Foundry hosted agents
StateSet Sandbox
vCPU, per hour
Microsoft Foundry hosted agents: $0.0994
StateSet Sandbox: $0.0055
RAM, per GiB-hour
Microsoft Foundry hosted agents: $0.0118
StateSet Sandbox: $0.00075
Concurrent sandboxes
Microsoft Foundry hosted agents: Up to 2,000
StateSet Sandbox: Up to 200
Isolation
Microsoft Foundry hosted agents: MicroVM
StateSet Sandbox: gVisor
Integrations
Microsoft Foundry hosted agents: Claude Agent SDK, LangChain, MCP, OpenAI Agents SDK
StateSet Sandbox: Claude Code, MCP

Full comparison

18 fields, at each provider's list price

Pricing

vCPU, per hour
Microsoft Foundry hosted agents: $0.0994
StateSet Sandbox: $0.0055
RAM, per GiB-hour
Microsoft Foundry hosted agents: $0.0118
StateSet Sandbox: $0.00075
Storage
Microsoft Foundry hosted agents: Not listed
StateSet Sandbox: Not listed
Free tier
Microsoft Foundry hosted agents: Not listed
StateSet Sandbox: $25 trial credit, no card
Paid plan from
Microsoft Foundry hosted agents: Pay as you go
StateSet Sandbox: Pay as you go
Billing
Microsoft Foundry hosted agents: Per second
StateSet Sandbox: Per second

Limits

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

Platform

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

Developer

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

Trust

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

Hourly cost

One sandbox running for one hour

Microsoft Foundry hosted agents
StateSet Sandbox
1 vCPU · 2 GiB
Microsoft Foundry hosted agents: $0.123
StateSet Sandbox: $0.007
2 vCPU · 4 GiB
Microsoft Foundry hosted agents: $0.246
StateSet Sandbox: $0.014
4 vCPU · 8 GiB
Microsoft Foundry hosted agents: $0.492
StateSet Sandbox: $0.028

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.

StateSet Sandbox fits when

  • You use Claude Code.
  • You want the lower list price: $0.014 against $0.246 an hour for 2 vCPU and 4 GiB.
  • You need snapshots.

More comparisons

See all comparisons

Related