GPUs and prices
Estimate token cost
Cost per million output tokens of serving on a catalog GPU at the given throughput, utilization, and headroom, beside a hosted price.
Authorization
Send Authorization: Bearer gr_... with a key from the Developer access page. The browser session cookie gpu_router_session also works.
Query parameters
gpustringrequiredthroughput_tokens_per_secondnumber | stringrequiredOutput tokens per second one GPU serves.
minimum: 0.01
maximum: 30000
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
utilizationnumber | stringrequiredShare of the hour the GPU is serving tokens.
minimum: 0.001
maximum: 1
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
headroomnumber | stringrequiredMultiplier on compute cost for reserved capacity.
minimum: 1
maximum: 100
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
hosted_price_per_million_tokensnumber | string | nullHosted API price per million output tokens to break even against.
minimum: 1e-06
maximum: 100
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
Responses
200application/jsonSuccessful Response
Show response attributes
gpuenum<string>requiredCatalog GPU type the estimate is for.
Available options: T4 L4 A10 L40S A100-40GB A100-80GB RTX-PRO-6000 H100 H200 B200 B300
provider_rate_usd_per_hourstring | nullrequiredListed provider rate per GPU-hour from the catalog. Null when no rate is recorded.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
provider_rate_source_urlstring | nullrequiredWhere the provider rate was read. Null without a rate.
provider_rate_checked_onstring<date> | nullrequiredWhen the provider rate was read. Null without a rate.
provider_rate_fetched_atstring<date-time> | nullrequiredWhen the provider rate was fetched. Null without a rate.
provider_rate_staleboolean | nullrequiredTrue when a manual rate was fetched more than 30 days ago. Null without a rate.
market_index_usd_per_hourstring | nullrequiredLatest market index per GPU-hour for this GPU: a transaction-derived benchmark, not a provider price. Null when the catalog has no index for this GPU or the caller is not the owner account.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
market_index_source_urlstring | nullrequiredPublic page of the market index. Null without a visible index.
market_index_checked_onstring<date> | nullrequiredUTC date the index observation was fetched. Null without a visible index.
cost_per_million_tokens_at_provider_ratestring | nullrequiredUSD per million output tokens at the provider rate: rate x headroom / (throughput x utilization x 3600) x 1,000,000. Null without a provider rate.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
cost_per_million_tokens_at_market_indexstring | nullrequiredThe same arithmetic at the market index instead of the provider rate. Null without a visible index.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
break_even_utilizationstring | nullrequiredUtilization at which the provider-rate cost per million tokens equals the hosted price: rate x headroom x 1,000,000 / (throughput x 3600 x hosted price). Above 1 means the hosted price is not reached at full utilization. Null without a hosted price or a provider rate.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
401application/jsonUNAUTHENTICATED: missing, invalid, expired, or revoked session or API key.
UNAUTHENTICATED404application/jsonGPU_NOT_FOUND: unknown catalog GPU type.
GPU_NOT_FOUND422application/jsonVALIDATION_ERROR: throughput_tokens_per_second is 0.01 to 30000, utilization is 0.001 to 1, headroom is 1 to 100, hosted_price_per_million_tokens is 0.000001 to 100 when given.
VALIDATION_ERROR500application/jsonUnexpected failure: INTERNAL_ERROR.
INTERNAL_ERROR502application/jsonAUTH_PROVIDER_REJECTED: the provider refused the request (not retryable).
AUTH_PROVIDER_REJECTED503application/jsonAUTH_NOT_CONFIGURED (not retryable) or AUTH_PROVIDER_UNAVAILABLE (retryable).
AUTH_NOT_CONFIGUREDAUTH_PROVIDER_UNAVAILABLE