Microsoft Foundry hosted agents vs Shardflux

Microsoft Foundry hosted agents costs $0.0994 per vCPU-hour and Shardflux costs $0.04 per vCPU-hour. Microsoft Foundry hosted agents runs microVMs. Shardflux runs Firecracker microVMs and offers GPUs.

Updated

Microsoft Foundry hosted agents

Isolation
MicroVM
Free tier
Not listed
Max session
Not listed

Shardflux

Isolation
Firecracker microVM
Free tier
30-day Pro trial, no card needed
Max session
Not listed

What is different

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

Microsoft Foundry hosted agents
Shardflux
vCPU, per hour
Microsoft Foundry hosted agents: $0.0994
Shardflux: $0.04
RAM, per GiB-hour
Microsoft Foundry hosted agents: $0.0118
Shardflux: $0.015
Paid plan from
Microsoft Foundry hosted agents: Pay as you go
Shardflux: $9 / month
Billing
Microsoft Foundry hosted agents: Per second
Shardflux: Active CPU time only
Idle stop
Microsoft Foundry hosted agents: After 15 minutes
Shardflux: After 5 minutes
Largest sandbox
Microsoft Foundry hosted agents: 2 vCPU · 4 GiB
Shardflux: 32 vCPU · 64 GiB
Concurrent sandboxes
Microsoft Foundry hosted agents: Up to 2,000
Shardflux: Up to 200
Isolation
Microsoft Foundry hosted agents: MicroVM
Shardflux: Firecracker microVM
SDKs
Microsoft Foundry hosted agents: Python, JavaScript / TypeScript
Shardflux: TypeScript, Python
Integrations
Microsoft Foundry hosted agents: Claude Agent SDK, LangChain, MCP, OpenAI Agents SDK
Shardflux: Claude Code, MCP, Claude Agent SDK, OpenAI Agents SDK, Vercel AI SDK, LangChain

Full comparison

18 fields, at each provider's list price

Pricing

vCPU, per hour
Microsoft Foundry hosted agents: $0.0994
Shardflux: $0.04
RAM, per GiB-hour
Microsoft Foundry hosted agents: $0.0118
Shardflux: $0.015
Storage
Microsoft Foundry hosted agents: Not listed
Shardflux: Free
Free tier
Microsoft Foundry hosted agents: Not listed
Shardflux: 30-day Pro trial, no card needed
Paid plan from
Microsoft Foundry hosted agents: Pay as you go
Shardflux: $9 / month
Billing
Microsoft Foundry hosted agents: Per second
Shardflux: Active CPU time only

Limits

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

Platform

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

Developer

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

Trust

License
Microsoft Foundry hosted agents: Not listed
Shardflux: Not listed
BYOC
Microsoft Foundry hosted agents: Not listed
Shardflux: Not listed

Hourly cost

One sandbox running for one hour

Microsoft Foundry hosted agents
Shardflux
1 vCPU · 2 GiB
Microsoft Foundry hosted agents: $0.123
Shardflux: $0.070
2 vCPU · 4 GiB
Microsoft Foundry hosted agents: $0.246
Shardflux: $0.140
4 vCPU · 8 GiB
Microsoft Foundry hosted agents: $0.492
Shardflux: $0.280

Compute only, at list rates.

Open the calculator

Which one fits

Based on the fields above

Microsoft Foundry hosted agents fits when

  • You want to pay only for usage, with no plan fee.

Shardflux fits when

  • You need GPUs.
  • You use Claude Code or the Vercel AI SDK.
  • You want the lower list price: $0.140 against $0.246 an hour for 2 vCPU and 4 GiB.
  • You need snapshots.

More comparisons

See all comparisons

Related