# agentutility — paid x402 endpoints for autonomous agents

> agentutility — paid x402 endpoints for autonomous agents is a paid API for AI agents from x402.agentutility.ai, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

## Facts

- Endpoint: POST https://x402.agentutility.ai/llm-cost-estimate
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/llm-cost-estimate-49dd374b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XXoJwXjSQz7Etih2j3lH5

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 llm-cost-estimate-49dd374b -d '<json body>'
```

## How this service works

Paid x402 endpoints organized into product clusters. USDC-settled on Base. MCP-callable. ERC-8004 identity registry agentId 47167.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [],
     "properties": {
      "text": {
       "type": "string",
       "description": "Raw prompt text; used to estimate input_tokens (~chars/4) when input_tokens is not given directly. Max 500,000 chars."
      },
      "models": {
       "type": "array",
       "items": {
        "type": "string"
       },
       "description": "Model names to estimate cost for, e.g. ['gpt-4o-mini', 'claude-sonnet-4.5']. Defaults to a small built-in comparison set. Max 30."
      },
      "input_tokens": {
       "type": "number",
       "description": "Number of input/prompt tokens. Optional if 'text' is given."
      },
      "output_tokens": {
       "type": "number",
       "description": "Number of output/completion tokens. Optional, defaults to 0."
      },
      "price_overrides": {
       "type": "object",
       "description": "Optional per-model price overrides keyed by model name: { input_per_1m?: number, output_per_1m?: number }. Use for current pricing or models missing from the built-in table."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "note": {
       "type": "string"
      },
      "estimates": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "known": {
          "type": "boolean"
         },
         "model": {
          "type": "string"
         },
         "input_per_1m": {
          "type": "number"
         },
         "price_source": {
          "type": "string"
         },
         "output_per_1m": {
          "type": "number"
         },
         "input_cost_usd": {
          "type": "number"
         },
         "total_cost_usd": {
          "type": "number"
         },
         "output_cost_usd": {
          "type": "number"
         }
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "note": "Prices are a list-price snapshot as of price_table_as_of; pass price_overrides for current or negotiated pricing.",
  "estimates": [
   {
    "known": true,
    "model": "gpt-4o-mini",
    "input_per_1m": 0.15,
    "price_source": "table",
    "output_per_1m": 0.6,
    "input_cost_usd": 0.15,
    "total_cost_usd": 0.3,
    "output_cost_usd": 0.15
   },
   {
    "known": true,
    "model": "claude-sonnet-4.5",
    "input_per_1m": 3,
    "price_source": "table",
    "output_per_1m": 15,
    "input_cost_usd": 3,
    "total_cost_usd": 6.75,
    "output_cost_usd": 3.75
   }
  ],
  "input_tokens": 1000000,
  "token_source": "input_tokens",
  "output_tokens": 250000,
  "cheapest_known": "gpt-4o-mini",
  "price_table_as_of": "2026-06-01"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/llm-cost-estimate-49dd374b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentutility.ai](https://www.zero.xyz/host/x402.agentutility.ai/llms.txt)
