qbraid compute
Manage cloud compute and SSH.
Manage cloud compute servers, profiles, and SSH access. Start GPU or CPU servers on qBraid infrastructure. SSH in from any terminal, connect your IDE (VS Code, Cursor), or launch AI agents on remote hardware. Persistent storage across sessions.
Use this when you want to:
- Run heavy workloads on cloud GPUs without local setup
- SSH into a cloud dev environment from your terminal
- Connect VS Code or Cursor to a remote server
- Launch AI agents on more powerful hardware
Quick start:
qbraid compute up <profile> # Launch an instance + configure SSH
qbraid compute status # List your instances
qbraid compute instances ... # launch/start/stop/terminate/ssh/...
qbraid compute down # Stop an instanceUsage:
$ qbraid compute [OPTIONS] COMMAND [ARGS]...Options:
--help: Show this message and exit.
Commands:
up: Launch an instance and configure SSH.down: Stop an instance.status: List your instances.list: List compute profiles.sessions: List compute sessions.usage: Show compute usage summary.instances: Manage compute instances.profiles: Manage compute profiles.server: (deprecated) Useqbraid compute instances.ssh: SSH access to compute servers.
qbraid compute up
Launch an instance and configure SSH.
Alias for qbraid compute instances launch <profile> --ssh. On-demand
profiles always launch a new instance; the subscription server attaches
if it’s already running.
Example:
qbraid compute up gpu-l4Usage:
$ qbraid compute up [OPTIONS] {profile_slug}Arguments:
profile_slug: Profile slug to launch [required]
Options:
-c, --cluster <str>: Subscription cluster ID-t, --timeout <int>: Seconds to wait (default 600 on-demand, 120 subscription)--no-ssh: Skip SSH configuration--help: Show this message and exit.
qbraid compute down
Stop an instance.
Alias for qbraid compute instances stop. With no target, stops your
running on-demand instance (asking which if several) or else the
subscription server.
Example:
qbraid compute down
qbraid compute down trainerUsage:
$ qbraid compute down [OPTIONS] [target]Arguments:
target: Instance: id, hash, label, profile slug, or ‘subscription’
Options:
-c, --cluster <str>: Subscription cluster ID-i, --instance <str>: Same as the positional target-f, --force: Skip confirmation--cleanup-ssh: Remove the subscription SSH config--help: Show this message and exit.
qbraid compute status
List your instances.
Alias for qbraid compute instances list.
Usage:
$ qbraid compute status [OPTIONS]Options:
-c, --cluster <str>: Subscription cluster ID--help: Show this message and exit.
qbraid compute list
List compute profiles.
Quick list profiles (alias for ‘profiles list’).
Usage:
$ qbraid compute list [OPTIONS]Options:
-g, --gpu: Show only GPU profiles-a, --available: Show only available profiles-l, --limit <int>: Number of results [default: 20]--help: Show this message and exit.
qbraid compute sessions
List compute sessions.
Usage:
$ qbraid compute sessions [OPTIONS]Options:
-l, --limit <int>: Number of sessions to show [default: 10]-s, --status <str>: Filter by status (active, ended)-t, --type <str>: Filter by type (cpu, gpu)-d, --days <int>: Show sessions from last N days--help: Show this message and exit.
qbraid compute usage
Show compute usage summary.
Usage:
$ qbraid compute usage [OPTIONS]Options:
-d, --days <int>: Number of days (default: 30)--tz <str>: Timezone (e.g. America/New_York)--daily: Show daily breakdown--help: Show this message and exit.
qbraid compute instances
Manage compute instances.
One list for both tiers: on-demand instances (billed from your wallet, several at once) and the subscription server (one at a time).
Quick start:
qbraid compute instances launch <profile> # new instance, waits, prints URL
qbraid compute instances list # both tiers, rates, uptime
qbraid compute instances stop <target> # keeps the disk; bills storage
qbraid compute instances terminate <target> # the only zero-cost state<target> is an instance id, its hash, a label, a profile slug, or ‘subscription’.
Usage:
$ qbraid compute instances [OPTIONS] COMMAND [ARGS]...Options:
--help: Show this message and exit.
Commands:
list: List your instances across both tiers.show: Show one instance in detail.launch: Launch a new instance from a profile.start: Start (resume) a stopped instance.stop: Stop a running instance; the disk is kept.terminate: Terminate an instance; deletes its disk.set: Change an instance’s label or auto-stop.ssh: Configure SSH for a running instance.history: List terminated instances and what they cost.availability: Show on-demand capacity and rates by profile.
qbraid compute instances list
List your instances across both tiers.
Example:
qbraid compute instances listUsage:
$ qbraid compute instances list [OPTIONS]Options:
-c, --cluster <str>: Subscription cluster ID--help: Show this message and exit.
qbraid compute instances show
Show one instance in detail.
Example:
qbraid compute instances show trainer
qbraid compute instances show subscription --show-urlUsage:
$ qbraid compute instances show [OPTIONS] {target}Arguments:
target: Instance id, hash, label, profile slug, or ‘subscription’ [required]
Options:
--show-url: Show the full URL including the auth token-c, --cluster <str>: Subscription cluster ID--help: Show this message and exit.
qbraid compute instances launch
Launch a new instance from a profile.
On-demand profiles always launch a new instance — the tier is multi-instance — and you’re told if you already have one up. The subscription tier is one server at a time, so launching attaches if it’s already running.
Example:
qbraid compute instances launch gpu-l4 --ssh
qbraid compute instances launch gpu-l4 --label trainer --no-waitUsage:
$ qbraid compute instances launch [OPTIONS] {profile_slug}Arguments:
profile_slug: Profile slug (seeqbraid compute profiles list) [required]
Options:
--no-wait: Return right after the launch is accepted--ssh: Configure SSH once the instance is ready-t, --timeout <int>: Seconds to wait (default 600 on-demand, 120 subscription)-l, --label <str>: Label for the new instance (on-demand)--region <str>: Preferred region (on-demand; a preference, not a pin)-c, --cluster <str>: Subscription cluster ID--help: Show this message and exit.
qbraid compute instances start
Start (resume) a stopped instance.
Its disk is kept, so you pick up where you left off. With a profile slug, resumes your stopped instance of that profile — and asks which if there are several.
Example:
qbraid compute instances start trainer
qbraid compute instances start gpu-l4 --sshUsage:
$ qbraid compute instances start [OPTIONS] [target]Arguments:
target: Stopped instance: id, hash, label, or profile slug
Options:
--no-wait: Return right after the start is accepted--ssh: Configure SSH once the instance is ready-t, --timeout <int>: Seconds to wait (default 600)--help: Show this message and exit.
qbraid compute instances stop
Stop a running instance; the disk is kept.
A stopped on-demand instance keeps billing a small storage rate until you terminate it. Refuses on clouds that can’t preserve the disk (stop would destroy it) — terminate those instead.
Example:
qbraid compute instances stop trainer
qbraid compute instances stop subscriptionUsage:
$ qbraid compute instances stop [OPTIONS] [target]Arguments:
target: Running instance: id, hash, label, profile slug, or ‘subscription’
Options:
-y, --yes: Skip the confirmation-c, --cluster <str>: Subscription cluster ID--help: Show this message and exit.
qbraid compute instances terminate
Terminate an instance; deletes its disk.
The only zero-cost state: a stopped instance still bills storage. Works from any state, including one that is still starting.
Example:
qbraid compute instances terminate trainerUsage:
$ qbraid compute instances terminate [OPTIONS] [target]Arguments:
target: Instance: id, hash, label, or profile slug
Options:
-y, --yes: Skip the confirmation--help: Show this message and exit.
qbraid compute instances set
Change an instance’s label or auto-stop.
Example:
qbraid compute instances set a1b2c3d4 --label trainer
qbraid compute instances set trainer --max-session 240Usage:
$ qbraid compute instances set [OPTIONS] {target}Arguments:
target: Instance: id, hash, label, or profile slug [required]
Options:
-l, --label <str>: New label (” clears it)--max-session <int>: Stop after this many minutes running (0 disables)--auto-stop <int>: Stop after this many idle minutes (0 disables)--help: Show this message and exit.
qbraid compute instances ssh
Configure SSH for a running instance.
Example:
qbraid compute instances ssh trainerUsage:
$ qbraid compute instances ssh [OPTIONS] [target]Arguments:
target: Running instance: id, hash, label, profile slug, or ‘subscription’
Options:
-c, --cluster <str>: Subscription cluster ID--help: Show this message and exit.
qbraid compute instances history
List terminated instances and what they cost.
Example:
qbraid compute instances history --page 2Usage:
$ qbraid compute instances history [OPTIONS]Options:
-p, --page <int>: Page number [default: 1]-l, --limit <int>: Results per page (max 100) [default: 50]--help: Show this message and exit.
qbraid compute instances availability
Show on-demand capacity and rates by profile.
Example:
qbraid compute instances availability gpu-l4Usage:
$ qbraid compute instances availability [OPTIONS] [profile_slug]Arguments:
profile_slug: Only this profile
Options:
--help: Show this message and exit.
qbraid compute profiles
Manage compute profiles.
Usage:
$ qbraid compute profiles [OPTIONS] COMMAND [ARGS]...Options:
--help: Show this message and exit.
Commands:
list: List available compute profiles.info: Get detailed profile information.create-try: Create a try-mode profile.create-save: Create a save-mode profile.build-status: Check build status for a save-mode profile.delete: Delete a user-owned profile.
qbraid compute profiles list
List available compute profiles.
Usage:
$ qbraid compute profiles list [OPTIONS]Options:
-p, --plan <str>: Filter by plan tier-g, --gpu: Filter GPU profiles-c, --has-capacity: Filter by capacity--cluster <str>: Filter by cluster-l, --limit <int>: Results per page [default: 50]--help: Show this message and exit.
qbraid compute profiles info
Get detailed profile information.
Usage:
$ qbraid compute profiles info [OPTIONS] {slug}Arguments:
slug: Profile slug [required]
Options:
--help: Show this message and exit.
qbraid compute profiles create-try
Create a try-mode profile.
Standard+ plan required. Try-mode profiles use on-the-fly overlay injection - no build step required.
Usage:
$ qbraid compute profiles create-try [OPTIONS]Options:
-i, --image <str>: Base Docker image (required) [required]-n, --name <str>: Display name-d, --description <str>: Description--cpu <float>: CPU cores (guarantee and limit)-m, --mem <str>: Memory (e.g., ‘8G’)-g, --gpu: Enable GPU--ide <str>: IDE type: lab, vscode, ssh [default: lab]-f, --features <str>: Features (e.g., ‘claude,codeq’)--help: Show this message and exit.
qbraid compute profiles create-save
Create a save-mode profile.
Pro+ plan required. Save-mode profiles trigger a Cloud Build to create a permanent overlay image. Use —wait to wait for the build to complete.
Usage:
$ qbraid compute profiles create-save [OPTIONS]Options:
-i, --image <str>: Base Docker image (required) [required]-n, --name <str>: Display name-d, --description <str>: Description--cpu <float>: CPU cores (guarantee and limit)-m, --mem <str>: Memory (e.g., ‘8G’)-g, --gpu: Enable GPU--ide <str>: IDE type: lab, vscode, ssh [default: lab]-f, --features <str>: Features (e.g., ‘claude,codeq’)-w, --wait: Wait for build to complete-t, --timeout <int>: Build timeout in seconds [default: 600]--help: Show this message and exit.
qbraid compute profiles build-status
Check build status for a save-mode profile.
Usage:
$ qbraid compute profiles build-status [OPTIONS] {slug}Arguments:
slug: Profile slug [required]
Options:
--help: Show this message and exit.
qbraid compute profiles delete
Delete a user-owned profile.
Usage:
$ qbraid compute profiles delete [OPTIONS] {slug}Arguments:
slug: Profile slug to delete [required]
Options:
-f, --force: Skip confirmation--help: Show this message and exit.
qbraid compute server
(deprecated) Use qbraid compute instances.
Usage:
$ qbraid compute server [OPTIONS] COMMAND [ARGS]...Options:
--help: Show this message and exit.
Commands:
status: (deprecated) Useinstances list.start: (deprecated) Useinstances launch/start.stop: (deprecated) Useinstances stop.terminate: (deprecated) Useinstances terminate.url: (deprecated) Useinstances show.stop-all: Stop all subscription servers.
qbraid compute server status
(deprecated) Use instances list.
Usage:
$ qbraid compute server status [OPTIONS]Options:
-c, --cluster <str>: Cluster ID--show-url: Show full server URL with auth token--help: Show this message and exit.
qbraid compute server start
(deprecated) Use instances launch/start.
Usage:
$ qbraid compute server start [OPTIONS] {target}Arguments:
target: Profile slug (launch) or instance target (resume) [required]
Options:
-c, --cluster <str>: Cluster ID-w, --wait: Wait until ready-t, --timeout <int>: Seconds to wait--ssh: Configure SSH once ready--help: Show this message and exit.
qbraid compute server stop
(deprecated) Use instances stop.
Usage:
$ qbraid compute server stop [OPTIONS]Options:
-c, --cluster <str>: Cluster ID-i, --instance <str>: Instance target-f, --force: Skip confirmation--help: Show this message and exit.
qbraid compute server terminate
(deprecated) Use instances terminate.
Usage:
$ qbraid compute server terminate [OPTIONS]Options:
-i, --instance <str>: Instance target-f, --force: Skip confirmation--help: Show this message and exit.
qbraid compute server url
(deprecated) Use instances show.
Usage:
$ qbraid compute server url [OPTIONS]Options:
-c, --cluster <str>: Cluster ID--help: Show this message and exit.
qbraid compute server stop-all
Stop all subscription servers.
Usage:
$ qbraid compute server stop-all [OPTIONS]Options:
-c, --cluster <str>: Cluster ID-f, --force: Skip confirmation--help: Show this message and exit.
qbraid compute ssh
SSH access to compute servers.
Usage:
$ qbraid compute ssh [OPTIONS] COMMAND [ARGS]...Options:
--help: Show this message and exit.
Commands:
setup: Configure SSH for the server.connect: SSH into the running server.token: Get SSH session token.config: Show or edit SSH configuration.remove: Remove SSH configuration for a host.
qbraid compute ssh setup
Configure SSH for the server.
Sets up SSH config with a ProxyCommand that tunnels SSH through the jupyter-server-proxy WebSocket endpoint. No websocat required.
On-demand BMA instances are handled automatically: if one is running it’s configured under its own alias; pass —instance to target a specific one. Each instance gets an independent alias so several can be reachable at once.
Usage:
$ qbraid compute ssh setup [OPTIONS]Options:
-c, --cluster <str>: Cluster ID-i, --instance <str>: On-demand instance: id, hash, label, or profile slug-t, --tool <str>: Configure for specific tool: vscode, cursor, claude-code, codex-a, --alias <str>: SSH config alias (default: qbraid-{cluster})--help: Show this message and exit.
qbraid compute ssh connect
SSH into the running server.
This opens an interactive SSH session to the server. Pass —instance to connect to a specific on-demand instance (resolves to its per-instance alias from ‘ssh setup —instance’).
Usage:
$ qbraid compute ssh connect [OPTIONS]Options:
-a, --alias <str>: SSH config alias (auto-detected if not set)-i, --instance <str>: On-demand instance: id, hash, label, or profile slug--help: Show this message and exit.
qbraid compute ssh token
Get SSH session token.
Retrieves a JupyterHub session token for SSH access.
Usage:
$ qbraid compute ssh token [OPTIONS]Options:
-c, --cluster <str>: Cluster ID-r, --raw: Output raw token only--help: Show this message and exit.
qbraid compute ssh config
Show or edit SSH configuration.
Usage:
$ qbraid compute ssh config [OPTIONS]Options:
-e, --edit: Open config in editor--help: Show this message and exit.
qbraid compute ssh remove
Remove SSH configuration for a host.
Usage:
$ qbraid compute ssh remove [OPTIONS] {alias}Arguments:
alias: SSH alias to remove [required]
Options:
-f, --force: Skip confirmation--help: Show this message and exit.
Thanks for your feedback.

