curl --request GET \
--url https://data-api.compute-index.com/v1/prices/current \
--header 'Authorization: Bearer <token>'import requests
url = "https://data-api.compute-index.com/v1/prices/current"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://data-api.compute-index.com/v1/prices/current', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://data-api.compute-index.com/v1/prices/current",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://data-api.compute-index.com/v1/prices/current"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://data-api.compute-index.com/v1/prices/current")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://data-api.compute-index.com/v1/prices/current")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"availability": "available",
"available_at": "2026-02-01T00:00:00+00:00",
"base_product_key": "e761854fc8427a37e7306df0f85738d7acf47a6439a7903f66187cb9d7c219c2",
"contract_details": null,
"contract_term": null,
"contract_type": "ondemand",
"created_by": "ingest_incremental.py",
"extracted_at": "2026-02-11T16:35:04.315378+00:00",
"form_factor": "SXM5",
"gpu_canonical_name": "nvidia-h100-sxm5-80gb",
"gpu_count": 8,
"gpu_manufacturer": "NVIDIA",
"gpu_memory_gb": 80,
"gpu_model": "H100",
"id": "6d250f10-18b9-47f0-aa40-8bc4d3ea004c",
"instance_type": "p5.48xlarge",
"instance_variant": "shared_capacityblock",
"interconnect": "NVLink",
"job_execution_id": null,
"last_seen_at": "2026-07-20T05:06:14.832340+00:00",
"metadata": {
"comment": "aws_p5.48xlarge_us-east-2_ondemand"
},
"os": "SUSE",
"price_hash": "a0905c33001548b0f2f804eaf9256ecb135e6cfb2d1b185bb68f8fc64785f8a5",
"price_usd_per_gpu_hour": 0.015625,
"product_key": "8feb9a8e2586b611b80b7e15cc40c16d336f7994fd6f9dddd62979841e371b7c",
"ram_gb": 2048,
"raw_price": 0.125,
"raw_price_unit": "USD/hour",
"region": "us-east-2",
"source": "api",
"source_file": "aws_ondemand_pricing_20260211_163110_45821.json",
"updated_by": "ingest_incremental.py",
"valid_to": null,
"vcpu": 192,
"vendor": "aws",
"vendor_gpu_name": "H100",
"vendor_region": "US East (Ohio)",
"vendor_sku": "WF85GX4SU4SUA4J5"
},
{
"availability": "available",
"available_at": "2026-02-01T00:00:00+00:00",
"base_product_key": "53a1d394df5334a76fb3f231a4ac2b1f4dd8d4133afd0c0061ca9894de4aaff1",
"contract_details": null,
"contract_term": null,
"contract_type": "ondemand",
"created_by": "ingest_incremental.py",
"extracted_at": "2026-02-11T16:34:51.056301+00:00",
"form_factor": "SXM5",
"gpu_canonical_name": "nvidia-h100-sxm5-80gb",
"gpu_count": 8,
"gpu_manufacturer": "NVIDIA",
"gpu_memory_gb": 80,
"gpu_model": "H100",
"id": "99366153-43df-4dd8-9aef-bb88ed6f4b4f",
"instance_type": "p5.48xlarge",
"instance_variant": "shared_capacityblock",
"interconnect": "NVLink",
"job_execution_id": null,
"last_seen_at": "2026-07-20T05:06:01.702394+00:00",
"metadata": {
"comment": "aws_p5.48xlarge_ap-northeast-2_ondemand"
},
"os": "SUSE",
"price_hash": "a0905c33001548b0f2f804eaf9256ecb135e6cfb2d1b185bb68f8fc64785f8a5",
"price_usd_per_gpu_hour": 0.015625,
"product_key": "f20d48b6bc951f49998ec7e1f51d63531073d9afb4222108665a878488869172",
"ram_gb": 2048,
"raw_price": 0.125,
"raw_price_unit": "USD/hour",
"region": "ap-northeast-2",
"source": "api",
"source_file": "aws_ondemand_pricing_20260211_163110_45821.json",
"updated_by": "ingest_incremental.py",
"valid_to": null,
"vcpu": 192,
"vendor": "aws",
"vendor_gpu_name": "H100",
"vendor_region": "Asia Pacific (Seoul)",
"vendor_sku": "7VHQERY7PETQGPSY"
}
],
"filters": {
"availability": null,
"contract_type": "ondemand",
"gpu_canonical_name": null,
"gpu_model": "H100",
"max_gpu_count": null,
"max_memory_gb": null,
"max_price": null,
"min_gpu_count": null,
"min_memory_gb": null,
"min_price": null,
"region": null,
"sort_by": "price_usd_per_gpu_hour",
"sort_order": "asc",
"vendor": null
},
"pagination": {
"has_next": true,
"has_previous": false,
"page": 1,
"page_size": 2,
"total_count": 1924,
"total_pages": 962
}
}Prices: Current
Search current GPU prices with flexible filtering, pagination, and sorting. Reflects the state at the moment of the call; consumers building reproducible daily snapshots should use /as-of with a date instead.
curl --request GET \
--url https://data-api.compute-index.com/v1/prices/current \
--header 'Authorization: Bearer <token>'import requests
url = "https://data-api.compute-index.com/v1/prices/current"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://data-api.compute-index.com/v1/prices/current', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://data-api.compute-index.com/v1/prices/current",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://data-api.compute-index.com/v1/prices/current"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://data-api.compute-index.com/v1/prices/current")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://data-api.compute-index.com/v1/prices/current")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"availability": "available",
"available_at": "2026-02-01T00:00:00+00:00",
"base_product_key": "e761854fc8427a37e7306df0f85738d7acf47a6439a7903f66187cb9d7c219c2",
"contract_details": null,
"contract_term": null,
"contract_type": "ondemand",
"created_by": "ingest_incremental.py",
"extracted_at": "2026-02-11T16:35:04.315378+00:00",
"form_factor": "SXM5",
"gpu_canonical_name": "nvidia-h100-sxm5-80gb",
"gpu_count": 8,
"gpu_manufacturer": "NVIDIA",
"gpu_memory_gb": 80,
"gpu_model": "H100",
"id": "6d250f10-18b9-47f0-aa40-8bc4d3ea004c",
"instance_type": "p5.48xlarge",
"instance_variant": "shared_capacityblock",
"interconnect": "NVLink",
"job_execution_id": null,
"last_seen_at": "2026-07-20T05:06:14.832340+00:00",
"metadata": {
"comment": "aws_p5.48xlarge_us-east-2_ondemand"
},
"os": "SUSE",
"price_hash": "a0905c33001548b0f2f804eaf9256ecb135e6cfb2d1b185bb68f8fc64785f8a5",
"price_usd_per_gpu_hour": 0.015625,
"product_key": "8feb9a8e2586b611b80b7e15cc40c16d336f7994fd6f9dddd62979841e371b7c",
"ram_gb": 2048,
"raw_price": 0.125,
"raw_price_unit": "USD/hour",
"region": "us-east-2",
"source": "api",
"source_file": "aws_ondemand_pricing_20260211_163110_45821.json",
"updated_by": "ingest_incremental.py",
"valid_to": null,
"vcpu": 192,
"vendor": "aws",
"vendor_gpu_name": "H100",
"vendor_region": "US East (Ohio)",
"vendor_sku": "WF85GX4SU4SUA4J5"
},
{
"availability": "available",
"available_at": "2026-02-01T00:00:00+00:00",
"base_product_key": "53a1d394df5334a76fb3f231a4ac2b1f4dd8d4133afd0c0061ca9894de4aaff1",
"contract_details": null,
"contract_term": null,
"contract_type": "ondemand",
"created_by": "ingest_incremental.py",
"extracted_at": "2026-02-11T16:34:51.056301+00:00",
"form_factor": "SXM5",
"gpu_canonical_name": "nvidia-h100-sxm5-80gb",
"gpu_count": 8,
"gpu_manufacturer": "NVIDIA",
"gpu_memory_gb": 80,
"gpu_model": "H100",
"id": "99366153-43df-4dd8-9aef-bb88ed6f4b4f",
"instance_type": "p5.48xlarge",
"instance_variant": "shared_capacityblock",
"interconnect": "NVLink",
"job_execution_id": null,
"last_seen_at": "2026-07-20T05:06:01.702394+00:00",
"metadata": {
"comment": "aws_p5.48xlarge_ap-northeast-2_ondemand"
},
"os": "SUSE",
"price_hash": "a0905c33001548b0f2f804eaf9256ecb135e6cfb2d1b185bb68f8fc64785f8a5",
"price_usd_per_gpu_hour": 0.015625,
"product_key": "f20d48b6bc951f49998ec7e1f51d63531073d9afb4222108665a878488869172",
"ram_gb": 2048,
"raw_price": 0.125,
"raw_price_unit": "USD/hour",
"region": "ap-northeast-2",
"source": "api",
"source_file": "aws_ondemand_pricing_20260211_163110_45821.json",
"updated_by": "ingest_incremental.py",
"valid_to": null,
"vcpu": 192,
"vendor": "aws",
"vendor_gpu_name": "H100",
"vendor_region": "Asia Pacific (Seoul)",
"vendor_sku": "7VHQERY7PETQGPSY"
}
],
"filters": {
"availability": null,
"contract_type": "ondemand",
"gpu_canonical_name": null,
"gpu_model": "H100",
"max_gpu_count": null,
"max_memory_gb": null,
"max_price": null,
"min_gpu_count": null,
"min_memory_gb": null,
"min_price": null,
"region": null,
"sort_by": "price_usd_per_gpu_hour",
"sort_order": "asc",
"vendor": null
},
"pagination": {
"has_next": true,
"has_previous": false,
"page": 1,
"page_size": 2,
"total_count": 1924,
"total_pages": 962
}
}vendor, gpu_model, region, contract_type, price / GPU-count / memory bounds, and sort with sort_by / sort_order.
page / page_size (max 1000).Example
# Cheapest live H100 quotes
curl -H "Authorization: Bearer $TOKEN" \
"https://data-api.compute-index.com/v1/prices/current?gpu_model=H100&sort_by=price_usd_per_gpu_hour&sort_order=asc"
# AWS or GCP on-demand under $2/GPU-hr
curl -H "Authorization: Bearer $TOKEN" \
"https://data-api.compute-index.com/v1/prices/current?vendor=aws,gcp&contract_type=ondemand&max_price=2.0"
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Page number (starts at 1)
x >= 1Items per page (max 1000)
1 <= x <= 1000Filter by vendor (exact match). Supports comma-separated list (max 20). Example: aws,gcp,azure
Filter by GPU model (partial match). Supports comma-separated list (max 5). Example: H100,A100,L40S
Filter by canonical GPU name (exact match). Supports comma-separated list (max 20). Example: nvidia-h100-sxm-80gb
Filter by region (exact match). Supports comma-separated list (max 20). Example: us-east-1,eu-west-1
Filter by contract type. Supports comma-separated list (max 20). Example: ondemand,spot,reserved
Filter by availability status
Minimum price per GPU hour (USD)
x >= 0Maximum price per GPU hour (USD)
x >= 0Minimum number of GPUs
x >= 0Maximum number of GPUs
x >= 0Minimum GPU memory in GB
x >= 0Maximum GPU memory in GB
x >= 0Sort field
Sort order (asc or desc)