# AI Compute GPU Spot Price Feed

> AI Compute GPU Spot Price Feed is a paid API for AI agents from ai-compute-production.up.railway.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-17).

Returns smoothed spot, 1-week, and 1-month GPU rental marks (bid/ask/mid) in USD per GPU-hour, aggregated from multiple public pricing sources.

## Facts

- Endpoint: GET https://ai-compute-production.up.railway.app/v1/compute/spot?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ai-compute-gpu-spot-price-feed-1a54dfbb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0MR4jaALuU7-SyA4UWGG4

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 ai-compute-gpu-spot-price-feed-1a54dfbb
```

Example prompt: What's the current on-demand spot rental price for H100-SXM GPUs right now — give me the bid, ask, and mid marks in USD per GPU-hour?

## When to prefer this

Use this endpoint when you need a real-time, multi-source aggregated view of GPU rental market rates in USD per GPU-hour, including bid/ask spreads and term structure (spot, 1-week, 1-month). Prefer this over scraping individual cloud providers when you want a normalized, smoothed market mark across sources with confidence metadata. Not suitable for actual procurement, trading, or forecasting — this is descriptive pricing data only.

## Known failure modes

- Invalid GPU type string returns empty marks array or 400 error
- Unrecognized pricing enum value may cause validation error
- Stale data if public sources are temporarily unavailable — confidence.ageSecondsOldest will be elevated
- No marks returned if the requested GPU type has no tracked pricing data
- Rate limit or payment failure returns 402 if x402 payment is not processed

## How this service works

Hourly GPU rental term structure: smoothed spot, 1w, and 1m marks in USD per GPU-hour, collected from public pricing sources. Not a forecast, a traded forward curve, or a recommendation. Trailing tenors are labeled trailing_median. Descriptive GPU rental marks aggregated from public sources. Not a forecast, a traded forward, or a recommendation.

## Output

Returns a JSON object with a timestamp (asOf), pricing tier, unit (USD/GPU-hour), and an array of marks per GPU type. Each mark includes bid, ask, mid, mark price, tenor (spot/1w/1m or trailing_median), GPU type, and volume. Also includes a confidence block listing the number of sources, source names, and the age of the newest and oldest observations, plus a disclaimer.

## 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",
     "properties": {
      "gpu": {
       "type": "string",
       "description": "Canonical GPU type, or a comma-separated list. Omit on spot and term for every tracked GPU."
      },
      "pricing": {
       "enum": [
        "on_demand",
        "spot"
       ],
       "type": "string",
       "description": "on_demand (default) or interruptible spot. The two are never mixed."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "asOf",
      "unit",
      "pricing",
      "marks",
      "confidence"
     ],
     "properties": {
      "asOf": {
       "type": "string"
      },
      "unit": {
       "type": "string"
      },
      "marks": {
       "type": "array",
       "items": {
        "type": "object"
       }
      },
      "pricing": {
       "type": "string"
      },
      "confidence": {
       "type": "object",
       "required": [
        "nSources",
        "sources"
       ],
       "properties": {
        "sources": {
         "type": "array",
         "items": {
          "type": "string"
         }
        },
        "nSources": {
         "type": "integer"
        },
        "ageSecondsNewest": {
         "type": [
          "integer",
          "null"
         ]
        },
        "ageSecondsOldest": {
         "type": [
          "integer",
          "null"
         ]
        },
        "newestObservationAt": {
         "type": [
          "string",
          "null"
         ]
        },
        "oldestObservationAt": {
         "type": [
          "string",
          "null"
         ]
        }
       }
      },
      "disclaimer": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "asOf": "2026-10-16T13:00:00+00:00",
  "unit": "USD/GPU-hour",
  "marks": [
   {
    "ask": 4.29,
    "bid": 2.1,
    "mid": 3.14,
    "mark": 3.14,
    "tenor": "spot",
    "volume": 9,
    "gpuType": "H100-SXM"
   }
  ],
  "pricing": "on_demand",
  "confidence": {
   "sources": [
    "gpurentalprices",
    "gputable",
    "priceofcompute"
   ],
   "nSources": 3,
   "ageSecondsNewest": 120,
   "ageSecondsOldest": 3600,
   "newestObservationAt": "2026-10-16T13:00:00+00:00",
   "oldestObservationAt": "2026-10-16T12:00:00+00:00"
  },
  "disclaimer": "Descriptive GPU rental marks aggregated from public sources. Not a forecast, a traded forward, or a recommendation."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ai-compute-gpu-spot-price-feed-1a54dfbb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ai-compute-production.up.railway.app](https://www.zero.xyz/host/ai-compute-production.up.railway.app/llms.txt)
