# CloudPrice GPU Pricing API

> CloudPrice GPU Pricing API is a paid API for AI agents from cloudprice.genexxis.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-29).

Returns the cheapest cloud GPU-hour for a specified GPU model across AWS and Azure, with on-demand/spot options, per-provider summaries, and 30-day price history.

## Facts

- Endpoint: GET https://cloudprice.genexxis.com/gpu?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cloudprice-gpu-pricing-api-8dda49ad
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8IZJ4bKnJowGnru5b4u8O

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 cloudprice-gpu-pricing-api-8dda49ad
```

Example prompt: What's the cheapest spot price right now for an H100 GPU across AWS and Azure regions — show me the top 5 options?

## When to prefer this

Use this endpoint when you need to find the lowest-cost GPU compute across AWS and Azure for a specific GPU model, especially for cost-sensitive AI/ML workloads. It is ideal for comparing spot vs on-demand pricing, identifying the cheapest region, or tracking 30-day GPU price trends. Prefer this over general cloud pricing APIs when you specifically need GPU instance pricing with historical data and cross-provider comparison in a single call.

## Known failure modes

- Missing required 'model' query parameter returns a 400 error
- Invalid GPU model name (not in supported list) may return empty results or an error
- Unsupported 'type' value (not on-demand/spot/any) may return an error
- Payment failure (x402) if USDC payment is not properly included
- Rate limiting or service unavailability returns 5xx error

## How this service works

Cheapest cloud GPU-hour for a GPU model (H100, H200, B200, A100, MI300X, L40S, L4, A10G, A10, V100, T4) across AWS and Azure regions, on-demand or spot, plus per-provider summary and 30-day price history.

## Output

A ranked list of the cheapest GPU-hours for the requested GPU model, including cloud provider, region, instance type, on-demand and/or spot hourly price, a per-provider summary, and 30-day historical price data — up to the specified limit (default 15, max 50).

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "model"
     ],
     "properties": {
      "type": {
       "type": "string",
       "description": "on-demand | spot | any (default any)"
      },
      "limit": {
       "type": "string",
       "description": "1-50, default 15"
      },
      "model": {
       "type": "string",
       "description": "GPU model, e.g. H100, A100, L40S"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "gpu": [
   "H100"
  ],
  "summary": {
   "aws on-demand": {
    "offers": 12,
    "regions": 12,
    "minUsdPerGpuHour": 6.88
   }
  },
  "cheapest": [
   {
    "gpu": "H100",
    "region": "us-east-1",
    "gpuCount": 8,
    "instance": "p5.48xlarge",
    "provider": "aws",
    "priceType": "on-demand",
    "usdPerHour": 55.04,
    "usdPerGpuHour": 6.88
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cloudprice-gpu-pricing-api-8dda49ad/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cloudprice.genexxis.com](https://www.zero.xyz/host/cloudprice.genexxis.com/llms.txt)
