Free · No API Key CORS Enabled CC BY 4.0 License

Free Public GPU & LLM Pricing JSON API

Pull daily-updated cloud GPU hourly rates (7 GPU tiers across 7 providers), 61 live commercial LLM API token rates, and 14 open-weight architecture specs directly into scripts, notebooks, or AI agents.

⚡ Endpoint

GET https://aigpucost.com/api/prices.json — Updated daily via GitHub Actions (2026-11-27T04:33:21Z). Free for personal, research, and commercial use under CC BY 4.0 with attribution to https://aigpucost.com.

cURL Example

curl -s https://aigpucost.com/api/prices.json | jq '.cloud_gpus[] | {name, lowest: .offers[0].hourly_usd, provider: .offers[0].provider}'

Python Example

import urllib.request, json

data = json.loads(urllib.request.urlopen("https://aigpucost.com/api/prices.json").read())
for gpu in data["cloud_gpus"]:
    best = gpu["offers"][0]
    print(f"{gpu['name']:18s} | ${best['hourly_usd']:.2f}/hr ({best['provider']})")

Attribution

If you publish benchmarks, blog tables, or agent tools built on this dataset, please link back to AIGPUCost.