These routes live in allternit-cloud-api and are served at https://api.allternit.com. They take a Clerk session or an Allternit API key (alt_…, created under ACI › Operator keys; legacy allternit_* tokens still work). A signed-in account with no computer does not reach agent work until it links its own Desktop app, subscribes, or buys credits for a hosted computer. Chat with Allternit Cloud models works without a computer once the account has credits (a balance above $0); Free accounts don’t include Cloud usage. Plans and API keys the person connects work without credits. Hosted computers run on a third-party cloud provider, managed by Allternit. They sleep when idle.

Get compute status

GET /api/v1/account/compute-status
Prices, sizes and included hours shown here are not final. Read them from paths, do not hard-code them. Plan sizes come from the server’s plan table, so they can differ from this example. A plan computer that stopped at $0 credits past its included hours reports suspended (with computer.hours.stopped_for_hours true and no retention_until, because it is kept) even though the plan is active. It can run again at computer.hours.resumes_at or when credits are added. When both your own Desktop and a hosted computer exist, state reports your default computer. A failed hosted create shows as none with computer.status of error for a day, so clients can offer a retry. Free hosted computers do not count.

Acknowledge chat-only

POST /api/v1/account/compute-status/acknowledge with {"choice":"chat_only"} returns {"acknowledged_at":"2026-11-13T15:04:05Z"}. It is safe to repeat. Any other choice returns 400 with error.code of invalid_choice.

The compute_required error

Relay and agent-entry routes answer 409 Conflict when the account has no computer:
paths is the same object as in compute status. Switch on error.code, not on the status alone. Runtime-backed reads (the model list, inbox, agents, routines, connectors) also answer this error on every page load while the account has no computer. The web, Desktop and phone app show the full gate from compute status until the user confirms chat-only, and the banner after that. A compute_required answer to a GET never opens the gate by itself. An action (POST, PUT, PATCH, DELETE) opens it, and after chat-only the user can close it. Create a code with POST /api/v1/runtime-pairings, open the download page with ?pair=CODE, and the Desktop app handles the existing link allternit://pair?code=CODE. Poll GET /api/v1/runtime-pairings/code/{code} until it is approved.

Credit computers

Both credit routes answer 404 while credit computers are not enabled. Billing is per minute: the running price while it runs, the stopped price while it is stopped or asleep, both debited from the credit wallet. Starting (also restarting a stopped-at-$0 computer) needs at least min_start_usd, otherwise the API answers:
with status 402. Warnings come at 24 hours and 2 hours of runway. The computer stops at $0 and the state becomes suspended; its disk is kept until computer.retention_until, then it is deleted. A suspended computer is not billed.

Flags

Prices, the minimum start, retention and the warning emails are set by environment variables listed in Compute providers.