The Price of Compute API
Every price on this site, including full history, as JSON. Free up to 1,000 requests/day — no key below the limit, attribution required.
Quick start
curl https://priceofcompute.com/api/v1/prices/h100-sxm{
"sku": "H100-SXM",
"day": "2026-08-09",
"prices": {
"on_demand": { "usd_per_gpu_hr": 3.29, "providers": 1 },
"community": { "usd_per_gpu_hr": 2.69, "providers": 1 }
},
"providers": [
{ "provider": "runpod", "pricing_type": "on_demand", "usd_per_gpu_hr": 3.29 }
],
"updated_at": "2026-08-09T22:23:08Z",
"attribution": "Data: Price of Compute — priceofcompute.com"
}Endpoints
GET /api/v1/prices/:sku— latest daily medians per pricing type + current per-provider prices.GET /api/v1/history/:sku— full daily median history per pricing type. Append?format=csvfor a CSV download.GET /api/v1/index— the Price of Compute Index: latest value and full series.GET /api/v1/providers— tracked providers with coverage counts and last-seen times.
Valid :sku slugs: a100-pcie-40gb, a100-pcie-80gb, a100-sxm-40gb, a100-sxm-80gb, b200, b300, h100-nvl, h100-pcie, h100-sxm, h200-nvl, h200-sxm, l40, l40s, mi300x, rtx-3090, rtx-4090, rtx-5090, rtx-6000-ada, rtx-a6000, rtx-pro-6000
Limits
1,000 requests/day free (7,000/week). Need more? Contact us. We’d rather rate-limit than paywall history — the free tier includes everything, throttled.
Attribution
Free use requires a visible link: “Data: Price of Compute”. That link is how a free API stays free.
Badges
Live price badges for READMEs, blogs, and dashboards — SVG, cached an hour, no tracking:
<img src="https://priceofcompute.com/api/badge/h100-sxm.svg" alt="H100 rental price" /> <img src="https://priceofcompute.com/api/badge/index.svg" alt="Price of Compute Index" />
Any tracked SKU slug works. More machine surfaces: openapi.json, llms.txt, events RSS, and /api/v1/events.
Terms
Data provided as-is; listed prices, not guaranteed availability. Don’t hammer the endpoints; cache responses 1h+.
Most GPU price APIs are paid, or free-but-current-prices-only. This one includes the history, because the history is the point.