
Microsoft Foundry hosted agents
Runs your AI agent code on Azure, with each session in its own microVM.
Microsoft Foundry hosted agents runs each sandbox in a microVM. It costs $0.0994 per vCPU-hour and $0.0118 per GiB-hour, billed per second.
- azure.microsoft.com/en-us/products/ai-foundry/agent-service
- learn.microsoft.com/en-us/azure/foundry/agents/concepts/hosted-agents
- azure.microsoft.com/en-us/pricing/details/foundry-agent-service
Updated
$0.0994
vCPU per hour
$0.0118
RAM per GiB-hour
Not listed
Max session
2 vCPU · 4 GiB
Largest sandbox
Microsoft Foundry hosted agents specifications
List prices and limits for Microsoft Foundry hosted agents
Pricing
azure- vCPU per hour
- $0.0994
- RAM per GiB-hour
- $0.0118
- Storage
- Not listed
- Billing
- Per second
- Free tier
- Not listed
- Paid plan from
- Pay as you go
Limits
learn- Max session
- Not listed
- Idle stop
- After 15 minutesDefault, set from 2 minutes to 4 hours per agent version
- Sandbox size
- 0.5 vCPU · 1 GiB, 1 vCPU · 2 GiB, 2 vCPU · 4 GiB
- Default size
- Not listed
- Concurrent sandboxes
- Up to 2,000Default per subscription in 7 regions, 1,000 in other regions. Raised by support request
- Storage
- Up to 20 GiB per session at 1 vCPU or more, less at 0.5 vCPU. About 20% is kept for the system
Platform
learn- Isolation
- MicroVM
- GPU
- Not listed
- Snapshots
- Not listed
- Pause and resume
- An idle session keeps $HOME and uploaded files. Deleted after 30 days without use
- Desktop
- Not listed
- Regions
- 31Azure regions in the Americas, Europe, Asia Pacific, Middle East and Africa
Developer
learn- SDKs
- Python, JavaScript / TypeScript
- Integrations
- Claude Agent SDK, LangChain, MCP, OpenAI Agents SDK
Hourly cost
Microsoft Foundry hosted agents next to other providers
One sandbox with 2 vCPU and 4 GiB of RAM for one hour, at list price.
Compute only. Storage and network are not included.
Open the calculatorCompare Microsoft Foundry hosted agents

Microsoft Foundry hosted agents vs Agent Sandbox
Microsoft Foundry hosted agents vs Agent37 Cloud
Microsoft Foundry hosted agents vs AgentBay
Microsoft Foundry hosted agents vs Alibaba Cloud Agent Sandbox
Microsoft Foundry hosted agents vs Amazon Bedrock AgentCore Code Interpreter
Microsoft Foundry hosted agents vs Amazon Bedrock AgentCore Runtime
Microsoft Foundry hosted agents vs Anthropic Code Execution
Microsoft Foundry hosted agents vs Apify AI Code Sandbox
Alternatives to Microsoft Foundry hosted agents
Agent37 Cloud
Persistent Linux sandboxes and VMs for code and agents.
$0.001 per vCPU-hour, no session limit
Hugging Face Sandboxes
Isolated cloud machines for running AI-generated code.
$0.005 per vCPU-hour, GPUs
Krova Cloud
Firecracker microVMs with root access, billed by the minute.
$0.001 per vCPU-hour, no session limit
Recent changes
Related
More pages that include Microsoft Foundry hosted agents
Microsoft Foundry hosted agents
Microsoft Foundry hosted agents pricing
Microsoft Foundry hosted agents alternatives
Microsoft Foundry hosted agents vs Agent Sandbox
Microsoft Foundry hosted agents vs Agent37 Cloud
All providers