Instances
Rent a model by the second. While it runs, every call to it is included: no per-token cost.
How it works
- 1Start onePick a model, a size and how long in the console under Instances, call
POST /api/v1/instances, or ask your agent (the MCP toolstart_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). - 2Call the model as usualNothing 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. - 3Stop itPress Stop, call
POST /api/v1/instances/{id}/stop, or usestop_instance. Billing ends that second, and calls are billed per token again.
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.
| Model | Sized like | Streams | Tokens/s per stream | Context |
|---|---|---|---|---|
| GLM-5.3 glm-5.3 | 8×H200-class | 16 | 50 | 128k |
| Kimi K3 kimi-k3 | 8×B300-class | 32 | 50 | 256k |
| Kimi K3.1 Pro kimi-k3.1-pro | 8×B300-class | 32 | 50 | 256k |
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 hardwarecurl -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.