Routes
Create route
Route a job spec: compatible candidates, the selected GPU, the explanation, the estimate, the evidence, and prices. Stores the route and never launches; POST /v1/routes/{id}/runs does.
Authorization
Send Authorization: Bearer gr_... with a key from the Developer access page. The browser session cookie gpu_router_session also works.
Body
job_specobjectrequiredShow child attributes
task_typeenum<string> | nullNeeded for runtime matching; unset never matches.
Available options: training inference
model_idstring | nullModel the job trains or serves, such as Qwen/Qwen3-0.6B.
minLength: 1
precisionenum<string> | nullNumerical precision of the compute.
Available options: fp32 bf16 fp16 fp8 fp4 int8 int4
framework_versionstring | nullFramework and version string, matched exactly.
minLength: 1
islinteger | nullInference input tokens per request.
minimum: 1
oslinteger | nullInference output tokens per request.
minimum: 1
seq_leninteger | nullTraining sequence length in tokens.
minimum: 1
concurrencyinteger | nullInference requests in flight.
minimum: 1
global_batchinteger | nullTraining examples per optimizer step across all GPUs.
minimum: 1
lora_rankinteger | nullLoRA rank when the job fine-tunes an adapter.
minimum: 1
work_unitsinteger | nullUnits of work the job processes, such as requests or examples.
minimum: 1
maximum: 1000000000000
imagestringrequiredImmutable container image reference.
minLength: 1
pattern: ^(?:[A-Za-z0-9]+(?:[._-][A-Za-z0-9]+)*(?::[0-9]{1,5})?/)?[a-z0-9]+(?:[._-]+[a-z0-9]+)*(?:/[a-z0-9]+(?:[._-]+[a-z0-9]+)*)*(?::[A-Za-z0-9_][A-Za-z0-9._-]{0,127})?(?:@sha256:[a-f0-9]{64})?$
commandstring[]requiredminItems: 1
envobjectdefault: {}Keys match ^[A-Za-z_][A-Za-z0-9_]*$; values are masked in every response and never logged.
inputsobject[]default: []Show child attributes
urlstring<uri>requiredminLength: 1
maxLength: 2083
mount_pathstringrequiredoutput_dirstringrequiredmin_vram_gbintegerrequiredminimum: 1
gpu_countintegerdefault: 1cpu_coresnumberrequiredmaximum: 32
exclusiveMinimum: 0
memory_gbnumberrequiredmaximum: 256
exclusiveMinimum: 0
timeout_secondsintegerrequiredAt most 21600 (6 hours).
minimum: 1
maximum: 21600
workload_classstringrequiredminLength: 1
verifierobject | nullShow child attributes
expected_output_filesstring[]requiredminItems: 1
metrics_filestringrequiredmetric_must_decreasestringrequiredminLength: 1
allow_interruptiblebooleandefault: falseLets an inference job use spot and preemptible capacity; training jobs always may.
gpuenum<string> | nullAvailable options: T4 L4 A10 L40S A100-40GB A100-80GB RTX-PRO-6000 H100 H200 B200 B300
max_cost_usdnumber | string | nullBudget per job in USD. Candidates whose estimated cost, or ceiling cost without an estimate, exceeds it are never selected by the policy; a gpu named in the request is still selected.
exclusiveMinimum: 0
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
Responses
201application/jsonSuccessful Response
Show response attributes
idstringrequiredRoute id.
user_idstringrequiredOwner.
job_specobjectrequiredSnapshot of the requested workload; env values are masked.
Show child attributes
task_typeenum<string> | nullNeeded for runtime matching; unset never matches.
Available options: training inference
model_idstring | nullModel the job trains or serves, such as Qwen/Qwen3-0.6B.
minLength: 1
precisionenum<string> | nullNumerical precision of the compute.
Available options: fp32 bf16 fp16 fp8 fp4 int8 int4
framework_versionstring | nullFramework and version string, matched exactly.
minLength: 1
islinteger | nullInference input tokens per request.
minimum: 1
oslinteger | nullInference output tokens per request.
minimum: 1
seq_leninteger | nullTraining sequence length in tokens.
minimum: 1
concurrencyinteger | nullInference requests in flight.
minimum: 1
global_batchinteger | nullTraining examples per optimizer step across all GPUs.
minimum: 1
lora_rankinteger | nullLoRA rank when the job fine-tunes an adapter.
minimum: 1
work_unitsinteger | nullUnits of work the job processes, such as requests or examples.
minimum: 1
maximum: 1000000000000
imagestringrequiredImmutable container image reference.
minLength: 1
pattern: ^(?:[A-Za-z0-9]+(?:[._-][A-Za-z0-9]+)*(?::[0-9]{1,5})?/)?[a-z0-9]+(?:[._-]+[a-z0-9]+)*(?:/[a-z0-9]+(?:[._-]+[a-z0-9]+)*)*(?::[A-Za-z0-9_][A-Za-z0-9._-]{0,127})?(?:@sha256:[a-f0-9]{64})?$
commandstring[]requiredminItems: 1
envobjectdefault: {}Keys match ^[A-Za-z_][A-Za-z0-9_]*$; values are masked in every response and never logged.
inputsobject[]default: []Show child attributes
urlstring<uri>requiredminLength: 1
maxLength: 2083
mount_pathstringrequiredoutput_dirstringrequiredmin_vram_gbintegerrequiredminimum: 1
gpu_countintegerdefault: 1cpu_coresnumberrequiredmaximum: 32
exclusiveMinimum: 0
memory_gbnumberrequiredmaximum: 256
exclusiveMinimum: 0
timeout_secondsintegerrequiredAt most 21600 (6 hours).
minimum: 1
maximum: 21600
workload_classstringrequiredminLength: 1
verifierobject | nullShow child attributes
expected_output_filesstring[]requiredminItems: 1
metrics_filestringrequiredmetric_must_decreasestringrequiredminLength: 1
allow_interruptiblebooleandefault: falseLets an inference job use spot and preemptible capacity; training jobs always may.
requested_gpuenum<string> | nullrequiredGPU named in the request, which overrides the policy.
Available options: T4 L4 A10 L40S A100-40GB A100-80GB RTX-PRO-6000 H100 H200 B200 B300
max_cost_usdstring | nullBudget per job in USD from the request; null without one.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
fingerprintstring | nullsha256 of the job, env values only as a hash, taken before they are masked; null on routes saved before it was kept.
candidatesobject[]requiredCompatible Modal GPUs in catalog order, which need no connection to route, then your quotes and auction prices that fit the spec, which are compared but never selected.
Show child attributes
providerstringrequiredmodal for a catalog GPU the route can launch; quote or nationalcompute for one of your private quotes or your auction market, compared but never selected or launched.
gpuenum<string>requiredCatalog GPU type.
Available options: T4 L4 A10 L40S A100-40GB A100-80GB RTX-PRO-6000 H100 H200 B200 B300
vram_gbintegerrequiredVRAM of one GPU, compared against the spec's min_vram_gb.
variantstringrequiredExact hardware variant the provider runs for this GPU type.
rateobject | nullrequiredCurrent listed provider rate record, or null when none is recorded.
Show child attributes
gpuenum<string>requiredAvailable options: T4 L4 A10 L40S A100-40GB A100-80GB RTX-PRO-6000 H100 H200 B200 B300
versionintegerrequiredusd_per_gpu_secondstringrequiredpattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
usd_per_gpu_hourstringrequiredpattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
source_urlstringrequiredchecked_onstring<date>requiredexecution_modeenum<string>requiredAvailable options: sandbox
unitsstringrequiredtierenum<string>requiredAvailable options: on_demand preemptible spot reserved serverless committed auction
gpu_modelenum<string>requiredAvailable options: T4 L4 A10 L40S A100 RTX PRO 6000 H100 H200 B200 B300 A10G A40 L40 P4 P100 V100 GH200 GB200 GB300 MI300X MI355X Quadro RTX 6000 RTX 3090 RTX 4090 RTX 5090 RTX A5000 RTX A6000 RTX 6000 Ada RTX PRO 4500
form_factorenum<string> | nullrequiredAvailable options: SXM PCIe OAM
memory_gbintegerrequiredgpu_countintegerrequiredbilling_increment_secondsintegerrequiredbroad_region_multiplierstringrequiredpattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
narrow_region_multiplierstringrequiredpattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
source_revisionstringrequiredfetched_atstring<date-time>requiredstalebooleanrequiredmarket_benchmarkobject | nullrequiredLatest market index observation for this GPU: a transaction-derived index, not a provider price. Null unless the caller is the owner account.
Show child attributes
sourcestringrequiredgpustringrequiredmodal_gpuenum<string> | nullrequiredAvailable options: T4 L4 A10 L40S A100-40GB A100-80GB RTX-PRO-6000 H100 H200 B200 B300
regionstringrequiredvaluestringrequiredpattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
currencystringrequiredunitstringrequiredsettlement_timestring<date-time>requiredfetch_timestring<date-time>requiredsource_urlstringrequiredOrnn's public index page.
methodology_urlstringrequiredOrnn's index methodology page.
checked_onstring<date>requiredUTC date this observation was fetched from Ornn.
ceiling_cost_usdstring | nullrequiredCeiling GPU cost: rate times the spec timeout, the most one run can bill for GPU time. Null without a rate.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
estimated_runtime_secondsstring | nullrequiredMedian duration of the user's own comparable runs on this provider and GPU: succeeded, verifier passed, the same workload_class, task_type, model_id, precision, gpu_count and framework_version, and the same input size bucket (isl/osl 1k/1k, 8k/1k or 1k/8k for inference, the exact seq_len for training). Zero-duration runs are excluded. Without such runs, an inference job's work_units x (isl + osl) / (tput_per_gpu x gpu_count) from the public benchmark named by benchmark_key. Null without either.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
estimated_cost_usdstring | nullrequiredEstimated GPU cost: rate times estimated_runtime_seconds, which comes from the user's comparable runs or, without them, the matched public benchmark; CPU, memory and startup charges are not included. Null without a rate or without a runtime estimate.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
measurement_countintegerrequiredNumber of comparable verified runs behind the estimate.
measurement_run_idsstring[]requiredRun ids of the measured runs behind the estimate.
benchmark_keystring | nullNatural key of the public benchmark row behind the estimate when no comparable run of the user's matched: the same GPU, GPU count, task type, model, precision, framework image and input size bucket, single turn, at a concurrency at or below the job's. Null otherwise.
above_marketboolean | nullTrue when the rate is more than 15 percent above the latest market index for the same GPU model, false otherwise; null without a rate or an index for that model.
over_budgetbooleandefault: falseTrue when the route has a budget and the estimated cost, or the ceiling cost without an estimate, exceeds it.
offerobject | nullYour quote or auction price behind a candidate that cannot launch yet; null for a Modal candidate.
Show child attributes
originenum<string>requiredstored: read from rate_records with its source revision. live: fetched without a key from the provider's public price endpoint, at most five minutes old, and never saved. quote: one of your own unexpired private quotes. auction: the latest clearing price of your own National Compute market, read with your org token and shown only to you.
Available options: stored live quote auction
providerstringrequiredProvider key listing the price: modal, lambda, runpod, vast, a sweep provider slug, or quote.
provider_namestringrequiredDisplay name of the provider.
skustringrequiredProvider SKU or instance type.
gpu_modelenum<string>requiredGPU model of the SKU.
Available options: T4 L4 A10 L40S A100 RTX PRO 6000 H100 H200 B200 B300 A10G A40 L40 P4 P100 V100 GH200 GB200 GB300 MI300X MI355X Quadro RTX 6000 RTX 3090 RTX 4090 RTX 5090 RTX A5000 RTX A6000 RTX 6000 Ada RTX PRO 4500
form_factorenum<string> | nullrequiredGPU form factor; null when the provider does not establish it.
Available options: SXM PCIe OAM
memory_gbintegerrequiredMemory per GPU in GB, at least the spec's min_vram_gb.
gpu_countintegerrequiredGPUs in one instance, equal to the spec's gpu_count.
tierenum<string>requiredCapacity tier.
Available options: on_demand preemptible spot reserved serverless committed auction
regionstring | nullrequiredRegion a stored price applies to; null when the source does not say and for a live price.
commitmentstring | nullrequiredCommitment a stored price requires, as the provider states it; null when the source does not say.
usd_per_instance_hourstringrequiredListed USD per instance-hour.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
usd_per_gpu_hourstringrequiredusd_per_instance_hour divided by gpu_count.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
estimated_runtime_secondsstring | nullrequiredRuntime estimate for this GPU identity: the median of your comparable verified runs for a Modal price, otherwise the matched public benchmark. Null without either.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
estimated_cost_usdstring | nullrequiredusd_per_instance_hour times estimated_runtime_seconds; null without a runtime.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
ceiling_cost_usdstring | nullrequiredusd_per_instance_hour times the spec's timeout, the most one run can bill; null when no job spec is compared.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
launched_runsintegerrequiredYour stored runs launched on this provider and catalog GPU.
succeeded_runsintegerrequiredOf launched_runs, those that succeeded.
tier_rankintegerrequired1 plus the number of rates of the same tier in this list ahead of this one: rates with an estimated_cost_usd come first by that cost, the rest by usd_per_gpu_hour. Rates of different tiers are never ranked against each other.
billing_increment_secondsinteger | nullrequiredBilling granularity; null when unverified.
availableboolean | nullrequiredWhether the provider reports capacity now; null for stored rates, which carry none.
sourcestringrequiredSource id of a stored rate, or live.
source_revisionstring | nullrequiredSource revision of a stored rate; null for a live price.
source_urlstring | nullrequiredWhere a stored rate was read; null for a live price.
fetched_atstring<date-time>requiredWhen the revision was read for a stored rate, or when the live price was fetched.
stalebooleanrequiredTrue when a stored rate is past its shelf life; always false for a live price or a quote.
quote_idstring | nullId of your quote behind a quote rate; null otherwise.
valid_untilstring<date-time> | nullWhen your quote expires for a quote rate; null otherwise.
band_min_usd_per_gpu_hourstring | nullLowest assessed auction price per GPU-hour over the last 30 minutes; null otherwise.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
band_max_usd_per_gpu_hourstring | nullHighest assessed auction price per GPU-hour over the last 30 minutes; null otherwise.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
labelstring | nullWhat an auction rate is, in words; null otherwise.
pricing_urlstringrequiredHuman pricing page of the provider, for click-through, or the Connections page for a quote.
launch_supportedbooleanrequiredTrue when this candidate can be launched from the route; only Modal launches are supported.
launch_notestring | nullrequiredlaunch not supported yet for a provider that cannot be launched yet; null otherwise.
reference_runbooleandefault: falseTrue when the runtime is the median of gpu-router's own verified runs of this sample, named by measurement_run_ids.
source_urlstring | nullrequiredWhere the rate was read; null without a rate.
checked_onstring<date> | nullrequiredWhen the rate was read; null without a rate.
evidence_sourceenum<string>requiredWhere the runtime estimate comes from: user_runs for the user's comparable runs, public_benchmark for the row named by benchmark_key, reference_run for gpu-router's verified runs of the sample, none without evidence.
Available options: user_runs reference_run public_benchmark none
evidence_labelstringrequiredDisplay label of evidence_source.
initial_observationbooleanrequiredTrue when exactly one run backs the estimate: an initial observation, not a settled runtime.
selectedobject | nullrequiredThe candidate the policy or the request chose; null when none qualifies.
Show child attributes
providerstringrequiredmodal for a catalog GPU the route can launch; quote or nationalcompute for one of your private quotes or your auction market, compared but never selected or launched.
gpuenum<string>requiredCatalog GPU type.
Available options: T4 L4 A10 L40S A100-40GB A100-80GB RTX-PRO-6000 H100 H200 B200 B300
vram_gbintegerrequiredVRAM of one GPU, compared against the spec's min_vram_gb.
variantstringrequiredExact hardware variant the provider runs for this GPU type.
rateobject | nullrequiredCurrent listed provider rate record, or null when none is recorded.
Show child attributes
gpuenum<string>requiredAvailable options: T4 L4 A10 L40S A100-40GB A100-80GB RTX-PRO-6000 H100 H200 B200 B300
versionintegerrequiredusd_per_gpu_secondstringrequiredpattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
usd_per_gpu_hourstringrequiredpattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
source_urlstringrequiredchecked_onstring<date>requiredexecution_modeenum<string>requiredAvailable options: sandbox
unitsstringrequiredtierenum<string>requiredAvailable options: on_demand preemptible spot reserved serverless committed auction
gpu_modelenum<string>requiredAvailable options: T4 L4 A10 L40S A100 RTX PRO 6000 H100 H200 B200 B300 A10G A40 L40 P4 P100 V100 GH200 GB200 GB300 MI300X MI355X Quadro RTX 6000 RTX 3090 RTX 4090 RTX 5090 RTX A5000 RTX A6000 RTX 6000 Ada RTX PRO 4500
form_factorenum<string> | nullrequiredAvailable options: SXM PCIe OAM
memory_gbintegerrequiredgpu_countintegerrequiredbilling_increment_secondsintegerrequiredbroad_region_multiplierstringrequiredpattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
narrow_region_multiplierstringrequiredpattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
source_revisionstringrequiredfetched_atstring<date-time>requiredstalebooleanrequiredmarket_benchmarkobject | nullrequiredLatest market index observation for this GPU: a transaction-derived index, not a provider price. Null unless the caller is the owner account.
Show child attributes
sourcestringrequiredgpustringrequiredmodal_gpuenum<string> | nullrequiredAvailable options: T4 L4 A10 L40S A100-40GB A100-80GB RTX-PRO-6000 H100 H200 B200 B300
regionstringrequiredvaluestringrequiredpattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
currencystringrequiredunitstringrequiredsettlement_timestring<date-time>requiredfetch_timestring<date-time>requiredsource_urlstringrequiredOrnn's public index page.
methodology_urlstringrequiredOrnn's index methodology page.
checked_onstring<date>requiredUTC date this observation was fetched from Ornn.
ceiling_cost_usdstring | nullrequiredCeiling GPU cost: rate times the spec timeout, the most one run can bill for GPU time. Null without a rate.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
estimated_runtime_secondsstring | nullrequiredMedian duration of the user's own comparable runs on this provider and GPU: succeeded, verifier passed, the same workload_class, task_type, model_id, precision, gpu_count and framework_version, and the same input size bucket (isl/osl 1k/1k, 8k/1k or 1k/8k for inference, the exact seq_len for training). Zero-duration runs are excluded. Without such runs, an inference job's work_units x (isl + osl) / (tput_per_gpu x gpu_count) from the public benchmark named by benchmark_key. Null without either.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
estimated_cost_usdstring | nullrequiredEstimated GPU cost: rate times estimated_runtime_seconds, which comes from the user's comparable runs or, without them, the matched public benchmark; CPU, memory and startup charges are not included. Null without a rate or without a runtime estimate.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
measurement_countintegerrequiredNumber of comparable verified runs behind the estimate.
measurement_run_idsstring[]requiredRun ids of the measured runs behind the estimate.
benchmark_keystring | nullNatural key of the public benchmark row behind the estimate when no comparable run of the user's matched: the same GPU, GPU count, task type, model, precision, framework image and input size bucket, single turn, at a concurrency at or below the job's. Null otherwise.
above_marketboolean | nullTrue when the rate is more than 15 percent above the latest market index for the same GPU model, false otherwise; null without a rate or an index for that model.
over_budgetbooleandefault: falseTrue when the route has a budget and the estimated cost, or the ceiling cost without an estimate, exceeds it.
offerobject | nullYour quote or auction price behind a candidate that cannot launch yet; null for a Modal candidate.
Show child attributes
originenum<string>requiredstored: read from rate_records with its source revision. live: fetched without a key from the provider's public price endpoint, at most five minutes old, and never saved. quote: one of your own unexpired private quotes. auction: the latest clearing price of your own National Compute market, read with your org token and shown only to you.
Available options: stored live quote auction
providerstringrequiredProvider key listing the price: modal, lambda, runpod, vast, a sweep provider slug, or quote.
provider_namestringrequiredDisplay name of the provider.
skustringrequiredProvider SKU or instance type.
gpu_modelenum<string>requiredGPU model of the SKU.
Available options: T4 L4 A10 L40S A100 RTX PRO 6000 H100 H200 B200 B300 A10G A40 L40 P4 P100 V100 GH200 GB200 GB300 MI300X MI355X Quadro RTX 6000 RTX 3090 RTX 4090 RTX 5090 RTX A5000 RTX A6000 RTX 6000 Ada RTX PRO 4500
form_factorenum<string> | nullrequiredGPU form factor; null when the provider does not establish it.
Available options: SXM PCIe OAM
memory_gbintegerrequiredMemory per GPU in GB, at least the spec's min_vram_gb.
gpu_countintegerrequiredGPUs in one instance, equal to the spec's gpu_count.
tierenum<string>requiredCapacity tier.
Available options: on_demand preemptible spot reserved serverless committed auction
regionstring | nullrequiredRegion a stored price applies to; null when the source does not say and for a live price.
commitmentstring | nullrequiredCommitment a stored price requires, as the provider states it; null when the source does not say.
usd_per_instance_hourstringrequiredListed USD per instance-hour.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
usd_per_gpu_hourstringrequiredusd_per_instance_hour divided by gpu_count.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
estimated_runtime_secondsstring | nullrequiredRuntime estimate for this GPU identity: the median of your comparable verified runs for a Modal price, otherwise the matched public benchmark. Null without either.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
estimated_cost_usdstring | nullrequiredusd_per_instance_hour times estimated_runtime_seconds; null without a runtime.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
ceiling_cost_usdstring | nullrequiredusd_per_instance_hour times the spec's timeout, the most one run can bill; null when no job spec is compared.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
launched_runsintegerrequiredYour stored runs launched on this provider and catalog GPU.
succeeded_runsintegerrequiredOf launched_runs, those that succeeded.
tier_rankintegerrequired1 plus the number of rates of the same tier in this list ahead of this one: rates with an estimated_cost_usd come first by that cost, the rest by usd_per_gpu_hour. Rates of different tiers are never ranked against each other.
billing_increment_secondsinteger | nullrequiredBilling granularity; null when unverified.
availableboolean | nullrequiredWhether the provider reports capacity now; null for stored rates, which carry none.
sourcestringrequiredSource id of a stored rate, or live.
source_revisionstring | nullrequiredSource revision of a stored rate; null for a live price.
source_urlstring | nullrequiredWhere a stored rate was read; null for a live price.
fetched_atstring<date-time>requiredWhen the revision was read for a stored rate, or when the live price was fetched.
stalebooleanrequiredTrue when a stored rate is past its shelf life; always false for a live price or a quote.
quote_idstring | nullId of your quote behind a quote rate; null otherwise.
valid_untilstring<date-time> | nullWhen your quote expires for a quote rate; null otherwise.
band_min_usd_per_gpu_hourstring | nullLowest assessed auction price per GPU-hour over the last 30 minutes; null otherwise.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
band_max_usd_per_gpu_hourstring | nullHighest assessed auction price per GPU-hour over the last 30 minutes; null otherwise.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
labelstring | nullWhat an auction rate is, in words; null otherwise.
pricing_urlstringrequiredHuman pricing page of the provider, for click-through, or the Connections page for a quote.
launch_supportedbooleanrequiredTrue when this candidate can be launched from the route; only Modal launches are supported.
launch_notestring | nullrequiredlaunch not supported yet for a provider that cannot be launched yet; null otherwise.
reference_runbooleandefault: falseTrue when the runtime is the median of gpu-router's own verified runs of this sample, named by measurement_run_ids.
source_urlstring | nullrequiredWhere the rate was read; null without a rate.
checked_onstring<date> | nullrequiredWhen the rate was read; null without a rate.
evidence_sourceenum<string>requiredWhere the runtime estimate comes from: user_runs for the user's comparable runs, public_benchmark for the row named by benchmark_key, reference_run for gpu-router's verified runs of the sample, none without evidence.
Available options: user_runs reference_run public_benchmark none
evidence_labelstringrequiredDisplay label of evidence_source.
initial_observationbooleanrequiredTrue when exactly one run backs the estimate: an initial observation, not a settled runtime.
policyenum<string>requiredSelection policy name.
Available options: lowest-cost lowest-estimated-cost
policy_versionintegerrequiredVersion of the policy rules that produced this selection.
explanationstringrequiredWhy the selection was made and what remains unknown.
estimateobjectrequiredThe selected candidate's estimate; unknown without a selection or measurements.
Show child attributes
cost_usdstring | nullEstimated GPU cost of the selected candidate: its rate times runtime_seconds. Distinct from the provider rate, the ceiling cost and the market benchmark. None means unknown.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
runtime_secondsstring | nullMedian duration of the measured runs behind the estimate, or the public benchmark estimate when no comparable run matched. None means no supported prediction.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
created_atstring<date-time>requiredWhen the route was built.
expires_atstring<date-time> | nullrequired30 days after the selected rate was checked.
evidenceobject[]requiredTyped evidence behind the selection, saved with the route: the policy, the selected rate, the user's comparable runs or the public benchmark, and whether the rate is above market. market_index entries appear only for the owner account.
Show PolicyEvidence attributes
kindstringdefault: "policy"nameenum<string>requiredSelection policy that made the decision.
Available options: lowest-cost lowest-estimated-cost
versionintegerrequiredVersion of the policy rules.
Show RateEvidence attributes
kindstringdefault: "rate"providerenum<string>requiredProvider whose listed rate was used.
Available options: modal lambda
gpuenum<string>requiredCatalog GPU the rate is for.
Available options: T4 L4 A10 L40S A100-40GB A100-80GB RTX-PRO-6000 H100 H200 B200 B300
usd_per_gpu_hourstringrequiredListed rate per GPU-hour.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
revisionstringrequiredRevision of the rate source.
sourcestringrequiredName of the rate source.
source_urlstringrequiredWhere the rate was read.
observed_atstring<date-time>requiredWhen the rate was fetched.
Show MeasurementEvidence attributes
kindstringdefault: "measurement"run_idstringrequiredA comparable verified run of the user's behind the runtime estimate.
matched_onobjectrequiredJob fields the run matched exactly, by name.
labelstring | nullrequiredinitial observation when this is the only comparable run, null otherwise.
Show BenchmarkEvidence attributes
kindstringdefault: "benchmark"sourcestringrequiredPublic benchmark source behind the runtime estimate.
revisionstringrequiredDataset revision or content hash of the imported row.
source_urlstringrequiredWhere the benchmark result is published.
assumptionsstring[]requiredMatching assumptions that make the result comparable to this job.
Show MarketIndexEvidence attributes
kindstringdefault: "market_index"gpuenum<string>requiredCanonical GPU model the index covers.
Available options: T4 L4 A10 L40S A100 RTX PRO 6000 H100 H200 B200 B300 A10G A40 L40 P4 P100 V100 GH200 GB200 GB300 MI300X MI355X Quadro RTX 6000 RTX 3090 RTX 4090 RTX 5090 RTX A5000 RTX A6000 RTX 6000 Ada RTX PRO 4500
usd_per_gpu_hourstringrequiredLatest market index per GPU-hour: a transaction-derived benchmark, not a provider price.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
as_ofstring<date>requiredSettlement date of the index value.
source_urlstringrequiredPublic page of the market index.
Show AboveMarketEvidence attributes
kindstringdefault: "above_market"gpuenum<string>requiredSelected catalog GPU.
Available options: T4 L4 A10 L40S A100-40GB A100-80GB RTX-PRO-6000 H100 H200 B200 B300
above_marketbooleanrequiredTrue when the rate is more than 15 percent above the latest market index for the same GPU model.
pricesobject | nullStored and live rates for comparison, returned when the route is built and never saved, so null when a route is read; GET /v1/routes/{id}/prices fetches them again. Selection uses only the Modal candidates.
Show child attributes
ratesobject[]requiredStored and live rates for SKUs with at least min_vram_gb per GPU and the spec's gpu_count, by tier then tier_rank.
Show child attributes
originenum<string>requiredstored: read from rate_records with its source revision. live: fetched without a key from the provider's public price endpoint, at most five minutes old, and never saved. quote: one of your own unexpired private quotes. auction: the latest clearing price of your own National Compute market, read with your org token and shown only to you.
Available options: stored live quote auction
providerstringrequiredProvider key listing the price: modal, lambda, runpod, vast, a sweep provider slug, or quote.
provider_namestringrequiredDisplay name of the provider.
skustringrequiredProvider SKU or instance type.
gpu_modelenum<string>requiredGPU model of the SKU.
Available options: T4 L4 A10 L40S A100 RTX PRO 6000 H100 H200 B200 B300 A10G A40 L40 P4 P100 V100 GH200 GB200 GB300 MI300X MI355X Quadro RTX 6000 RTX 3090 RTX 4090 RTX 5090 RTX A5000 RTX A6000 RTX 6000 Ada RTX PRO 4500
form_factorenum<string> | nullrequiredGPU form factor; null when the provider does not establish it.
Available options: SXM PCIe OAM
memory_gbintegerrequiredMemory per GPU in GB, at least the spec's min_vram_gb.
gpu_countintegerrequiredGPUs in one instance, equal to the spec's gpu_count.
tierenum<string>requiredCapacity tier.
Available options: on_demand preemptible spot reserved serverless committed auction
regionstring | nullrequiredRegion a stored price applies to; null when the source does not say and for a live price.
commitmentstring | nullrequiredCommitment a stored price requires, as the provider states it; null when the source does not say.
usd_per_instance_hourstringrequiredListed USD per instance-hour.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
usd_per_gpu_hourstringrequiredusd_per_instance_hour divided by gpu_count.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
estimated_runtime_secondsstring | nullrequiredRuntime estimate for this GPU identity: the median of your comparable verified runs for a Modal price, otherwise the matched public benchmark. Null without either.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
estimated_cost_usdstring | nullrequiredusd_per_instance_hour times estimated_runtime_seconds; null without a runtime.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
ceiling_cost_usdstring | nullrequiredusd_per_instance_hour times the spec's timeout, the most one run can bill; null when no job spec is compared.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
launched_runsintegerrequiredYour stored runs launched on this provider and catalog GPU.
succeeded_runsintegerrequiredOf launched_runs, those that succeeded.
tier_rankintegerrequired1 plus the number of rates of the same tier in this list ahead of this one: rates with an estimated_cost_usd come first by that cost, the rest by usd_per_gpu_hour. Rates of different tiers are never ranked against each other.
billing_increment_secondsinteger | nullrequiredBilling granularity; null when unverified.
availableboolean | nullrequiredWhether the provider reports capacity now; null for stored rates, which carry none.
sourcestringrequiredSource id of a stored rate, or live.
source_revisionstring | nullrequiredSource revision of a stored rate; null for a live price.
source_urlstring | nullrequiredWhere a stored rate was read; null for a live price.
fetched_atstring<date-time>requiredWhen the revision was read for a stored rate, or when the live price was fetched.
stalebooleanrequiredTrue when a stored rate is past its shelf life; always false for a live price or a quote.
quote_idstring | nullId of your quote behind a quote rate; null otherwise.
valid_untilstring<date-time> | nullWhen your quote expires for a quote rate; null otherwise.
band_min_usd_per_gpu_hourstring | nullLowest assessed auction price per GPU-hour over the last 30 minutes; null otherwise.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
band_max_usd_per_gpu_hourstring | nullHighest assessed auction price per GPU-hour over the last 30 minutes; null otherwise.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
labelstring | nullWhat an auction rate is, in words; null otherwise.
pricing_urlstringrequiredHuman pricing page of the provider, for click-through, or the Connections page for a quote.
launch_supportedbooleanrequiredTrue when this candidate can be launched from the route; only Modal launches are supported.
launch_notestring | nullrequiredlaunch not supported yet for a provider that cannot be launched yet; null otherwise.
failuresobject[]requiredProviders whose keyless live prices could not be read for this request.
Show child attributes
providerenum<string>requiredProvider whose live prices could not be read.
Available options: runpod vast
reasonenum<string>requiredunavailable after a timeout or error status, or malformed_response.
Available options: unavailable malformed_response
evidence_sourceenum<string>requiredWhere the selected runtime estimate comes from; none without a selection.
Available options: user_runs reference_run public_benchmark none
evidence_labelstringrequiredDisplay label of evidence_source.
401application/jsonUNAUTHENTICATED: missing, invalid, expired, or revoked session or API key.
UNAUTHENTICATED403application/jsonCSRF_ORIGIN_MISMATCH: the Origin header does not match the public URL. DEMO_ACCOUNT_LIMITED: a demo account sent a job that is not a gpu-router sample.
CSRF_ORIGIN_MISMATCHDEMO_ACCOUNT_LIMITED422application/jsonVALIDATION_ERROR: malformed body. NO_COMPATIBLE_GPU: no catalog GPU satisfies the spec. GPU_INCOMPATIBLE: the requested gpu does not satisfy the spec. Nothing is stored in any of these cases.
VALIDATION_ERRORNO_COMPATIBLE_GPUGPU_INCOMPATIBLE429application/jsonRATE_LIMITED (retryable): the signed-in user made more than GPU_ROUTER_RATE_PER_MINUTE mutating requests in the last minute. Nothing was changed.
RATE_LIMITED500application/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_UNAVAILABLEMCP tool
route_job: Ask which GPU to use and why, without launching anything: the routing decision for a job. Returns the route with its id, selected GPU and provider, every candidate with rate and estimated cost, the policy, the explanation, the evidence behind it (rates, measurements, public benchmarks, market index) and a price comparison across providers, the cheapest rate per provider and tier. gpu names a catalog GPU instead of letting the policy choose; max_cost_usd keeps the policy from selecting candidates estimated above it. Modal rates are USD per GPU-second as listed on the pricing page, billed per second; usd_per_gpu_hour is that figure times 3600, not a separately listed value. A rate with launch_supported false is launch not supported yet. Null fields are omitted; source_url and pricing_url are indexes into the top-level sources list. Give image (an immutable container reference) and command (argv list), or sample=true with sample_id from list_samples (default lora) instead. env values are secret and never echoed. Free. Launch the route with start_run, benchmark it with quote_benchmark then start_benchmark.