# AI Compute GPU Rental Price History

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

Returns historical hourly GPU rental price marks (spot, 1-week, 1-month tenors) in USD per GPU-hour, aggregated from multiple public pricing sources.

## Facts

- Endpoint: GET https://ai-compute-production.up.railway.app/v1/compute/history?utm_source=zero.xyz
- Price: $0.02/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-rental-price-history-cdf3c95b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5t-j0QGhTfZPuiADA6cGq

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-rental-price-history-cdf3c95b
```

Example prompt: Can you pull the spot price history for H100-SXM GPU rentals over the past 7 days — I want to see the bid, ask, and mark prices in USD per GPU-hour?

## When to prefer this

Choose this endpoint when you need historical or current descriptive price marks for GPU rental costs aggregated from multiple public sources, particularly when you want bid/ask/mid/mark granularity across different tenors (spot, 1-week, 1-month). Prefer this over general cloud pricing APIs when you specifically need GPU-hour rental market data with source confidence metadata. Not suitable if you need a price forecast, a traded forward curve, or real-time streaming quotes.

## Known failure modes

- Missing required 'gpu' parameter returns a validation error
- Invalid or unrecognized GPU type may return empty results or an error
- Date range with no available data returns an empty points array
- Invalid ISO-8601 date format causes a parsing error
- Requesting a future date range returns no data points
- Service unavailability returns a 5xx error

## 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 time-series of hourly GPU rental price points for the requested GPU type and tenor, each with bid, ask, mid, and mark prices in USD/GPU-hour, plus a confidence object listing the number of public sources, their names, and the age of the newest and oldest observations. Also includes the query window (from/to), the GPU type, and a disclaimer noting these are descriptive marks, not forecasts or traded forwards.

## 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": [
      "gpu"
     ],
     "properties": {
      "to": {
       "type": "string",
       "description": "ISO-8601 end, exclusive."
      },
      "gpu": {
       "type": "string",
       "description": "One canonical GPU type. Required."
      },
      "from": {
       "type": "string",
       "description": "ISO-8601 start, inclusive."
      },
      "tenor": {
       "enum": [
        "spot",
        "1w",
        "1m"
       ],
       "type": "string",
       "description": "Default spot."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "asOf",
      "unit",
      "gpuType",
      "tenor",
      "points",
      "confidence"
     ],
     "properties": {
      "to": {
       "type": "string"
      },
      "asOf": {
       "type": "string"
      },
      "from": {
       "type": "string"
      },
      "unit": {
       "type": "string"
      },
      "tenor": {
       "type": "string"
      },
      "points": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "ask": {
          "type": [
           "number",
           "null"
          ]
         },
         "bid": {
          "type": [
           "number",
           "null"
          ]
         },
         "mid": {
          "type": [
           "number",
           "null"
          ]
         },
         "mark": {
          "type": [
           "number",
           "null"
          ]
         }
        }
       }
      },
      "gpuType": {
       "type": "string"
      },
      "confidence": {
       "type": "object",
       "required": [
        "nSources",
        "sources"
       ],
       "properties": {
        "sources": {
         "type": "array",
         "items": {
          "type": "string"
         }
        },
        "nSources": {
         "type": "integer"
        },
        "ageSecondsNewest": {
      
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "to": "2026-10-16T13:00:00+00:00",
  "asOf": "2026-10-16T13:00:00+00:00",
  "from": "2026-10-09T13:00:00+00:00",
  "unit": "USD/GPU-hour",
  "tenor": "spot",
  "points": [
   {
    "t": "2026-10-16T12:00:00+00:00",
    "ask": 4.2,
    "bid": 2.05,
    "mid": 3.1,
    "mark": 3.1
   }
  ],
  "gpuType": "H100-SXM",
  "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-rental-price-history-cdf3c95b/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)
