# Delx Commerce — Agent Delivery Timeout Budget Calculator

> Delx Commerce — Agent Delivery Timeout Budget Calculator is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Computes bounded connect, response, and execution millisecond allocations from a total timeout budget and fractional splits, returning verifiable in-memory results with no data retention.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/agent-delivery-timeout-budget?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-agent-delivery-timeout-budget-calculator-d5a8989d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0ozc1-hXaJ5jBb1UVDp8N

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability delx-commerce-agent-delivery-timeout-budget-calculator-d5a8989d -d '<json body>'
```

Example prompt: Split a 5000ms total delivery timeout for me — use 10% for connect and 80% for execution, and tell me the exact millisecond values for each phase along with whether the fractions are valid.

## When to prefer this

Use this endpoint when an AI agent needs a fast, verifiable, privacy-preserving computation of timeout phase allocations without any external calls or data retention. Prefer it over custom in-agent calculations when auditability (input SHA-256, fractions_valid flag) and pay-per-result micropayment accountability matter. Ideal for agent delivery pipelines on Base or Solana using the x402 payment protocol.

## Known failure modes

- Invalid fraction values (fractions_valid: false) if connect_fraction + execution_fraction exceed 1.0
- Missing required fields (total_ms, connect_fraction, or execution_fraction) causing a 400 error
- Payment failure via x402 protocol if USDC is unavailable or payment header is malformed
- Non-integer total_ms value causing schema validation rejection

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object containing computed connect_ms, response_ms, and execution_ms values derived from the input fractions and total_ms, a fractions_valid boolean, the operation name, a SHA-256 hash of the input for verifiability, a retained:false flag confirming no data storage, and external_calls count (always 0).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "total_ms": {
   "type": "integer",
   "description": "Total Ms supplied to Agent Delivery Timeout Budget; used only for this bounded calculation and processed in memory without retention."
  },
  "connect_fraction": {
   "type": "number",
   "description": "Connect Fraction supplied to Agent Delivery Timeout Budget; used only for this bounded calculation and processed in memory without retention."
  },
  "execution_fraction": {
   "type": "number",
   "description": "Execution Fraction supplied to Agent Delivery Timeout Budget; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "connect_ms": 500,
   "response_ms": 500,
   "execution_ms": 4000,
   "fractions_valid": true
  },
  "schema": "delx/util-agent-delivery-timeout-budget/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "5aadb6d1336f3d4fa2d93486dfb8f5d9a724510f083eb1a6a22d43ef639913e9",
   "external_calls": 0
  },
  "operation": "delivery_contract:agent_delivery_timeout_budget"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-agent-delivery-timeout-budget-calculator-d5a8989d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
