Skip to content

Search bFLOPS

Pages, GPUs on the list, your machines and actions.

Language中文

Quotes

Get your price for a machine or cluster, held for 60 seconds, before you start it.

View as Markdown
POST/api/v1/quotesNeeds an API key

A quote is your price for one machine or cluster. Start it within 60 seconds with POST /rentals. Quotes are free and start nothing.

Body

FieldTypeRequiredWhat it is
offer_idstringYesAn id from /machines or /clusters
kindstringNoon_demand or interruptible; the machine's own when left out
gpusnumberNo1, 2, 4 or 8 GPUs per machine; the machine's own when left out
any_countrybooleanNoIf this exact machine is taken, a like one in another country may stand in. true by default
curl https://bflops.com/api/v1/quotes \
  -H "Authorization: Bearer $BFLOPS_KEY" \
  -H "Content-Type: application/json" \
  -d '{"offer_id": "s4821", "kind": "on_demand"}'
201
{
  "quote": {
    "id": "q_9d2c4e1f0a7b4c8e9f1a2b3c4d5e6f70",
    "expires_at": "2026-11-27T09:31:00.000Z",
    "offer_id": "s4821",
    "cluster": false,
    "kind": "on_demand",
    "gpus": 8,
    "nodes": 1,
    "per_gpu_hour_usd": "2.19",
    "per_hour_usd": "17.52",
    "start_needs_usd": "4.38",
    "available_usd": "120.00",
    "enough": true,
    "data_allowed": false
  }
}
  • start_needs_usd: what your balance must have free to start: 15 minutes of this and of everything you run.
  • enough: whether available_usd covers it. If not, top up before you start.
  • data_allowed: whether this start may mount /data.

Errors you may get

CodeStatusWhat to do
not_found404The machine is gone. List again and pick another.
gpus_unavailable409This machine is rented whole: leave out gpus, or ask for all of them.
kind_unavailable409It is not offered that way. Leave out kind.
cluster_needs_established409Your account cannot rent clusters yet.

All codes: Errors.