---
title: "Launch a GPU (route + provision)"
method: POST
path: "/api/v1/router/launch"
tags: ["Router"]
---

# Launch a GPU (route + provision)

`POST /api/v1/router/launch`

## Request

- Base URL: `https://fastgpu.co`
- URL: `https://fastgpu.co/api/v1/router/launch`
- Auth: HTTP bearer

Route a described job to the best in-stock connected provider (RunPod, Vast.ai, Hyperstack) and PROVISION a real GPU, billed by the second to your prepaid FastGPU wallet. Returns the instance; poll GET /api/v1/router/instances/{id} for the connection URL once it is running. Requires an API key with wallet balance.

## Request body

- object
  - `query` string, required: Describe the job, e.g. "fine-tune Llama 3 8B" or "1x H100 for training".

## Response `200`

Success

- object
  - `instance` object, required
    - `id` string
    - `status` string
    - `provider` string
    - `provider_label` string, nullable
    - `gpu_model` string
    - `gpu_count` integer
    - `price_usd_hr` number, nullable
    - `provider_price_usd_hr` number, nullable
    - `connection` object, nullable
      - `jupyterUrl` string, nullable
      - `sshHost` string, nullable
      - `sshPort` integer, nullable
      - `publicIp` string, nullable
      - `note` string, nullable
    - `error` string, nullable
    - `job_query` string, nullable
    - `charged_usd` number, nullable
    - `started_at` string, nullable
    - `created_at` string

## Other responses

- `401`: Missing or invalid API key

---

[API](https://skmtc.dev/fastgpu/apis/fastgpu-api.md) · [All operations](https://skmtc.dev/fastgpu/apis/fastgpu-api/llms.txt) · [OpenAPI document](https://skmtc.dev/fastgpu/apis/fastgpu-api/revisions/9ab96f0e2baf?raw)
