POST /api/price-iq/predict
Get the predicted GPU price and its price percentile distribution for a given GPU configuration and geolocation.Authorization
🔒OAuth2: OAuth2PasswordBearerFlow type: password
Token URL: token
Request Body
The request body must be inapplication/json format.
| Field | Type | Required | Description | Constraints |
|---|---|---|---|---|
gpu_name | string | Yes | GPU name, e.g. A100 PCIE. Must be one of the values returned by /api/price-iq/specs-list. | length 1–20 |
type | integer | Yes | Pricing type. One of: 0 = on-Demand, 1 = Interrupt, 2 = reserved. | one of [0, 1, 2] |
geolocation | string | Yes | Geolocation, e.g. California, US. Must be one of the values returned by /api/price-iq/specs-list. | length 1–40 |
cpu_platform | string | Yes | CPU platform, e.g. AMD. One of: Intel, AMD, Other. | length 1–20 |
cpu_cores_effective | integer | No | Effective CPU core count. Defaults to 16. | 1 ≤ value ≤ 1024 |
cpu_ram_gb | number | No | CPU RAM in GB. Defaults to 36. | 1 ≤ value ≤ 1024 |
ram_gb | number | No | GPU RAM in GB. Defaults to 40. | 1 ≤ value ≤ 512 |
Request Example
Responses
- 200: Successful Response
- 422: Validation Error
GET /api/price-iq/specs-list
Get all supported GPU names, geolocations, pricing types, and CPU platforms accepted by the/api/price-iq/predict endpoint.
Authorization
🔒OAuth2: OAuth2PasswordBearerFlow type: password
Token URL: token This endpoint takes no query parameters.
Responses
- 200: Successful Response
- 422: Validation Error