Skip to Content
CLI & APICommand reference

stackblaze models

AI models - open models served on GPUs behind an OpenAI-compatible URL, in a project environment

Usage: stackblaze models|model [options] [command]

AI models: open models served on GPUs behind an OpenAI-compatible URL, in a
project environment

Options:
  -h, --help                          Print help

Commands:
  list|ls [options]                   List the environment's AI models: model,
                                      machine, region, status, copies
                                      ready/asked
  get [options] <name>                Show an AI model: URL, status, machine,
                                      copies, sleep policy; while it starts,
                                      the step, percent and download speed
  deploy|create [options] <model>     Deploy an AI model: a catalog id or any
                                      Hugging Face id (owner/name)
  check [options] <model>             Look a model up without deploying: the
                                      machine it needs, whether it is gated, or
                                      why it cannot run (exit 1)
  search [options] <query>            Search Hugging Face for chat models to
                                      deploy (most downloaded first)
  sizes|options [options]             GPU classes and price ranges, regions,
                                      GPU types you can pin, catalog models and
                                      your plan's limits
  sleep [options] <name>              Put an AI model to sleep now (no GPU
                                      runs; the model stays on disk)
  wake [options] <name>               Wake a sleeping AI model (about a minute)
  delete|rm [options] <name>          Delete an AI model and release its GPU
                                      (confirm by typing its name)
  rename [options] <name> <new-name>  Rename an AI model (its URL and API key
                                      do not change)
  scale [options] <name>              Change how many copies (machines) run the
                                      model (plan-limited)
  set [options] <name>                Change when the model sleeps:
                                      --sleep-after <seconds> (on demand) or
                                      --always-on
  replace-gpu [options] <name>        Release the model's GPU and rent a fresh
                                      one: same URL and key, a cold start
                                      follows (confirm by typing its name)
  logs [options] <name>               An AI model's logs: its lifecycle events,
                                      or the model server's own output
  metrics [options] <name>            Requests, response time, tokens, errors
                                      and GPU load of an AI model over a window
  url [options] <name>                Print the model's OpenAI-compatible base
                                      URL (append /chat/completions)
  key [options] <name>                Print the model's API key (stdout;
                                      --json: the "key" field). No other
                                      command prints it
  help [command]                      Print this message or the help of the
                                      given subcommand(s)

models list

Usage: stackblaze models list|ls [options]

List the environment's AI models: model, machine, region, status, copies
ready/asked

Options:
  --api-url <url>        StackBlaze API base URL (env STACKBLAZE_API_URL)
  --token <token>        API token, sb_pat_... (env STACKBLAZE_TOKEN)
  -p, --project <name>   Project name
  -e, --env <name>       Environment name (default: production)
  --json                 Output JSON (same as -o json) (default: false)
  -o, --output <format>  Output format: text or json (choices: "text", "json")
  -h, --help             Print help

Example

The AI models of an environment. This one has none yet:

stackblaze models list -p github-demo-cw8z -e dev
OK github-demo-cw8z/dev AI models
No AI models. Deploy one: stackblaze models deploy <model>  (see `stackblaze models sizes`)
stackblaze models list -p github-demo-cw8z -e dev --json
{
  "pipeline": "github-demo-cw8z",
  "phase": "dev",
  "models": []
}

models get

Usage: stackblaze models get [options] <name>

Show an AI model: URL, status, machine, copies, sleep policy; while it starts,
the step, percent and download speed

Options:
  --api-url <url>        StackBlaze API base URL (env STACKBLAZE_API_URL)
  --token <token>        API token, sb_pat_... (env STACKBLAZE_TOKEN)
  -p, --project <name>   Project name
  -e, --env <name>       Environment name (default: production)
  --json                 Output JSON (same as -o json) (default: false)
  -o, --output <format>  Output format: text or json (choices: "text", "json")
  -h, --help             Print help

models deploy

Usage: stackblaze models deploy|create [options] <model>

Deploy an AI model: a catalog id or any Hugging Face id (owner/name)

Options:
  --api-url <url>          StackBlaze API base URL (env STACKBLAZE_API_URL)
  --token <token>          API token, sb_pat_... (env STACKBLAZE_TOKEN)
  -p, --project <name>     Project name
  -e, --env <name>         Environment name (default: production)
  --json                   Output JSON (same as -o json) (default: false)
  --name <name>            Name of the model in the environment (default: a
                           generated one)
  --region <id>            Where its GPUs are rented, from `models sizes`
                           (default: the default region)
  --copies <n>             How many machines run the model and share the
                           requests (plan-limited, default 1)
  --gpu-type <name>        Pin every machine to one GPU type from `models
                           sizes` (default: any GPU of the class it needs)
  --always-on              Never sleep (billed while it runs) (default: false)
  --sleep-after <seconds>  On demand: sleep after this many seconds without
                           requests (300, 900 or 3600)
  --wait                   Poll until the model is running (default: false)
  --timeout <seconds>      Max --wait time (default 1800)
  -o, --output <format>    Output format: text or json (choices: "text",
                           "json")
  -h, --help               Print help

Examples:
  $ stackblaze models deploy Qwen/Qwen3-8B --wait
  $ stackblaze models deploy Qwen/Qwen3-8B --name chat --region eu --copies 2
  $ stackblaze models deploy Qwen/Qwen3-8B --always-on --gpu-type H200

The model decides its machine: one GPU of the class it needs, or one machine
with 2, 4 or 8 GPUs when no single GPU holds it. Before creating, the command
prints (stderr) what the model will run on, the price range of one copy per
hour and your GPU credit. A model that cannot run exits 1 with the reason.

GPU time is paid from prepaid GPU credit. The deploy is refused (exit 3)
when the credit does not cover one hour at the model's highest price: add
credit with `stackblaze billing gpu-credit add <amount>`. Models are paused
when the credit runs out.

On demand (the default) the model sleeps after that many seconds without requests
and wakes on the next request, in about a minute; asleep it is billed for its disk
only. --always-on keeps it up, billed while it runs. The server offers 300, 900
and 3600 seconds.

--wait prints the step, percent and download speed on stderr as they change
and exits 1 when the model failed or is not running within --timeout. With
--json the result is one document, with the wait under "wait". The API key
is never printed here: `stackblaze models key <name>`.
AI models may be switched off on your platform or not be part of your plan:
the command then exits 3 and says which.

models check

Usage: stackblaze models check [options] <model>

Look a model up without deploying: the machine it needs, whether it is gated,
or why it cannot run (exit 1)

Options:
  --api-url <url>        StackBlaze API base URL (env STACKBLAZE_API_URL)
  --token <token>        API token, sb_pat_... (env STACKBLAZE_TOKEN)
  --json                 Output JSON (same as -o json) (default: false)
  --region <id>          Price it for this region
  --gpu-type <name>      Price it pinned to this GPU type
  -o, --output <format>  Output format: text or json (choices: "text", "json")
  -h, --help             Print help

Example

Check a model before you deploy it: the GPU it needs and the price of one copy:

stackblaze models check Qwen/Qwen3-8B
OK Qwen/Qwen3-8B can be deployed
runs on  24 GB GPU per copy
price    from $0.25 up to $0.52 per hour, per copy
gated    no

A gated model needs its licence accepted on Hugging Face first. --region prices it for one region:

stackblaze models check meta-llama/Llama-3.1-8B-Instruct --region eu
OK meta-llama/Llama-3.1-8B-Instruct can be deployed
runs on  24 GB GPU per copy
needs    about 23 GB of GPU memory
download 16.1 GB
price    from $0.25 up to $0.52 per hour, per copy
gated    yes
meta-llama/Llama-3.1-8B-Instruct is gated: accept its licence on Hugging Face, then sign in with that account.
Usage: stackblaze models search [options] <query>

Search Hugging Face for chat models to deploy (most downloaded first)

Options:
  --api-url <url>        StackBlaze API base URL (env STACKBLAZE_API_URL)
  --token <token>        API token, sb_pat_... (env STACKBLAZE_TOKEN)
  --json                 Output JSON (same as -o json) (default: false)
  -o, --output <format>  Output format: text or json (choices: "text", "json")
  -h, --help             Print help

Example

Search Hugging Face for chat models. The machine column says which GPU each one needs:

stackblaze models search qwen3
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Model                                      β”‚ Machine    β”‚ Gated β”‚ Parameters β”‚ Downloads β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Qwen/Qwen3-0.6B                            β”‚ 16 GB GPU  β”‚ no    β”‚ 751.6M     β”‚ 14.4M     β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Qwen/Qwen3-14B                             β”‚ 48 GB GPU  β”‚ no    β”‚ 14.8B      β”‚ 13.4M     β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Qwen/Qwen3-4B-Instruct-2507                β”‚ 16 GB GPU  β”‚ no    β”‚ 4.0B       β”‚ 11.4M     β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Qwen/Qwen3.8-27B-FP8                       β”‚ 48 GB GPU  β”‚ no    β”‚ 27.8B      β”‚ 7.0M      β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Qwen/Qwen3.8-27B                           β”‚ 80 GB GPU  β”‚ no    β”‚ 27.8B      β”‚ 6.0M      β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Qwen/Qwen3.5-9B                            β”‚ 48 GB GPU  β”‚ no    β”‚ 9.7B       β”‚ 6.0M      β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Qwen/Qwen3-8B                              β”‚ 24 GB GPU  β”‚ no    β”‚ 8.2B       β”‚ 5.9M      β”‚
…

models sizes

Usage: stackblaze models sizes|options [options]

GPU classes and price ranges, regions, GPU types you can pin, catalog models
and your plan's limits

Options:
  --api-url <url>        StackBlaze API base URL (env STACKBLAZE_API_URL)
  --token <token>        API token, sb_pat_... (env STACKBLAZE_TOKEN)
  --json                 Output JSON (same as -o json) (default: false)
  -o, --output <format>  Output format: text or json (choices: "text", "json")
  -h, --help             Print help

Prices are ranges per hour: from the cheapest machine for rent now up to the
most a machine of that class can cost. Counts and "from" prices are as of
the time shown; when the server has no count the table says so.

Example

GPU classes and their prices, the regions, the GPU types you can pin, the catalog models and your plan's limits:

stackblaze models sizes
GPU classes (as of 2026-11-25 13:58 UTC)
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Size   β”‚ GPU memory β”‚ Price per GPU                     β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ small  β”‚ 16 GB      β”‚ from $0.12 up to $0.29 per hour   β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ medium β”‚ 24 GB      β”‚ from $0.25 up to $0.52 per hour   β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ large  β”‚ 48 GB      β”‚ from $0.51 up to $0.92 per hour   β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ gpu80  β”‚ 80 GB      β”‚ from $1.02 up to $1.50 per hour   β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ gpu94  β”‚ 94 GB      β”‚ from $1.41 up to $2.76 per hour   β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ gpu140 β”‚ 140 GB     β”‚ from $4.63 up to $6.90 per hour   β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ gpu178 β”‚ 178 GB     β”‚ from $10.90 up to $14.95 per hour β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
Regions
β”Œβ”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚     β”‚ Region β”‚ Name          β”‚ GPUs for rent β”‚
β”œβ”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ *   β”‚ us     β”‚ United States β”‚ 47            β”‚
β”œβ”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚     β”‚ ca     β”‚ Canada        β”‚ 16            β”‚
β”œβ”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚     β”‚ eu     β”‚ Europe        β”‚ 63            β”‚
β”œβ”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚     β”‚ apac   β”‚ Asia Pacific  β”‚ 26            β”‚
β”œβ”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚     β”‚ any    β”‚ Any region    β”‚ 171           β”‚
β””β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
GPU types you can pin (--gpu-type)
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Type               β”‚ Machine   β”‚ For rent β”‚ Price per machine                  β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ RTX A4000          β”‚ 16 GB     β”‚ 10       β”‚ from $0.12 up to $0.18 per hour    β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ RTX 4060 Ti        β”‚ 16 GB     β”‚ 11       β”‚ from $0.13 up to $0.20 per hour    β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ RTX 5060 Ti        β”‚ 16 GB     β”‚ 27       β”‚ from $0.15 up to $0.22 per hour    β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
…
Catalog models
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Model                                    β”‚ Name                    β”‚ Smallest size β”‚ Licence    β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Qwen/Qwen3-4B                            β”‚ Qwen3 4B                β”‚ small         β”‚ Apache 2.0 β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Qwen/Qwen3-8B                            β”‚ Qwen3 8B                β”‚ medium        β”‚ Apache 2.0 β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
…
Any other Hugging Face chat model works too: stackblaze models search <query>
Your plan: up to 6 copies of a model, machines with up to 8 GPUs.
Asleep, a model is billed for its disk only: up to $0.02 per hour.
GPU credit: $6.66 (add more: stackblaze billing gpu-credit add <amount>)
* = default region. Prices are per hour while a machine runs.

models sleep

Usage: stackblaze models sleep [options] <name>

Put an AI model to sleep now (no GPU runs; the model stays on disk)

Options:
  --api-url <url>        StackBlaze API base URL (env STACKBLAZE_API_URL)
  --token <token>        API token, sb_pat_... (env STACKBLAZE_TOKEN)
  -p, --project <name>   Project name
  -e, --env <name>       Environment name (default: production)
  --json                 Output JSON (same as -o json) (default: false)
  -o, --output <format>  Output format: text or json (choices: "text", "json")
  -h, --help             Print help

models wake

Usage: stackblaze models wake [options] <name>

Wake a sleeping AI model (about a minute)

Options:
  --api-url <url>        StackBlaze API base URL (env STACKBLAZE_API_URL)
  --token <token>        API token, sb_pat_... (env STACKBLAZE_TOKEN)
  -p, --project <name>   Project name
  -e, --env <name>       Environment name (default: production)
  --json                 Output JSON (same as -o json) (default: false)
  -o, --output <format>  Output format: text or json (choices: "text", "json")
  -h, --help             Print help

AI models may be switched off on your platform or not be part of your plan:
the command then exits 3 and says which.

models delete

Usage: stackblaze models delete|rm [options] <name>

Delete an AI model and release its GPU (confirm by typing its name)

Options:
  --api-url <url>        StackBlaze API base URL (env STACKBLAZE_API_URL)
  --token <token>        API token, sb_pat_... (env STACKBLAZE_TOKEN)
  -p, --project <name>   Project name
  -e, --env <name>       Environment name (default: production)
  --json                 Output JSON (same as -o json) (default: false)
  -y, --yes              Skip the confirmation prompt (default: false)
  -o, --output <format>  Output format: text or json (choices: "text", "json")
  -h, --help             Print help

models rename

Usage: stackblaze models rename [options] <name> <new-name>

Rename an AI model (its URL and API key do not change)

Options:
  --api-url <url>        StackBlaze API base URL (env STACKBLAZE_API_URL)
  --token <token>        API token, sb_pat_... (env STACKBLAZE_TOKEN)
  -p, --project <name>   Project name
  -e, --env <name>       Environment name (default: production)
  --json                 Output JSON (same as -o json) (default: false)
  -o, --output <format>  Output format: text or json (choices: "text", "json")
  -h, --help             Print help

models scale

Usage: stackblaze models scale [options] <name>

Change how many copies (machines) run the model (plan-limited)

Options:
  --api-url <url>        StackBlaze API base URL (env STACKBLAZE_API_URL)
  --token <token>        API token, sb_pat_... (env STACKBLAZE_TOKEN)
  -p, --project <name>   Project name
  -e, --env <name>       Environment name (default: production)
  --json                 Output JSON (same as -o json) (default: false)
  --copies <n>           Copies of the model
  -o, --output <format>  Output format: text or json (choices: "text", "json")
  -h, --help             Print help

models set

Usage: stackblaze models set [options] <name>

Change when the model sleeps: --sleep-after <seconds> (on demand) or
--always-on

Options:
  --api-url <url>          StackBlaze API base URL (env STACKBLAZE_API_URL)
  --token <token>          API token, sb_pat_... (env STACKBLAZE_TOKEN)
  -p, --project <name>     Project name
  -e, --env <name>         Environment name (default: production)
  --json                   Output JSON (same as -o json) (default: false)
  --sleep-after <seconds>  Sleep after this many seconds without requests (300,
                           900 or 3600)
  --always-on              Never sleep (billed while it runs) (default: false)
  -o, --output <format>    Output format: text or json (choices: "text",
                           "json")
  -h, --help               Print help

On demand (the default) the model sleeps after that many seconds without requests
and wakes on the next request, in about a minute; asleep it is billed for its disk
only. --always-on keeps it up, billed while it runs. The server offers 300, 900
and 3600 seconds.

models replace-gpu

Usage: stackblaze models replace-gpu [options] <name>

Release the model's GPU and rent a fresh one: same URL and key, a cold start
follows (confirm by typing its name)

Options:
  --api-url <url>        StackBlaze API base URL (env STACKBLAZE_API_URL)
  --token <token>        API token, sb_pat_... (env STACKBLAZE_TOKEN)
  -p, --project <name>   Project name
  -e, --env <name>       Environment name (default: production)
  --json                 Output JSON (same as -o json) (default: false)
  -y, --yes              Skip the confirmation prompt (default: false)
  -o, --output <format>  Output format: text or json (choices: "text", "json")
  -h, --help             Print help

AI models may be switched off on your platform or not be part of your plan:
the command then exits 3 and says which.

models logs

Usage: stackblaze models logs [options] <name>

An AI model's logs: its lifecycle events, or the model server's own output

Options:
  --api-url <url>        StackBlaze API base URL (env STACKBLAZE_API_URL)
  --token <token>        API token, sb_pat_... (env STACKBLAZE_TOKEN)
  -p, --project <name>   Project name
  -e, --env <name>       Environment name (default: production)
  --json                 Output JSON (same as -o json) (default: false)
  --source <source>      events (rented, loading, asleep…) or model (the model
                         server) (default: "events")
  -o, --output <format>  Output format: text or json (choices: "text", "json")
  -h, --help             Print help

models metrics

Usage: stackblaze models metrics [options] <name>

Requests, response time, tokens, errors and GPU load of an AI model over a
window

Options:
  --api-url <url>        StackBlaze API base URL (env STACKBLAZE_API_URL)
  --token <token>        API token, sb_pat_... (env STACKBLAZE_TOKEN)
  -p, --project <name>   Project name
  -e, --env <name>       Environment name (default: production)
  --json                 Output JSON (same as -o json) (default: false)
  --since <window>       Window from 5m to 7d, e.g. 1h, 24h or 7d (default:
                         "1h")
  -o, --output <format>  Output format: text or json (choices: "text", "json")
  -h, --help             Print help

models url

Usage: stackblaze models url [options] <name>

Print the model's OpenAI-compatible base URL (append /chat/completions)

Options:
  --api-url <url>        StackBlaze API base URL (env STACKBLAZE_API_URL)
  --token <token>        API token, sb_pat_... (env STACKBLAZE_TOKEN)
  -p, --project <name>   Project name
  -e, --env <name>       Environment name (default: production)
  --json                 Output JSON (same as -o json) (default: false)
  -o, --output <format>  Output format: text or json (choices: "text", "json")
  -h, --help             Print help

models key

Usage: stackblaze models key [options] <name>

Print the model's API key (stdout; --json: the "key" field). No other command
prints it

Options:
  --api-url <url>        StackBlaze API base URL (env STACKBLAZE_API_URL)
  --token <token>        API token, sb_pat_... (env STACKBLAZE_TOKEN)
  -p, --project <name>   Project name
  -e, --env <name>       Environment name (default: production)
  --json                 Output JSON (same as -o json) (default: false)
  -o, --output <format>  Output format: text or json (choices: "text", "json")
  -h, --help             Print help

The key is a credential: the server records who read it. Use it as the
bearer token of the model's URL, e.g.:
  $ curl "$(stackblaze models url chat)/chat/completions" \
      -H "Authorization: Bearer $(stackblaze models key chat)" \
      -H 'Content-Type: application/json' \
      -d '{"model":"Qwen/Qwen3-8B","messages":[{"role":"user","content":"Hello"}]}'

On this page