Quick start
No key and no sign-up. CORS is open, so you can call it straight from a browser. Each IP can make 120 requests per minute. Responses are cached for 30 to 60 seconds, and prices change every 5 minutes.
curl -s https://tensorate.xyz/v1/index | jq '.gpus[] | {gpu, index, available}'
Full schema: OpenAPI 3.1.
Endpoints
| Route | Returns |
|---|---|
GET /v1/index | Latest price for every GPU, with its range, providers, offers, free GPUs, per-provider prices and 24h change. Returns 503 until the first collection has run. |
GET /v1/history/{gpu}?range=24h|7d|30d|90d | [timestamp_ms, price] points. 24h is every run, 7d is hourly, 30d every 4 hours, 90d every 12 hours. |
GET /v1/candles/{gpu}?interval=5m|1h|4h|1d | [t, open, high, low, close, samples] |
GET /v1/fit?model=&quant=&ctx=&batch= | Memory a model needs and the cheapest GPU setups that hold it. Pass gb= instead of a model to size raw memory. |
GET /v1/models | Model ids for /v1/fit. |
GET /v1/gpus | GPU catalog: id, label, memory, tier. |
GET /v1/oracle | The on-chain oracle on Robinhood Chain: contract address, whether pushes are live, decimals and push rules. |
GET /v1/token/stats | $TRATE price, market cap, liquidity, 24h volume and change. Returns 503 until the token launches. |
GET /v1/token/ohlcv?tf=5m|15m|1h|4h|1d | [t, open, high, low, close, volumeUsd] built from on-chain swaps, priced in USD. |
GET /health | {"ok": true} |
Errors are JSON, like {"error": "range must be one of 24h, 7d, 30d, 90d"}, with status 400 for bad input, 404 for an unknown GPU or route, 405 for a method other than GET, and 429 when you go over the limit.
How the index works
- Every offer becomes a price for one GPU for one hour, on-demand, in USD. Spot (interruptible) offers and MIG slices are left out.
- Provider names are mapped to one id. "H100 80GB HBM3" and "h100 SXM5" both become
H100_SXM. - For each GPU at each provider, offers below a quarter or above four times that provider's median are dropped as broken listings.
- Each provider's median is one vote. The index is the median of those votes, so a marketplace with thousands of listings cannot outvote one with a single price.
- Every price ships with the per-provider medians behind it, so anyone can recompute it.
If a source fails during a run, that run goes ahead without it, and providers in /v1/index says which sources answered.
Data sources
| Source | What we read |
|---|---|
| Akash Network | Public Console API: median bid price and free GPUs per model. |
| Lium | Public nodes feed, made for aggregators. Spot nodes are skipped. |
| Nosana | Public market list: host reward plus network fee. It does not report free GPUs. |
We only use sources whose terms allow use in a price index. A marketplace whose terms forbid automated access is added only with written permission.
On-chain oracle
The index is also published to the TensorateOracle contract on Robinhood Chain (chain id 4663), so contracts can read a fair GPU-hour price without trusting this website. GET /v1/oracle gives the address once it is deployed.
- GPU ids are left-aligned ASCII
bytes32, for examplebytes32("H100_SXM"). - Prices have 6 decimals:
2560000is $2.56 per GPU-hour. - A push happens when a price moves 1% or more, a new GPU appears, or an hour has passed.
- Always check
updatedAtagainst your own staleness limit.
(uint64 price, uint32 updatedAt) = ITensorateOracle(oracle).getPrice(bytes32("H100_SXM"));
AI agents
Agents can read llms.txt or use the MCP server in mcp/, which needs no key. It has five tools: gpu_prices, gpu_price, price_history, fit_model and list_models.
{ "mcpServers": { "tensorate": { "command": "node", "args": ["path/to/mcp/index.js"] } } }
Embed widget
Show a live price on any page:
<span data-tensorate="H100_SXM"></span> <script src="https://tensorate.xyz/widget.js" async></script>
Live here: H100 SXM costs … per hour.