Instances

Rent a model by the second. While it runs, every call to it is included: no per-token cost.

How it works

  1. 1
    Start one
    Pick a model, a size and how long in the console under Instances, call POST /api/v1/instances, or ask your agent (the MCP tool start_instance). The first minute is billed at once (refunded down to the seconds it ran if you stop it within that minute without calling its model).
  2. 2
    Call the model as usual
    Nothing changes in your code: any of your model keys calls the model by its id at https://api.opencheap.si/v1. While the instance runs, those calls cost nothing per token.
  3. 3
    Stop it
    Press Stop, call POST /api/v1/instances/{id}/stop, or use stop_instance. Billing ends that second, and calls are billed per token again.
Billed per second while it runs, one minute at least unless you stop it within that minute without using it, from your balance. Give it a number of hours and it stops by itself then (you can add time while it runs); leave it out and it runs until you stop it. It also stops when the balance runs out.

Machines

A machine is sized like a share of one 8-GPU node of the class its model is offered on: 1/8 node, 1/4 node, 1/2 node, full node. Each size has a spec: parallel streams, a target output speed per stream and a context. The table shows a full node; a smaller size has its share of the streams at the same speed and context. Runs on the OpenCheap fleet. Speeds are targets for an instance of this size.

ModelSized likeStreamsTokens/s per streamContext
GLM-5.3 glm-5.38×H200-class1650128k
Kimi K3 kimi-k38×B300-class3250256k
Kimi K3.1 Pro kimi-k3.1-pro8×B300-class3250256k

The price is per hour of the machine, shown in the console and by GET /api/v1/instances/types. It follows the market for the model and is fixed for an instance once it starts.

Limits

For its model, an instance replaces your keys' per-token bill and their usual limits with its own, counted for the whole account: its streams (requests running at once), output tokens a minute (streams × tokens a second × 60) and prompt tokens a minute (16× the output). A call past one gets 429 with a Retry-After header: wait and retry, or start a bigger size. One instance runs per model at a time; calls to other models are billed per token as before.

API

The base is https://app.opencheap.si/api/v1, with an agent key or an agent session, as for the rest of the Management API.

GET   /instances/types       what can be started: each model's machines (class, size, spec, limits, price)
POST  /instances             { model, gpuClass?, size?, hours?, instanceName? }: start (201); no hours: runs until stopped
GET   /instances             the account's instances, running ones first
GET   /instances/{id}        one instance: billedSeconds and billedUsd up to now
PATCH /instances/{id}        { hours }: stops that many hours from now (null: no timer)
POST  /instances/{id}/stop   stop it now
POST  /instances/dedicated-requests  { gpuClass, region, model, hoursPerMonth, note? }: ask for dedicated hardware
curl -s -X POST $OPENCHEAP/instances -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
  -d '{ "model": "glm-5.3", "size": 2, "hours": 2, "instanceName": "nightly-batch" }'
# → { "id": "…", "instanceName": "nightly-batch", "status": "running", "gpuClass": "h200", "size": 2, "usdPerHour": …, "stopsAt": "…two hours on…",
#     "spec": { "streams": 4, "tokensPerSecond": 50, "contextTokens": 128000 },
#     "limits": { "maxInflight": 4, "inputTokensPerMinute": 192000, "outputTokensPerMinute": 12000 }, "billedSeconds": 60, … }

# one more hour than planned: three hours from now
curl -s -X PATCH $OPENCHEAP/instances/$ID -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" -d '{ "hours": 3 }'

curl -s -X POST $OPENCHEAP/instances/$ID/stop -H "Authorization: Bearer $KEY"

Errors: 402 insufficient_balance when the balance does not cover the first minute, 409 conflict when that model already runs (the message names the instance), 400 invalid_request for an unknown model, class, size or hours (one minute, 0.0167, to 720), 503 not_configured while no price is known for the model.

From an agent

Over MCP the tools are list_instance_types, start_instance, list_instances, get_instance, update_instance (the timer), stop_instance and request_dedicated_hardware: “start a GLM-5.3 machine, a quarter node, for 2 hours” is enough. Ask your agent to stop the instance when its work is done.