{
  "retrieved_at": "2026-11-01",
  "region": "eastus2",
  "currency": "USD",
  "basis": "Linux PAYG, 730 hours/month, public retail list prices; not invoice, reservation, savings-plan or tax-inclusive prices.",
  "rates": {
    "e2bVmHour": 0.384,
    "deviceVmHour": 0.096,
    "sessionHour": 0.03,
    "sandboxCpuSecond": 0.000024,
    "sandboxMemorySecond": 0.000003,
    "modelInputMillion": 0.4,
    "modelOutputMillion": 1.6,
    "hostedCpuHour": 0.0994,
    "hostedMemoryHour": 0.0118
  },
  "meters": [
    {"name": "E2B VM: D8s v5 Linux", "meter": "D8s v5", "unit": "1 Hour", "price": 0.384, "effective_from": "2021-12-01", "filter": "armRegionName eq 'eastus2' and serviceName eq 'Virtual Machines' and armSkuName eq 'Standard_D8s_v5' and priceType eq 'Consumption'; exclude Windows, Spot, Low Priority"},
    {"name": "Shared Device VM: D2s v5 Linux", "meter": "D2s v5", "unit": "1 Hour", "price": 0.096, "effective_from": "2021-12-01", "filter": "armRegionName eq 'eastus2' and serviceName eq 'Virtual Machines' and armSkuName eq 'Standard_D2s_v5' and priceType eq 'Consumption'; exclude Windows, Spot, Low Priority"},
    {"name": "Dynamic Sessions built-in interpreter", "meter": "Dynamic Sessions", "meter_id": "3b4e7a88-ebff-5d91-a38d-079c18d909d6", "unit": "1 Hour", "price": 0.03, "effective_from": "2026-04-01"},
    {"name": "ACA Sandboxes consumption CPU", "meter": "Standard vCPU Active Usage", "meter_id": "18ba5751-fda4-558b-b9dc-9416e72b9a62", "unit": "1 Second", "price": 0.000024, "effective_from": "2022-06-01"},
    {"name": "ACA Sandboxes consumption memory", "meter": "Standard Memory Active Usage", "meter_id": "ef6a0bec-4635-5e9c-8b2e-8b346b998acb", "unit": "1 GiB Second", "price": 0.000003, "effective_from": "2022-06-01"},
    {"name": "GPT-4.1-mini GlobalStandard input", "meter": "gpt 4.1 mini Inp glbl Tokens", "meter_id": "57521dfc-bef8-5487-b986-74c323006a82", "unit": "1K", "price": 0.0004, "effective_from": "2025-04-01"},
    {"name": "GPT-4.1-mini GlobalStandard output", "meter": "gpt 4.1 mini Outp glbl Tokens", "meter_id": "9e3ce534-5dc7-5335-974b-9d0c96250659", "unit": "1K", "price": 0.0016, "effective_from": "2025-04-01"},
    {"name": "Foundry Hosted vCPU-hour", "meter": "Hosted vCPU Usage", "meter_id": "bc9e699b-af61-53a1-97e8-66bac4f5b115", "unit": "1 Hour", "price": 0.0994, "effective_from": "2026-02-01"},
    {"name": "Foundry Hosted GiB-hour", "meter": "Hosted Memory Usage", "meter_id": "9553cdec-3a26-54dc-bebd-ca28a87ad5e9", "unit": "1 Hour", "price": 0.0118, "effective_from": "2026-02-01"}
  ],
  "retail_api": "https://prices.azure.com/api/retail/prices?api-version=2023-01-01-preview",
  "aca_filter": "armRegionName eq 'eastus2' and serviceName eq 'Azure Container Apps' and priceType eq 'Consumption'",
  "model_filter": "armRegionName eq 'eastus2' and contains(meterName,'4.1') and priceType eq 'Consumption'; select exact non-batch, non-fine-tuned GlobalStandard meters",
  "hosted_filter": "armRegionName eq 'eastus2' and productName eq 'Foundry Agents' and skuName eq 'Hosted' and priceType eq 'Consumption'; serviceName is Foundry Tools, not Windows 365 Agents",
  "hosted_quantity": "Published unit is 1 Hour for both meters; official service pricing defines the quantities as vCPU-hours and GiB-hours. No minimum hourly rounding is assumed without invoice evidence.",
  "sandbox_control_plane": {
    "resource_type": "Microsoft.App/sandboxGroups",
    "advertised_api_versions": ["2026-07-01", "2026-02-01-preview"],
    "eastus2_advertised": true,
    "deployed": true,
    "sdk": "azure-containerapps-sandbox==0.1.0b4",
    "data_api_version": "2026-02-01-preview",
    "persistence_mode_verified": "Disk",
    "memory_restore_verified": false,
    "verification": "Terraform foundation applied and real native SDK create/exec/SHA256/Disk stop-resume/snapshot-restore succeeded with deletion confirmed. This does not prove memory/process restore or scale capacity."
  },
  "sources": [
    {"title": "Dynamic Sessions: capabilities and regions", "url": "https://learn.microsoft.com/en-us/azure/container-apps/sessions"},
    {"title": "ACA Sandboxes: lifecycle, resource tiers, control/data planes", "url": "https://learn.microsoft.com/en-us/azure/container-apps/sandboxes-overview"},
    {"title": "Dynamic Sessions hourly allocation billing", "url": "https://learn.microsoft.com/en-us/azure/container-apps/billing#dynamic-sessions"},
    {"title": "ACA pricing: Sandboxes follow Consumption per-second pricing", "url": "https://azure.microsoft.com/en-us/pricing/details/container-apps/"},
    {"title": "Sandbox Python SDK and group-scoped role", "url": "https://sandboxes.azure.com/docs/sandboxes/quickstart/setup-python-sdk"},
    {"title": "Foundry Hosted Agent CPU-hour / GiB-hour billing", "url": "https://azure.microsoft.com/en-us/pricing/details/foundry-agent-service/"},
    {"title": "Foundry hosted session state and idle timeout", "url": "https://learn.microsoft.com/en-us/azure/foundry/agents/how-to/manage-hosted-sessions"},
    {"title": "Model pricing", "url": "https://azure.microsoft.com/en-us/pricing/details/ai-foundry-models/aoai/"},
    {"title": "Azure retail price API and reconciliation", "url": "https://learn.microsoft.com/en-us/rest/api/cost-management/retail-prices/azure-retail-prices"}
  ]
}
