Microsoft Foundry hosted agents vs Mosaic Sandbox

Microsoft Foundry hosted agents costs $0.0994 per vCPU-hour and Mosaic Sandbox costs $0.025 per vCPU-hour. Microsoft Foundry hosted agents runs microVMs. Mosaic Sandbox runs Firecracker microVMs.

Updated

Microsoft Foundry hosted agents

Isolation
MicroVM
Free tier
Not listed
Max session
Not listed

Mosaic Sandbox

Isolation
Firecracker microVM
Free tier
Not listed
Max session
Not listed

What is different

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

Microsoft Foundry hosted agents
Mosaic Sandbox
vCPU, per hour
Microsoft Foundry hosted agents: $0.0994
Mosaic Sandbox: $0.025
RAM, per GiB-hour
Microsoft Foundry hosted agents: $0.0118
Mosaic Sandbox: Included
Billing
Microsoft Foundry hosted agents: Per second
Mosaic Sandbox: Bundled machine time
Largest sandbox
Microsoft Foundry hosted agents: 2 vCPU · 4 GiB
Mosaic Sandbox: 16 vCPU · 32 GiB
Concurrent sandboxes
Microsoft Foundry hosted agents: Up to 2,000
Mosaic Sandbox: Up to 200
Isolation
Microsoft Foundry hosted agents: MicroVM
Mosaic Sandbox: Firecracker microVM
SDKs
Microsoft Foundry hosted agents: Python, JavaScript / TypeScript
Mosaic Sandbox: Python, TypeScript, Go
Integrations
Microsoft Foundry hosted agents: Claude Agent SDK, LangChain, MCP, OpenAI Agents SDK
Mosaic Sandbox: LangChain, MCP, Claude Code, Vercel AI SDK

Full comparison

18 fields, at each provider's list price

Pricing

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

Limits

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

Platform

Isolation
Microsoft Foundry hosted agents: MicroVM
Mosaic Sandbox: Firecracker microVM
GPU
Microsoft Foundry hosted agents: Not listed
Mosaic Sandbox: No
Snapshots
Microsoft Foundry hosted agents: Not listed
Mosaic Sandbox:
Pause and resume
Microsoft Foundry hosted agents:
Mosaic Sandbox:

Developer

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

Trust

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

Hourly cost

One sandbox running for one hour

Microsoft Foundry hosted agents
Mosaic Sandbox
1 vCPU · 2 GiB
Microsoft Foundry hosted agents: $0.123
Mosaic Sandbox: $0.025
2 vCPU · 4 GiB
Microsoft Foundry hosted agents: $0.246
Mosaic Sandbox: $0.050
4 vCPU · 8 GiB
Microsoft Foundry hosted agents: $0.492
Mosaic Sandbox: $0.100

Compute only, at list rates.

Open the calculator

Which one fits

Based on the fields above

Microsoft Foundry hosted agents fits when

  • You use the Claude Agent SDK or the OpenAI Agents SDK.

Mosaic Sandbox fits when

  • You use Claude Code or the Vercel AI SDK.
  • You want the lower list price: $0.050 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