Lifecycle and sizing
A Computer is a long-lived machine. This page covers how fast it starts, the states it moves through, the sizes it runs on, and how to scope it to a workspace.
Fast startup
MIOSA keeps ready desktop capacity on the managed fleet so a new Computer can be assigned instead of cold-booted from scratch. The production acceptance test measures the complete user-visible path from creation to the first usable desktop frame.
The verified 2026-08-06 canary completed 10 of 10 warm launches and reached a browser-ready desktop in a median 740 ms:
| Phase | Time |
|---|---|
| Create response median | 348 ms |
| Create request to browser-ready desktop median | 740 ms |
| Create request to browser-ready desktop p90 | 809 ms |
| Slowest sample | 942 ms |
This is a dated warm-path canary, not a guarantee that every region and capacity condition will complete inside the sampled range. See Fast start & readiness for the readiness contract, measurement boundary, and troubleshooting guidance.
Lifecycle
| State | Description |
|---|---|
provisioning | The VM is being claimed, restored, and prepared |
running | Desktop is up, streamable, and accepting API actions |
stopped | Compute is stopped and filesystem state is preserved |
recovering | MIOSA is restoring a desired-running Computer after host maintenance |
error | Recovery did not complete; the preserved disk or snapshot remains available for retry |
deleted | Permanent deletion; not reversible |
A stopped computer is not billed for compute; its disk is billed at $0.018 per GiB-month while it is stopped. Restarting resumes from the snapshot.
During host maintenance, MIOSA preserves Computer identity, disk state, snapshots, metadata, and desired state. Computers that were running are restored and verified before the host returns to active service. Intentionally stopped Computers remain stopped.
If a local resume fails, MIOSA preserves the disk and snapshot instead of replacing the Computer with a blank machine.
Use delete only when the state should be permanently removed.
Named and custom sizing
Computers support named sizes (xs-xl) and arbitrary custom shapes (1-32 vCPU, 1-64 GiB RAM, starting at 1c/1G).
| Size | vCPU | RAM | Default Disk | Shared $/hr | Typical use |
|---|---|---|---|---|---|
xs | 1 | 2 GiB | 10 GiB | $0.0446 | Lightweight desktop tasks |
small | 2 | 4 GiB | 20 GiB | $0.0893 | Default for a single agent and browser |
medium | 4 | 8 GiB | 40 GiB | $0.1785 | Multi-tab browsers, Playwright QA, heavier desktop apps |
large | 8 | 16 GiB | 80 GiB | $0.3570 | Multi-app and large-context AI workloads |
xl | 16 | 32 GiB | 160 GiB | $0.7141 | Intensive parallelism and heavy builds |
Custom (1..32 vCPU, 1..64 GiB) | vcpus | memory_gib | disk_size_mb (default 20 GiB) | Formula | Tailored shapes starting at 1c/1G ($0.0359/hr) |
CPU tiers and elastic autoscale (soma/elastic-7)
- Shared (
cpu_tier: "shared", default):$0.027216/vCPU-hr + $0.0087075/GiB-hr, billed per second while running,$0compute while paused or stopped. - Dedicated 1:1 Performance (
cpu_tier: "dedicated"):$0.040824/vCPU-hr + $0.0087075/GiB-hr(Business & Enterprise) for pinned, noise-free CPU. - Live zero-reboot elastic autoscale (
soma/elastic-7): configurePUT /api/v1/computers/{id}/autosize(min_cpu,max_cpu,min_memory_mb,max_memory_mb) to scale vCPU andvirtio-memmemory live with zero reboot; billed per second for actual live resources.
curl -X PUT "https://api.miosa.ai/api/v1/computers/${COMPUTER_ID}/autosize" \
-H "Authorization: Bearer $MIOSA_API_KEY" -H "Content-Type: application/json" \
-d '{"enabled":true,"min_cpu":1,"max_cpu":8,"min_memory_mb":2048,"max_memory_mb":16384}' Custom images and disk-preserving updates
Pass a tenant-owned template_id at create, and upgrade running or stopped SOMA computers in place without losing state:
curl -X POST "https://api.miosa.ai/api/v1/computers/${COMPUTER_ID}/image" \
-H "Authorization: Bearer $MIOSA_API_KEY" -H "Content-Type: application/json" \
-d '{"template_id":"tpl_qa_desktop_v2"}' POST /api/v1/computers/{id}/image preserves the Computer ID, viewer URL, durable SOMA user disk (/opt/user), and attached persistent volumes while swapping the root image.
Transparent wake-on-exec and branching
auto_wake: pass"auto_wake": trueonPOST /api/v1/computers/{id}/exec(or setsettings.auto_wake = true) to transparently wake paused/stopped computers (up to25000 ms).- Clone & branch:
POST /api/v1/computers/{id}/cloneandPOST /api/v1/computers/{id}/branchesfork desktop state for parallel QA or agent fan-out.
GPU is not productized: the public API does not currently schedule GPU-backed desktops.
Workspace-scoped creation
Computers can be created inside a named workspace so that resources are isolated and billed separately. Pass external_workspace_id to attribute the computer to a tenant in your platform.
external_workspace_id is a free-form string you control.
Use your own tenant, org, customer, or workspace identifier.
Usage is tracked per workspace in the billing dashboard so you can attribute compute costs to individual customers.