{
  "name": "DN Agent API Call Cost Scenarios",
  "version": "0.1",
  "publishedAt": "2026-11-02",
  "evidenceType": "DN-authored-hypothetical-arithmetic",
  "priceReference": {
    "url": "https://docs.0x.org/docs/introduction/develop-with-ai/autonomous-agent-payments",
    "reviewedAt": "2026-11-02",
    "scope": "Documented $0.01 access charge; all volumes, retry factors, other costs and outcome counts are illustrative."
  },
  "formula": "billableCalls = tasks * plannedCallsPerTask * (1 + extraBillableCallsPercent/100); total = billableCalls * unitPriceUSD + otherIncludedCostsUSD; perAccepted = total / acceptedOutcomes, undefined if zero.",
  "limitations": [
    "No live paid request, provider bill or refund behavior was tested.",
    "HTTP challenge retries are not automatically extra billable calls.",
    "Volumes and outcomes are assumptions, not measured performance.",
    "Fees, FX, network, model, review and execution costs must be supplied separately; zero is not evidence of no cost."
  ],
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "scenarios": [
    {
      "name": "Single lookup",
      "tasks": 1000,
      "plannedCallsPerTask": 1,
      "extraBillableCallsPercent": 0,
      "unitPriceUSD": 0.01,
      "acceptedOutcomes": 1000,
      "otherIncludedCostsUSD": 0,
      "billableCalls": 1000.0,
      "apiCostUSD": 10.0,
      "totalIncludedCostUSD": 10.0,
      "costPerAcceptedOutcomeUSD": 0.01
    },
    {
      "name": "Two-call workflow with extra billable retries",
      "tasks": 10000,
      "plannedCallsPerTask": 2,
      "extraBillableCallsPercent": 10,
      "unitPriceUSD": 0.01,
      "acceptedOutcomes": 9000,
      "otherIncludedCostsUSD": 0,
      "billableCalls": 22000.0,
      "apiCostUSD": 220.0,
      "totalIncludedCostUSD": 220.0,
      "costPerAcceptedOutcomeUSD": 0.024444444444444446
    },
    {
      "name": "Same workflow including other costs",
      "tasks": 10000,
      "plannedCallsPerTask": 2,
      "extraBillableCallsPercent": 10,
      "unitPriceUSD": 0.01,
      "acceptedOutcomes": 9000,
      "otherIncludedCostsUSD": 30,
      "billableCalls": 22000.0,
      "apiCostUSD": 220.0,
      "totalIncludedCostUSD": 250.0,
      "costPerAcceptedOutcomeUSD": 0.027777777777777776
    },
    {
      "name": "No accepted outcomes",
      "tasks": 1000,
      "plannedCallsPerTask": 1,
      "extraBillableCallsPercent": 0,
      "unitPriceUSD": 0.01,
      "acceptedOutcomes": 0,
      "otherIncludedCostsUSD": 0,
      "billableCalls": 1000.0,
      "apiCostUSD": 10.0,
      "totalIncludedCostUSD": 10.0,
      "costPerAcceptedOutcomeUSD": null
    }
  ]
}
