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:

PhaseTime
Create response median348 ms
Create request to browser-ready desktop median740 ms
Create request to browser-ready desktop p90809 ms
Slowest sample942 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

create creates provisioning; provisioning goes to running on ready; running goes to stopped on stop, and back to running on start.
running goes to recovering on host maintenance; recovering goes to running on restored.
recovering goes to error on recovery fails.
running or stopped goes to deleted on delete.
StateDescription
provisioningThe VM is being claimed, restored, and prepared
runningDesktop is up, streamable, and accepting API actions
stoppedCompute is stopped and filesystem state is preserved
recoveringMIOSA is restoring a desired-running Computer after host maintenance
errorRecovery did not complete; the preserved disk or snapshot remains available for retry
deletedPermanent 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).

SizevCPURAMDefault DiskShared $/hrTypical use
xs12 GiB10 GiB$0.0446Lightweight desktop tasks
small24 GiB20 GiB$0.0893Default for a single agent and browser
medium48 GiB40 GiB$0.1785Multi-tab browsers, Playwright QA, heavier desktop apps
large816 GiB80 GiB$0.3570Multi-app and large-context AI workloads
xl1632 GiB160 GiB$0.7141Intensive parallelism and heavy builds
Custom (1..32 vCPU, 1..64 GiB)vcpusmemory_gibdisk_size_mb (default 20 GiB)FormulaTailored 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, $0 compute 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): configure PUT /api/v1/computers/{id}/autosize (min_cpu, max_cpu, min_memory_mb, max_memory_mb) to scale vCPU and virtio-mem memory 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": true on POST /api/v1/computers/{id}/exec (or set settings.auto_wake = true) to transparently wake paused/stopped computers (up to 25000 ms).
  • Clone & branch: POST /api/v1/computers/{id}/clone and POST /api/v1/computers/{id}/branches fork 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.

Was this page helpful?
Opening MIOSA…