# BRAINIAC Cloud FinOps Monthly Cost Forecast

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

Forecasts next-month cloud costs using OLS regression on historical billing data supplied as rows, CSV, or file upload

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/cloud-finops/monthly-cost-forecast?utm_source=zero.xyz
- Price: $0.05/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-finops-monthly-cost-forecast-a14e69e5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IMDjBSduFiK5A9RDmMvl5

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-finops-monthly-cost-forecast-a14e69e5 -d '<json body>'
```

Example prompt: Based on these three months of AWS billing data — $100 in August, $115 in September, $130 in October, all in USD — forecast what my cloud costs will be in November using ordinary least squares regression.

## When to prefer this

Choose this endpoint when you need a quick, stateless next-month cost forecast from historical billing rows or a CSV without connecting a live cloud account. It is ideal for agents that already have billing data on hand and want a numeric projection with confidence band via OLS regression, at a low per-call cost with no account setup required. Prefer alternatives if you need real-time cloud account integration, multi-month forward projections, anomaly detection, or native provider export formats.

## Known failure modes

- Insufficient historical data points (fewer than 2-3 months) may produce unreliable or trivial forecasts
- CSV or rows not matching the brainiac-billing-v1 format will be rejected — native provider exports (AWS CUR, GCP billing export) are not accepted
- Input exceeding maxItems (5000 rows) or maxLength for CSV will be rejected
- Missing required fields (date, service, cost, currency) on any row will cause validation failure
- Payment failure via x402 will prevent the response from being delivered
- Ambiguous or non-ISO currency codes will fail schema validation

## 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

Returns a JSON object with a forecasts array containing the predicted cost for the next period (point estimate plus low/high band based on one residual standard deviation), the forecast method used (e.g. monthly_line via OLS), currency, status, and a findings array with detail on the method and data quality. Also includes limitations clarifying that no live cloud account was connected and only supplied figures were used.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "maxLength": 200000,
   "minLength": 1
  },
  "file": {
   "type": "object",
   "required": [
    "mediaType",
    "fileBase64"
   ],
   "properties": {
    "filename": {
     "type": "string",
     "maxLength": 180,
     "minLength": 1
    },
    "mediaType": {
     "enum": [
      "text/csv",
      "text/plain"
     ],
     "type": "string"
    },
    "fileBase64": {
     "type": "string",
     "maxLength": 12000000,
     "minLength": 1
    }
   },
   "additionalProperties": false
  },
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "date",
     "service",
     "cost",
     "currency"
    ],
    "properties": {
     "cost": {
      "type": "number",
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "date": {
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
     },
     "tags": {
      "type": "array",
      "items": {
       "type": "object",
       "required": [
        "key",
        "value"
       ],
       "properties": {
        "key": {
         "type": "string",
         "maxLength": 80,
         "minLength": 1
        },
        "value": {
         "type": "string",
         "maxLength": 200,
         "minLength": 1
        }
       },
       "additionalProperties": false
      },
      "maxItems": 20
     },
     "region": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "account": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "service": {
      "type": "string",
      "maxLength": 120,
      "minLength": 1
     },
     "currency": {
      "type": "string",
      "pattern": "^[A-Za-z]{3}$"
     },
     "usageUnit": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1
     },
     "resourceId": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1
     },
     "resourceType": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "usageQuantity": {
      "type": "number",
      "maximum": 1000000000000,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "maxItems": 5000
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "status": "forecast",
  "findings": [
   {
    "code": "forecast_method",
    "kind": "extracted",
    "detail": "Ordinary least squares on 3 supplied monthly totals. The next month is point 4. The band is one residual standard devia…"
   }
  ],
  "checkedAt": "2026-11-02T19:00:00.000Z",
  "forecasts": [
   {
    "low": 130,
    "high": 130,
    "detail": "Ordinary least squares on 3 supplied monthly totals. The next month is point 4. The band is one residual standard devia…",
    "method": "monthly_line",
    "status": "forecast",
    "currency": "USD",
    "forecast": 130
   }
  ],
  "limitations": [
   "No cloud account was connected and no infrastructure was changed.",
   "Costs and forecasts use only figures supplied in the request.",
   "…"
  ],
  "accountConnected": false,
  "infrastructureChanged": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-cloud-finops-monthly-cost-forecast-a14e69e5/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)
