Get started

Introduction

GPU Router picks the cheapest GPU for a container job, shows the evidence, then runs it in your own Modal account.

You send an image, a command and a budget. GPU Router finds the GPUs that fit, benchmarks two or three of them with short capped runs, and runs the full job on the one with the lowest verified cost per unit of work. Modal bills your account directly; GPU Router never holds your money.

How it works#

  1. Route. Every catalog GPU with enough VRAM becomes a candidate, priced at its listed rate. A route never starts compute.
  2. Benchmark. The job runs on 2 or 3 candidates with the same work, seed and time limit. Runs are capped, so the most a benchmark can cost is known before it starts.
  3. Choose. Each GPU gets a median cost per 1k training steps or per 1M tokens, from runs that succeeded and did not fail the verifier. The lowest wins; overlapping ranges go to the cheaper hourly rate.
  4. Run and verify. The full job runs on the winner, capped by what is left of the budget. Its outputs are checked against the verifier in the spec.

Measurements of the same job from the last 14 days are reused, so the second run of a job skips the benchmark. See How routing works.

Three surfaces, one API#

Every capability is reachable three ways, with the same names and the same error codes.

SurfaceWhereAuth
REST API/v1, schema at /openapi.jsonAuthorization: Bearer gr_... or the browser session
CLIgpu-routerKey stored by gpu-router login
MCP server/mcp, Streamable HTTPSame bearer key

The hosted base URL is https://gpu-router.com. On a self-hosted server, use your own origin.

What is free and what costs money#

ActionCost
Reading prices, samples, routes, jobs, runsFree
Routing a job (POST /v1/routes, POST /v1/routes/preview)Free, launches nothing
Running a job (POST /v1/jobs)Paid, capped by budget_usd
Starting a benchmark (POST /v1/routes/{id}/benchmark)Paid, capped by the quoted cap_usd
Launching a route (POST /v1/routes/{id}/runs)Paid

Paid compute runs in your Modal account, which Modal bills for GPU, CPU and memory time. budget_usd and benchmark caps limit GPU spend only.

The sample jobs run simulated for regular accounts: they replay verified runs, and nothing is launched or billed. They are the quickest way to see the whole flow.

Next steps#