# dimfact Cloud Compute Pricing Estimator

> dimfact Cloud Compute Pricing Estimator is a paid API for AI agents from dimfact.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Returns per-instance and total monthly cost estimates for AWS, Azure, and GCP compute instances given instance types, counts, region, OS, and hours

## Facts

- Endpoint: POST https://dimfact.xyz/api/v1/compute/estimate?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dimfact-cloud-compute-pricing-estimator-fc4de827
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3Z1DS-hm4QW7lQxiF95cn

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 dimfact-cloud-compute-pricing-estimator-fc4de827 -d '<json body>'
```

Example prompt: What would it cost to run 2 m5.xlarge and 1 t3.micro instances on AWS in us-east-1 for 720 hours on Linux? Give me the hourly rate and estimated monthly total.

## When to prefer this

Choose this endpoint when you need pay-per-call cloud compute pricing with no API key or account required, especially for ad-hoc agent workflows, FinOps tooling, or cost estimation pipelines across AWS, Azure, and GCP. It supports mixed instance-type queries in a single call, making it efficient for fleet pricing. Prefer it over cloud-provider-native pricing APIs when you want a neutral, multi-cloud view without managing credentials.

## Known failure modes

- Unknown instance type returns a row with an `error` field instead of pricing — that row contributes $0 to the total
- Invalid count (e.g. zero or non-integer) triggers an error on that row
- Unsupported region slug may cause no pricing data to be returned for that row
- Malformed instances string (wrong format) may cause a 400 or empty result
- Payment failure or missing x402/MPP payment results in a 402 response and no data

## How this service works

Pay-per-call data for AI agents. No API key, no signup. Starting with cloud compute pricing across AWS, Azure, GCP. Pay via x402 or MPP.

## Output

A JSON object containing the number of hours priced, an array of line items (each with instance type, count, provider, region, hourly price in USD, and monthly cost in USD — or an error string for unrecognized types), and a total_monthly_usd sum across all valid rows.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "instances"
 ],
 "properties": {
  "os": {
   "enum": [
    "linux",
    "windows"
   ],
   "type": "string",
   "description": "Operating system"
  },
  "hours": {
   "type": "number",
   "description": "Hours to price"
  },
  "region": {
   "type": "string",
   "description": "Region slug or provider region"
  },
  "instances": {
   "type": "string",
   "description": "Comma-separated type:count pairs, e.g. m5.xlarge:2,t3.micro:1"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "hours",
  "items",
  "total_monthly_usd"
 ],
 "properties": {
  "hours": {
   "type": "number",
   "description": "Hours each line item was priced over"
  },
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "count": {
      "type": "number"
     },
     "error": {
      "type": "string"
     },
     "hours": {
      "type": "number"
     },
     "region": {
      "type": "string"
     },
     "provider": {
      "type": "string"
     },
     "monthly_usd": {
      "type": "number"
     },
     "price_hr_usd": {
      "type": "number"
     },
     "instance_type": {
      "type": "string"
     },
     "provider_region": {
      "type": "string"
     }
    }
   },
   "description": "One row per requested instance type. A row carries `error` instead of pricing when the type is unknown or the count is invalid."
  },
  "total_monthly_usd": {
   "type": "number",
   "description": "Sum across priced rows; rows with `error` contribute nothing"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dimfact-cloud-compute-pricing-estimator-fc4de827/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from dimfact.xyz](https://www.zero.xyz/host/dimfact.xyz/llms.txt)
