> ## Documentation Index
> Fetch the complete documentation index at: https://docs.infercrane.com/llms.txt
> Use this file to discover all available pages before exploring further.

# InferCrane v2.3.1

> A failed hosted request no longer keeps its hold on your balance, hosted requests and sign-ups have clear limits, infercrane start ends with a deploy command that works, and a first-model guide for newcomers.

# InferCrane v2.3.1

`v2.3.1` fixes what a new hosted workspace ran into on launch day. A hosted request that fails now
gives its hold back to your balance. Hosted requests and new sign-ups have limits that answer with
a clear message. `infercrane start` ends with a deploy command that works for your workspace, and
a new guide takes you from an account to a first answer.

## Install

```bash theme={"theme":"css-variables"}
brew upgrade infercrane
python3 -m venv .venv
.venv/bin/python -m pip install 'infercrane==2.3.1'
npm install '@infercrane/sdk@2.3.1'
docker pull ghcr.io/infercrane/infercrane:v2.3.1
```

Then sign in with `infercrane login`.

## What changed for a hosted user

* **A failed request no longer holds your balance.** Before each hosted request, InferCrane holds
  a fixed amount from your prepaid balance. In `v2.3.0` a request that failed at the model provider
  could keep that hold until someone resolved it by hand, so a few errors could lock a small balance
  out with `402`. Now the hold comes back within seconds when the provider refuses or fails before
  answering, when an answer fails before any of it reaches you, or when a stream breaks before any
  text. You pay only for output you could have received. A hold that cannot be resolved at all is
  released without charge two hours after the request started. Read
  [what a failed request costs](https://docs.infercrane.com/model-apis.md#what-a-failed-request-costs).
* **Request limits answer `429` with `Retry-After`.** Each workspace can send 300 hosted requests a
  minute, with bursts of 60, and have 32 running at once. Over either limit, the request answers
  `429` with `error.code` `rate_limit_exceeded` and a `Retry-After` header, and nothing is held
  from your balance. Wait that long and send it again. A `429` without that code comes from the
  model provider. Read [handle capacity safely](https://docs.infercrane.com/model-apis.md#handle-capacity-safely).
* **A busy sign-up says so.** When many people sign up at once, creating your workspace can be
  refused for a minute with `429 signup_rate_limited`: "Many people are signing up right now, so
  your workspace could not be created yet. Your sign-in worked; reload the page in a minute."
  Existing workspaces are not affected.
* **`infercrane start` ends with a deploy command that works.** On the hosted service a deployment
  runs on your own RunPod account. `infercrane start` and `infercrane models check` now look at
  what your workspace has connected. With a RunPod connection, the last line is
  `infercrane deploy start.yaml --compute-connection NAME --wait`. Without one, it says to connect
  your RunPod account under Settings → Connections first.
* **A deploy refused for a missing connection says what to do.** The `409
  compute_connection_required` answer says no RunPod account is connected and names the one fix:
  connect it in the dashboard, then deploy with `--compute-connection NAME`.
* **Prepaid GPUs are not offered on the hosted service.** `--infercrane-cloud` help and the docs
  now say so, and a deploy that asks for them is refused with the RunPod path.

## For a self-hosted control plane

* **Suspend a workspace.** The bootstrap key can suspend and restore a workspace through
  `POST` and `DELETE /api/v1/admin/workspaces/{id}/suspension`, audited in that workspace. Its keys
  and sessions then get `403 workspace_suspended`. Running deployments keep running. Read
  [suspending a workspace](https://docs.infercrane.com/security.md#suspending-a-workspace).
* **Limits you can set.** `INFERCRANE_HOSTED_MODEL_API_REQUESTS_PER_MINUTE`,
  `INFERCRANE_HOSTED_MODEL_API_CONCURRENT_REQUESTS`, `INFERCRANE_HOSTED_SIGNUPS_PER_MINUTE`,
  `INFERCRANE_HOSTED_SIGNUP_BURST` and `INFERCRANE_HOSTED_SIGNUPS_PER_USER_PER_HOUR`. The limits are
  kept in memory, so the request path still never reads the database.
* **Holds an operator can resolve.** `GET /api/v1/admin/model-api/usage-reservations` lists open
  holds, and `POST .../usage-reservations/{id}/resolution` releases or settles one, audited in the
  customer's workspace.
* **Refusals are logged and counted.** Refused hosted requests, supplier errors, released holds
  and refused Stripe webhooks are logged with identifiers only, never prompts, keys or signatures.
  `/metrics` adds `infercrane_model_api_refusals_total`,
  `infercrane_model_api_supplier_errors_total`, `infercrane_model_api_hold_evidence_total` and
  `infercrane_stripe_webhook_failures_total`.

## Documentation

* **[Your first open model](https://docs.infercrane.com/first-model.md)** is a new guide for people deploying an open model for
  the first time. It says what each path needs before you start (a hosted model, your own model on
  RunPod, or a machine you already have), explains the words the other pages assume, and gives
  every step, through deleting the deployment so the provider stops billing.
* The hosted Model API samples use `glm-5.3-flash`, a model the hosted service offers, and say
  where to find a model's ID. [Start from your workload](https://docs.infercrane.com/start.md) uses RunPod and names the compute
  connection. The quickstart signs in with `infercrane login`.
* The README opens with the hosted first run in three commands. It says GCP needs a control plane
  you run yourself.

## Upgrade

The control plane runs one new forward-only database migration on start,
`104_workspace_suspensions` (a new table). Back up the database before you upgrade, as for every
release.

## Qualification

This release passed the repository's full local gate before tagging, and is built and scanned by
the release workflow. Measured results for a specific model, runtime, accelerator and workload are
on the evidence pages they link to; nothing here generalises them. Review
[compatibility and qualification](https://docs.infercrane.com/compatibility.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.