# dimfact Cheapest Cloud Compute Finder

> dimfact Cheapest Cloud Compute Finder 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 the cheapest on-demand cloud instance across AWS, Azure, and GCP that meets a given vCPU and memory specification, with per-provider breakdown.

## Facts

- Endpoint: POST https://dimfact.xyz/api/v1/compute/cheapest?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-cheapest-cloud-compute-finder-e2265f3e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Zqt-2a0bh8K66gzZxMLxE

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-cheapest-cloud-compute-finder-e2265f3e -d '<json body>'
```

Example prompt: What's the cheapest on-demand cloud VM I can get with at least 4 vCPUs and 16GB of RAM running Linux — show me the winner and the best option from each provider?

## When to prefer this

Use this endpoint when an agent or user needs to find the lowest-cost on-demand cloud VM across AWS, Azure, and GCP without managing API keys or signing up for any service. It is ideal for cost-optimization workflows, pre-deployment infrastructure decisions, multi-cloud price comparisons, and budget-constrained compute selection. Prefer this over manually querying each cloud provider's pricing APIs when you want a unified, pay-per-call answer with no setup friction.

## Known failure modes

- No instances match the requested vCPU/memory spec — 'cheapest' returns null and 'by_provider' is empty
- Invalid region slug or provider name causes no results or validation error
- Spec too aggressive (very high vCPU or memory) with no matches in the dataset
- Payment not completed via x402 or MPP results in 402 Payment Required response
- Malformed request body missing required 'vcpu' or 'memory_gb' fields returns a 400 error

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

Returns a 'target' object echoing the matched spec, a 'cheapest' object with the single overall cheapest instance (provider, instance type, region slug, provider-native region code, vCPU count, memory GB, OS, and on-demand price per hour in USD), and a 'by_provider' array with the cheapest matching instance from each of up to three providers sorted ascending by price. Returns null for 'cheapest' if no instance meets the spec.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "vcpu",
  "memory_gb"
 ],
 "properties": {
  "os": {
   "enum": [
    "linux",
    "windows"
   ],
   "type": "string",
   "description": "Operating system"
  },
  "vcpu": {
   "type": "number",
   "description": "Minimum vCPUs; matches meet or exceed it"
  },
  "region": {
   "type": "string",
   "description": "Region slug (n-virginia) or provider region (us-east-1)"
  },
  "provider": {
   "enum": [
    "aws",
    "azure",
    "gcp"
   ],
   "type": "string",
   "description": "Restrict to one cloud"
  },
  "memory_gb": {
   "type": "number",
   "description": "Minimum memory in GB; matches meet or exceed it"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "target",
  "cheapest",
  "by_provider"
 ],
 "properties": {
  "target": {
   "type": "object",
   "properties": {
    "os": {
     "type": "string"
    },
    "vcpu": {
     "type": "number"
    },
    "memory_gb": {
     "type": "number"
    }
   },
   "description": "The spec that was matched, after defaults are applied"
  },
  "cheapest": {
   "anyOf": [
    {
     "type": "object",
     "properties": {
      "os": {
       "type": "string"
      },
      "vcpu": {
       "type": "integer"
      },
      "region": {
       "type": "string",
       "description": "Region slug, e.g. mumbai"
      },
      "provider": {
       "type": "string",
       "description": "aws, azure or gcp"
      },
      "memory_gb": {
       "type": "number"
      },
      "price_hr_usd": {
       "type": "number",
       "description": "On-demand price per hour, USD"
      },
      "instance_type": {
       "type": "string"
      },
      "provider_region": {
       "type": "string",
       "description": "Provider-native code, e.g. centralindia"
      }
     }
    },
    {
     "type": "null"
    }
   ],
   "description": "Overall winner, or null when nothing meets the spec"
  },
  "by_provider": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "os": {
      "type": "string"
     },
     "vcpu": {
      "type": "integer"
     },
     "region": {
      "type": "string",
      "description": "Region slug, e.g. mumbai"
     },
     "provider": {
      "type": "string",
      "description": "aws, azure or gcp"
     },
     "memory_gb": {
      "type": "number"
     },
     "price_hr_usd": {
      "type": "number",
      "description": "On-demand price per hour, USD"
     },
     "instance_type": {
      "type": "string"
     },
     "provider_region": {
      "type": "string",
      "description": "Provider-native code, e.g. centralindia"
     }
    }
   },
   "maxItems": 3,
   "description": "Cheapest match per provider, ascending by price"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dimfact-cheapest-cloud-compute-finder-e2265f3e/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)
