Anthropic Code Execution vs Microsoft Foundry hosted agents
Anthropic Code Execution costs $0.05 per vCPU-hour and Microsoft Foundry hosted agents costs $0.0994 per vCPU-hour. Anthropic Code Execution runs containers. Microsoft Foundry hosted agents runs microVMs.
Updated
What is different
6 fields differ. The rest are the same or not listed.
Anthropic Code Execution
Microsoft Foundry hosted agents
- vCPU, per hour
- Anthropic Code Execution: $0.05
- Microsoft Foundry hosted agents: $0.0994
- RAM, per GiB-hour
- Anthropic Code Execution: Included
- Microsoft Foundry hosted agents: $0.0118
- Billing
- Anthropic Code Execution: Bundled machine time
- Microsoft Foundry hosted agents: Per second
- Largest sandbox
- Anthropic Code Execution: 1 vCPU · 5 GiB
- Microsoft Foundry hosted agents: 2 vCPU · 4 GiB
- Isolation
- Anthropic Code Execution: Container
- Microsoft Foundry hosted agents: MicroVM
- SDKs
- Anthropic Code Execution: Python, TypeScript, Go, Java, Ruby
- Microsoft Foundry hosted agents: Python, JavaScript / TypeScript
Full comparison
18 fields, at each provider's list price
Anthropic Code Executionplatform .claude .com
Microsoft Foundry hosted agentsazure .microsoft .com
Pricing
- vCPU, per hour
- Anthropic Code Execution: $0.05
- Microsoft Foundry hosted agents: $0.0994
- RAM, per GiB-hour
- Anthropic Code Execution: Included
- Microsoft Foundry hosted agents: $0.0118
- Storage
- Anthropic Code Execution: Not listed
- Microsoft Foundry hosted agents: Not listed
- Free tier
- Anthropic Code Execution: 1,550 free hours per month
- Microsoft Foundry hosted agents: Not listed
- Paid plan from
- Anthropic Code Execution: Not listed
- Microsoft Foundry hosted agents: Pay as you go
- Billing
- Anthropic Code Execution: Bundled machine time
- Microsoft Foundry hosted agents: Per second
Limits
- Max session
- Anthropic Code Execution: Not listed
- Microsoft Foundry hosted agents: Not listed
- Idle stop
- Anthropic Code Execution: Not listed
- Microsoft Foundry hosted agents: After 15 minutes
- Largest sandbox
- Anthropic Code Execution: 1 vCPU · 5 GiB
- Microsoft Foundry hosted agents: 2 vCPU · 4 GiB
- Concurrent sandboxes
- Anthropic Code Execution: Not listed
- Microsoft Foundry hosted agents: Up to 2,000
Platform
- Isolation
- Anthropic Code Execution: Container
- Microsoft Foundry hosted agents: MicroVM
- GPU
- Anthropic Code Execution: Not listed
- Microsoft Foundry hosted agents: Not listed
- Snapshots
- Anthropic Code Execution: Not listed
- Microsoft Foundry hosted agents: Not listed
- Pause and resume
- Anthropic Code Execution:
- Microsoft Foundry hosted agents:
Developer
- SDKs
- Anthropic Code Execution: Python, TypeScript, Go, Java, Ruby
- Microsoft Foundry hosted agents: Python, JavaScript / TypeScript
- Integrations
- Anthropic Code Execution: Not listed
- Microsoft Foundry hosted agents: Claude Agent SDK, LangChain, MCP, OpenAI Agents SDK
Trust
- License
- Anthropic Code Execution: Not listed
- Microsoft Foundry hosted agents: Not listed
- BYOC
- Anthropic Code Execution: Not listed
- Microsoft Foundry hosted agents: Not listed
Hourly cost
One sandbox running for one hour
Anthropic Code Execution
Microsoft Foundry hosted agents
- 1 vCPU · 2 GiB
- Anthropic Code Execution: $0.050
- Microsoft Foundry hosted agents: $0.123
- 2 vCPU · 4 GiB
- Anthropic Code Execution: $0.100
- Microsoft Foundry hosted agents: $0.246
- 4 vCPU · 8 GiB
- Anthropic Code Execution: $0.200
- Microsoft Foundry hosted agents: $0.492
Compute only, at list rates.
Open the calculatorWhich one fits
Based on the fields above
More comparisons

Agent Sandbox vs Anthropic Code Execution
Agent Sandbox vs Microsoft Foundry hosted agents
Agent37 Cloud vs Anthropic Code Execution
Agent37 Cloud vs Microsoft Foundry hosted agents
AgentBay vs Anthropic Code Execution
AgentBay vs Microsoft Foundry hosted agents
Alibaba Cloud Agent Sandbox vs Anthropic Code Execution
Alibaba Cloud Agent Sandbox vs Microsoft Foundry hosted agents