Skip to main content
POST
Request a price quote

Authorizations

Authorization
string
header
required

Your AI Reserve API key (aireserve_api_…) from the API Keys page in the portal (https://portal.aireserve.com/keys).

Body

application/json

Hardware parameters to price. Pod quotes need gpuTypeId, gpuCount, containerDiskGb; volume quotes need sizeGb.

dataCenterId
string
required
kind
enum<string>

Defaults to volume when sizeGb is present, otherwise pod.

Available options:
pod,
volume
computeType
enum<string>
Available options:
GPU,
CPU
cpuTypeId
string
vcpuCount
integer
Required range: 2 <= x <= 256
cloud
enum<string>
Available options:
SECURE,
COMMUNITY
gpuTypeId
string
gpuCount
integer
Required range: 1 <= x <= 16
containerDiskGb
integer
Required range: 1 <= x <= 1024
sizeGb
integer
Required range: 10 <= x <= 4096

Response

OK

id
string
required

Signed quote token. Same as quoteId.

quoteId
string
required

Pass as quoteId in the create or grow request. Expires after 120 seconds.

kind
enum<string>
required
Available options:
pod,
volume
spec
object
required

The normalized hardware spec the quote binds.

hourlyRateUsd
string
required

USD amount as a six-decimal string. Never a float.

Pattern: ^\d+(?:\.\d{1,6})?$
computeUsdPerHour
string
required

USD amount as a six-decimal string. Never a float.

Pattern: ^\d+(?:\.\d{1,6})?$
storageUsdPerHour
string
required

USD amount as a six-decimal string. Never a float.

Pattern: ^\d+(?:\.\d{1,6})?$
expiresAt
string<date-time>
required
Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
hardwareUsdPerHour
string

USD amount as a six-decimal string. Never a float.

Pattern: ^\d+(?:\.\d{1,6})?$
containerDiskUsdPerHour
string

USD amount as a six-decimal string. Never a float.

Pattern: ^\d+(?:\.\d{1,6})?$