# Delx Commerce — Error Budget Plan Calculator

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

Calculates the allowed failure count and error budget percentage for a given SLO target and request window

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/error-budget-plan?utm_source=zero.xyz
- Price: $0.003/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-error-budget-plan-calculator-4a19d391
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-obGIgerm48e55fZEpQvj

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-error-budget-plan-calculator-4a19d391 -d '<json body>'
```

Example prompt: What's my error budget if I have a 99.9% SLO target and I'm expecting 100000 requests in the window — how many failures am I allowed?

## When to prefer this

Use this endpoint when you need a quick, pay-per-result computation of SLO error budgets without setting up any infrastructure or subscribing to a service. Ideal for agents performing reliability calculations on demand, or for SRE workflows that need to programmatically derive allowed failure counts from SLO targets and request volumes.

## Known failure modes

- Missing or invalid slo_percent causes computation failure or unexpected results
- slo_percent outside 0–100 range may yield nonsensical budget values
- Missing window_requests results in incomplete or errored response
- Payment failure via x402 protocol blocks request processing

## 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 with the schema version, the input SLO percent, the computed budget percent (1 - SLO), the window request count, and the derived number of allowed failures (floor of budget_percent * window_requests).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "slo_percent": {
   "type": "number",
   "description": "Service level objective as a percent (e.g. 99.9)."
  },
  "window_requests": {
   "type": "number",
   "description": "Request count in the error-budget window."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "schema": "delx/util-error-budget-plan/v1",
  "slo_percent": 99.9,
  "budget_percent": 0.1,
  "window_requests": 100000,
  "allowed_failures": 100
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-error-budget-plan-calculator-4a19d391/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)
