Amazon Bedrock AgentCore Code Interpreter vs Microsoft Foundry hosted agents

Amazon Bedrock AgentCore Code Interpreter costs $0.0895 per vCPU-hour and Microsoft Foundry hosted agents costs $0.0994 per vCPU-hour. Amazon Bedrock AgentCore Code Interpreter runs microVMs and limits a session to 8 hours. Microsoft Foundry hosted agents runs microVMs.

Updated

Amazon Bedrock AgentCore Code Interpreter

Isolation
MicroVM
Free tier
Not listed
Max session
8 hours

Microsoft Foundry hosted agents

Isolation
MicroVM
Free tier
Not listed
Max session
Not listed

What is different

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

Amazon Bedrock AgentCore Code Interpreter
Microsoft Foundry hosted agents
vCPU, per hour
Amazon Bedrock AgentCore Code Interpreter: $0.0895
Microsoft Foundry hosted agents: $0.0994
RAM, per GiB-hour
Amazon Bedrock AgentCore Code Interpreter: $0.00945
Microsoft Foundry hosted agents: $0.0118
Billing
Amazon Bedrock AgentCore Code Interpreter: Active CPU time only
Microsoft Foundry hosted agents: Per second
Largest sandbox
Amazon Bedrock AgentCore Code Interpreter: 2 vCPU · 8 GiB
Microsoft Foundry hosted agents: 2 vCPU · 4 GiB
Concurrent sandboxes
Amazon Bedrock AgentCore Code Interpreter: Up to 1,000
Microsoft Foundry hosted agents: Up to 2,000
SDKs
Amazon Bedrock AgentCore Code Interpreter: Python
Microsoft Foundry hosted agents: Python, JavaScript / TypeScript
Integrations
Amazon Bedrock AgentCore Code Interpreter: LangChain
Microsoft Foundry hosted agents: Claude Agent SDK, LangChain, MCP, OpenAI Agents SDK

Full comparison

18 fields, at each provider's list price

Pricing

vCPU, per hour
Amazon Bedrock AgentCore Code Interpreter: $0.0895
Microsoft Foundry hosted agents: $0.0994
RAM, per GiB-hour
Amazon Bedrock AgentCore Code Interpreter: $0.00945
Microsoft Foundry hosted agents: $0.0118
Storage
Amazon Bedrock AgentCore Code Interpreter: Not listed
Microsoft Foundry hosted agents: Not listed
Free tier
Amazon Bedrock AgentCore Code Interpreter: Not listed
Microsoft Foundry hosted agents: Not listed
Paid plan from
Amazon Bedrock AgentCore Code Interpreter: Not listed
Microsoft Foundry hosted agents: Pay as you go
Billing
Amazon Bedrock AgentCore Code Interpreter: Active CPU time only
Microsoft Foundry hosted agents: Per second

Limits

Max session
Amazon Bedrock AgentCore Code Interpreter: 8 hours
Microsoft Foundry hosted agents: Not listed
Idle stop
Amazon Bedrock AgentCore Code Interpreter: Not listed
Microsoft Foundry hosted agents: After 15 minutes
Largest sandbox
Amazon Bedrock AgentCore Code Interpreter: 2 vCPU · 8 GiB
Microsoft Foundry hosted agents: 2 vCPU · 4 GiB
Concurrent sandboxes
Amazon Bedrock AgentCore Code Interpreter: Up to 1,000
Microsoft Foundry hosted agents: Up to 2,000

Platform

Isolation
Amazon Bedrock AgentCore Code Interpreter: MicroVM
Microsoft Foundry hosted agents: MicroVM
GPU
Amazon Bedrock AgentCore Code Interpreter: Not listed
Microsoft Foundry hosted agents: Not listed
Snapshots
Amazon Bedrock AgentCore Code Interpreter: Not listed
Microsoft Foundry hosted agents: Not listed
Pause and resume
Amazon Bedrock AgentCore Code Interpreter: Not listed
Microsoft Foundry hosted agents:

Developer

SDKs
Amazon Bedrock AgentCore Code Interpreter: Python
Microsoft Foundry hosted agents: Python, JavaScript / TypeScript
Integrations
Amazon Bedrock AgentCore Code Interpreter: LangChain
Microsoft Foundry hosted agents: Claude Agent SDK, LangChain, MCP, OpenAI Agents SDK

Trust

License
Amazon Bedrock AgentCore Code Interpreter: Not listed
Microsoft Foundry hosted agents: Not listed
BYOC
Amazon Bedrock AgentCore Code Interpreter: Not listed
Microsoft Foundry hosted agents: Not listed

Hourly cost

One sandbox running for one hour

Amazon Bedrock AgentCore Code Interpreter
Microsoft Foundry hosted agents
1 vCPU · 2 GiB
Amazon Bedrock AgentCore Code Interpreter: $0.108
Microsoft Foundry hosted agents: $0.123
2 vCPU · 4 GiB
Amazon Bedrock AgentCore Code Interpreter: $0.217
Microsoft Foundry hosted agents: $0.246
4 vCPU · 8 GiB
Amazon Bedrock AgentCore Code Interpreter: $0.434
Microsoft Foundry hosted agents: $0.492

Compute only, at list rates.

Open the calculator

Which one fits

Based on the fields above

Amazon Bedrock AgentCore Code Interpreter fits when

  • You want the lower list price: $0.217 against $0.246 an hour for 2 vCPU and 4 GiB.
  • Your code waits a lot: CPU is billed only while it is in use.
  • You need a sandbox larger than 2 vCPU · 4 GiB.
  • You need SOC 2, HIPAA and ISO 27001.

Microsoft Foundry hosted agents fits when

  • You use the Claude Agent SDK, MCP or the OpenAI Agents SDK.
  • You need pause and resume.

More comparisons

See all comparisons

Related