GPUs and prices

List measurement aggregates

The caller's succeeded runs grouped by matching key, most recently finished first.

GET/v1/aggregates/measurementsAPI key

Authorization

Send Authorization: Bearer gr_... with a key from the Developer access page. The browser session cookie gpu_router_session also works.

Responses

200application/json

Successful Response

Show response attributes
workload_classstringrequired

Workload class of the runs.

providerenum<string>required

Provider the runs ran on.

Available options: modal lambda

gpuenum<string>required

GPU the runs ran on.

Available options: T4 L4 A10 L40S A100-40GB A100-80GB RTX-PRO-6000 H100 H200 B200 B300

gpu_countinteger | nullrequired

GPU count of the runs.

task_typeenum<string> | nullrequired

Task type of the runs.

Available options: training inference

model_idstring | nullrequired

Model of the runs.

precisionenum<string> | nullrequired

Precision of the runs.

Available options: fp32 bf16 fp16 fp8 fp4 int8 int4

framework_versionstring | nullrequired

Framework version of the runs.

input_bucketstring | nullrequired

Input-size bucket of the runs; null when the shape has no bucket.

runsintegerrequired

Succeeded runs with this matching key.

verified_runsintegerrequired

Of those, runs whose verification passed.

median_secondsstringrequired

Median duration in seconds.

pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$

p10_secondsstringrequired

10th percentile duration in seconds, linearly interpolated.

pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$

p90_secondsstringrequired

90th percentile duration in seconds, linearly interpolated.

pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$

median_cost_usdstring | nullrequired

Median cost in USD of the runs that have a cost. Null if none.

pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$

last_run_idstringrequired

Most recently finished run.

last_run_atstring<date-time>required

When the most recently finished run finished.

401application/json

UNAUTHENTICATED: missing, invalid, expired, or revoked session or API key.

UNAUTHENTICATED
500application/json

Unexpected failure: INTERNAL_ERROR.

INTERNAL_ERROR
502application/json

AUTH_PROVIDER_REJECTED: the provider refused the request (not retryable).

AUTH_PROVIDER_REJECTED
503application/json

AUTH_NOT_CONFIGURED (not retryable) or AUTH_PROVIDER_UNAVAILABLE (retryable).

AUTH_NOT_CONFIGUREDAUTH_PROVIDER_UNAVAILABLE