# BRAINIAC Cloud Compute Cost Comparator

> BRAINIAC Cloud Compute Cost Comparator is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.03/call, status unknown (last checked 2026-11-17).

Compares the total cost of 2–8 user-supplied cloud compute options (name, hourly price, hours) and returns which is cheapest, the cost difference, and a human-readable finding.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/cloud-finops/compute-cost-compare?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-cloud-compute-cost-comparator-460989a8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-mazYeZNYOLrzYHLt5gqi

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 brainiac-cloud-compute-cost-comparator-460989a8 -d '<json body>'
```

Example prompt: Compare these two compute options for 720 hours: option A at $0.10/hour USD and option B at $0.08/hour USD — tell me which is cheaper and by how much.

## When to prefer this

Use this endpoint when you have 2–8 explicit, user-supplied compute pricing figures and want a fast, structured comparison with a clear winner and cost difference — without needing a cloud account or live provider rate lookups. Prefer this over building your own arithmetic when you need a formatted finding and audit-ready limitations statement included in the response.

## Known failure modes

- Fewer than 2 or more than 8 options supplied — schema validation error
- Missing required fields (name, hourlyPrice, hours, currency) on any option — validation error
- Currency code not matching 3-letter pattern — validation error
- Hourly price or hours outside allowed numeric range — validation error
- Payment not completed via x402/USDC — 402 Payment Required response

## How this service works

Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.

## Output

A JSON object with the name of the lower-cost option, the total calculated cost for each submitted option, the numeric cost difference, a plain-English finding explaining the result, a timestamp, and a list of limitations (e.g. no cloud account connected, no live provider prices used).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "options": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "name",
     "hourlyPrice",
     "hours",
     "currency"
    ],
    "properties": {
     "name": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "hours": {
      "type": "number",
      "maximum": 1000000,
      "minimum": 0
     },
     "currency": {
      "type": "string",
      "pattern": "^[A-Za-z]{3}$"
     },
     "hourlyPrice": {
      "type": "number",
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "maxItems": 8,
   "minItems": 2
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "status": "compared",
  "options": [
   {
    "cost": 72,
    "name": "a",
    "hours": 720,
    "currency": "USD",
    "hourlyPrice": 0.1
   },
   {
    "cost": 57.6,
    "name": "b",
    "hours": 720,
    "currency": "USD",
    "hourlyPrice": 0.08
   }
  ],
  "findings": [
   {
    "code": "compute_compared",
    "kind": "extracted",
    "detail": "b costs 14.4 less than the next supplied option for the supplied hours. The prices were supplied and are not a provider list."
   }
  ],
  "checkedAt": "2026-11-02T19:00:00.000Z",
  "lowerCost": "b",
  "difference": 14.4,
  "limitations": [
   "No cloud account was connected and no infrastructure was changed.",
   "Costs and forecasts use only figures supplied in the request.",
   "Provider list prices are not added, and no saving is claimed without a supplied cost.",
   "The billing format is brainiac-billing-v1. Native provider exports are not accepted."
  ],
  "accountConnected": false,
  "infrastructureChanged": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-cloud-compute-cost-comparator-460989a8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.brainiac.software](https://www.zero.xyz/host/www.brainiac.software/llms.txt)
