Jobs
Show job
The job: state, route, probe runs, chosen GPU, and the final run, refreshed from the provider.
Authorization
Send Authorization: Bearer gr_... with a key from the Developer access page. The browser session cookie gpu_router_session also works.
Path parameters
idstringrequiredResponses
200application/jsonSuccessful Response
Show response attributes
idstringrequireduser_idstringrequiredidempotency_keystringrequiredstateenum<string>requiredAvailable options: routing benchmarking choosing running done failed
job_specobjectrequiredThe submitted job; 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.
budget_usdstringrequiredpattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
gpusenum<string>[] | nullrequiredAvailable options: T4 L4 A10 L40S A100-40GB A100-80GB RTX-PRO-6000 H100 H200 B200 B300
max_benchmark_gpusintegerrequiredroute_idstringrequiredbenchmarkedenum<string>[]default: []GPUs this job benchmarked; empty when it reused measurements.
Available options: T4 L4 A10 L40S A100-40GB A100-80GB RTX-PRO-6000 H100 H200 B200 B300
resultsobject[]default: []Verified cost per unit by GPU, cheapest first.
Show child attributes
gpuenum<string>requiredAvailable options: T4 L4 A10 L40S A100-40GB A100-80GB RTX-PRO-6000 H100 H200 B200 B300
usd_per_gpu_hourstring | nullrequiredThe current rate the figures are priced at, not the rate when the runs were measured.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
runsintegerrequiredQualified runs behind the figures.
unitstringrequired1k steps for training, 1M tokens for inference.
usd_per_unitstringrequiredMedian cost per unit of work: current hourly rate x GPUs / measured throughput.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
usd_per_unit_minstringrequiredpattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
usd_per_unit_maxstringrequiredpattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
throughputstringrequiredMedian steady-state steps/s or tokens/s, or wall-clock work/duration without metric lines.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
startup_secondsstring | nullrequiredMedian process start to first metric line; null without metric lines.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
projected_cost_usdstring | nullrequiredFull job at the current rate: usd_per_unit x the work from work_units, plus startup_seconds x the rate; null without work_units.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
wall_clock_onlybooleanrequiredTrue when a run printed no usable metric lines: lower confidence.
tied_withenum<string>[]requiredGPUs whose min to max cost per unit overlaps this one's.
Available options: T4 L4 A10 L40S A100-40GB A100-80GB RTX-PRO-6000 H100 H200 B200 B300
choiceobject | nullShow child attributes
gpuenum<string>requiredAvailable options: T4 L4 A10 L40S A100-40GB A100-80GB RTX-PRO-6000 H100 H200 B200 B300
usd_per_gpu_hourstringrequiredpattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
usd_per_unitstring | nullrequiredMedian verified USD per unit of work; null when the only fitting GPU was not measured.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
reasonstringrequiredWhy this GPU, in one sentence.
run_idstring | nullfallbacksobject[]default: []Full-run launches that failed to start (launch error, or lost before it ever ran), in order; after each the job moved to the next cheapest verified GPU that fits the budget left, up to 2 times. run_id is then the GPU that actually ran.
Show child attributes
gpuenum<string>requiredAvailable options: T4 L4 A10 L40S A100-40GB A100-80GB RTX-PRO-6000 H100 H200 B200 B300
run_idstringrequiredreasonstringrequiredWhy the launch on this GPU failed to start.
stepsobject[]requiredShow child attributes
stateenum<string>requiredAvailable options: routing benchmarking choosing running done failed
atstring<date-time>requireddetailstringrequirederrorstring | nullbudget_reachedbooleandefault: falseTrue when the job stopped because its budget could not cover the next step.
created_atstring<date-time>requiredprobesobject[]requiredThe job's benchmark runs, in launch order.
Show child attributes
idstringrequiredroute_idstringrequireduser_idstringrequiredidempotency_keystringrequiredproviderenum<string>requiredAvailable options: modal lambda
gpuenum<string>requiredAvailable options: T4 L4 A10 L40S A100-40GB A100-80GB RTX-PRO-6000 H100 H200 B200 B300
provider_run_refstring | nullrequiredstatusenum<string>requiredAvailable options: accepted launching running succeeded failed cancel_requested cancelled lost
provider_confirmedbooleanrequiredWhether the provider observed the current status.
verification_statusenum<string>requiredAvailable options: not_requested pending passed failed
exit_codeinteger | nullrequiredlog_tailstring | nullrequiredcreated_atstring<date-time>requiredlaunched_atstring<date-time> | nullrequiredstarted_atstring<date-time> | nullWhen the provider first reported the run running or finished; null if it never started.
finished_atstring<date-time> | nullrequiredstatus_checked_atstring<date-time> | nullrequiredlast_errorstring | nullrequiredpoll_failuresintegerdefault: 0Consecutive failed status polls; reset by a successful poll.
kindenum<string>default: "job"job for a run of the route's job, probe for a capped benchmark run on one candidate GPU.
Available options: job probe
benchmarkobject | nullThe benchmark protocol settings of a probe run; null for a job run.
Show child attributes
benchmark_idstringrequiredGroups the runs of one Benchmark my job request.
repeatintegerrequired1-based repeat of this run on its GPU.
runs_per_gpuintegerrequiredwork_stepsintegerrequiredSteps (training) or requests (inference) every run performs, sent as GPU_ROUTER_MAX_STEPS or GPU_ROUTER_MAX_REQUESTS.
seedintegerrequiredSent to every run as GPU_ROUTER_SEED.
max_secondsintegerrequiredSandbox timeout of every run.
loss_tolerance_pctstring | nullrequiredAllowed final-loss distance from the median across GPUs, in percent; null disables the check.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
cap_usdstringrequiredHard cap of the whole benchmark: rate x GPUs x max_seconds x runs_per_gpu, summed over GPUs.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
simulationobject | nullSet only on a simulated run of a sample job or a demo account's job: nothing was launched or billed, and it never counts as a measurement.
Show child attributes
duration_secondsstringrequiredMeasured duration shown for the run, not its wall time.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
cost_usdstring | nullrequiredSimulated cost: duration_seconds at usd_per_gpu_hour of provider_name; nothing is billed.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
basisstringrequiredWhere the duration comes from: the one verified sample run on this GPU the run replays, named by run id.
provider_namestringdefault: "Modal"Provider whose listed rate prices the simulated cost.
usd_per_gpu_hourstring | nullThat provider's listed rate per GPU-hour; null without one.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
served_runstring | nullId of the verified sample run whose duration, metrics, outputs and log the run replays.
samplestringdefault: "lora"Id of the gpu-router sample whose outputs the run serves.
stalebooleanrequiredTrue when the run is not terminal and its status was last checked (or, before any check, it launched or was accepted) more than 5 poll intervals ago.
provider_referenceobject | nullrequiredThe Modal sandbox and app behind the run and its dashboard link; null when the run never launched.
Show child attributes
sandbox_idstringrequiredapp_namestringrequireddashboard_urlstringrequiredvolume_namestringrequiredstorage_urlstringrequiredrunobject | nullrequiredThe full run on the chosen GPU.
Show child attributes
idstringrequiredroute_idstringrequireduser_idstringrequiredidempotency_keystringrequiredproviderenum<string>requiredAvailable options: modal lambda
gpuenum<string>requiredAvailable options: T4 L4 A10 L40S A100-40GB A100-80GB RTX-PRO-6000 H100 H200 B200 B300
provider_run_refstring | nullrequiredstatusenum<string>requiredAvailable options: accepted launching running succeeded failed cancel_requested cancelled lost
provider_confirmedbooleanrequiredWhether the provider observed the current status.
verification_statusenum<string>requiredAvailable options: not_requested pending passed failed
exit_codeinteger | nullrequiredlog_tailstring | nullrequiredcreated_atstring<date-time>requiredlaunched_atstring<date-time> | nullrequiredstarted_atstring<date-time> | nullWhen the provider first reported the run running or finished; null if it never started.
finished_atstring<date-time> | nullrequiredstatus_checked_atstring<date-time> | nullrequiredlast_errorstring | nullrequiredpoll_failuresintegerdefault: 0Consecutive failed status polls; reset by a successful poll.
kindenum<string>default: "job"job for a run of the route's job, probe for a capped benchmark run on one candidate GPU.
Available options: job probe
benchmarkobject | nullThe benchmark protocol settings of a probe run; null for a job run.
Show child attributes
benchmark_idstringrequiredGroups the runs of one Benchmark my job request.
repeatintegerrequired1-based repeat of this run on its GPU.
runs_per_gpuintegerrequiredwork_stepsintegerrequiredSteps (training) or requests (inference) every run performs, sent as GPU_ROUTER_MAX_STEPS or GPU_ROUTER_MAX_REQUESTS.
seedintegerrequiredSent to every run as GPU_ROUTER_SEED.
max_secondsintegerrequiredSandbox timeout of every run.
loss_tolerance_pctstring | nullrequiredAllowed final-loss distance from the median across GPUs, in percent; null disables the check.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
cap_usdstringrequiredHard cap of the whole benchmark: rate x GPUs x max_seconds x runs_per_gpu, summed over GPUs.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
simulationobject | nullSet only on a simulated run of a sample job or a demo account's job: nothing was launched or billed, and it never counts as a measurement.
Show child attributes
duration_secondsstringrequiredMeasured duration shown for the run, not its wall time.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
cost_usdstring | nullrequiredSimulated cost: duration_seconds at usd_per_gpu_hour of provider_name; nothing is billed.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
basisstringrequiredWhere the duration comes from: the one verified sample run on this GPU the run replays, named by run id.
provider_namestringdefault: "Modal"Provider whose listed rate prices the simulated cost.
usd_per_gpu_hourstring | nullThat provider's listed rate per GPU-hour; null without one.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
served_runstring | nullId of the verified sample run whose duration, metrics, outputs and log the run replays.
samplestringdefault: "lora"Id of the gpu-router sample whose outputs the run serves.
stalebooleanrequiredTrue when the run is not terminal and its status was last checked (or, before any check, it launched or was accepted) more than 5 poll intervals ago.
provider_referenceobject | nullrequiredThe Modal sandbox and app behind the run and its dashboard link; null when the run never launched.
Show child attributes
sandbox_idstringrequiredapp_namestringrequireddashboard_urlstringrequiredvolume_namestringrequiredstorage_urlstringrequiredspend_usdstringrequiredGPU cost of the job's finished runs so far.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
savingsobject | nullrequiredFull-job cost, benchmarks included, against the cheapest hourly GPU; null until a GPU is chosen.
Show child attributes
baseline_gpuenum<string>requiredThe usual default: the fitting GPU with the cheapest hourly rate.
Available options: T4 L4 A10 L40S A100-40GB A100-80GB RTX-PRO-6000 H100 H200 B200 B300
baseline_cost_usdstring | nullrequiredThe full job on the baseline at its current rate: (startup + work / measured throughput) x rate. The work is what the finished run did, or work_units before it finishes. Null when the baseline was not measured or the work is unknown.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
job_cost_usdstring | nullrequiredThis job's GPU cost: its benchmark runs plus the full run, projected until the run finishes.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
saved_usdstring | nullrequiredbaseline_cost_usd minus job_cost_usd; negative when benchmarking cost more than it saved.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
percentstring | nullrequiredsaved_usd as a percent of baseline_cost_usd.
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
outputs_urlstring | nullrequiredLists the run's output files once it succeeded.
401application/jsonUNAUTHENTICATED: missing, invalid, expired, or revoked session or API key.
UNAUTHENTICATED404application/jsonJOB_NOT_FOUND: no job with this id belongs to the caller.
JOB_NOT_FOUND500application/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
get_job: Show one job: state (routing, benchmarking, choosing, running, done, failed), each step with its detail, the benchmark runs, the chosen GPU with its rate and why, spend_usd against budget_usd, savings, the error of a failed job, fallbacks (each GPU whose launch failed to start, with the reason, before the job moved on), and the run id for list_outputs. Free; reading also advances the job.