Coasty Computer Use API Pricing: Every Endpoint, Every Cent
Transparent billing is essential when you scale a computer use agent. The Coasty computer use API charges per operation and per agent step, not per hour. This guide lists every endpoint, its cost, and the fields you must include, so you can model spend before you ship.
Pricing model overview
- ●1 credit equals $0.01 USD
- ●You manage a prepaid wallet
- ●Webhooks are HMAC signed with header Coasty-Signature
- ●Idempotency-Key header makes writes safe to retry
- ●Scopes gate keys at the account level
curl https://coasty.ai/v1/runs \
-H 'X-API-Key: $COASTY_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"machine_id": "vm-123",
"task": "Open chrome and navigate to cozy.ai",
"cua_version": "v3",
"max_steps": 20,
"deadline_seconds": 60,
"on_awaiting_human": "pause"
}'Pricing by endpoint
- ●POST /v1/predict: $0.05 per call
- ●POST /v1/sessions: $0.10 to start a session
- ●POST /v1/sessions/{id}/predict: $0.04 per call
- ●POST /v1/ground: $0.03 per call
- ●POST /v1/parse: free
- ●POST /v1/runs: $0.05 per agent step
- ●POST /v1/workflows: $0.05 per agent step in task steps
- ●POST /v1/machines: provision at provision time, billed by usage
Task Runs pricing
- ●Billed $0.05 per agent step
- ●POST /v1/runs accepts machine_id, task, cua_version (v3 or v4), instructions, system_prompt, max_steps, deadline_seconds, on_awaiting_human, webhook_url
- ●States: queued, running, awaiting_human, succeeded, failed, cancelled, timed_out
- ●GET /v1/runs, GET /v1/runs/{id}, POST /v1/runs/{id}/cancel, POST /v1/runs/{id}/resume
- ●GET /v1/runs/{id}/events streams Server-Sent Events with Last-Event-ID reconnect
Vision and stateful sessions
- ●POST /v1/predict: takes base64 screenshot, instruction, cua_version, returns actions and status; loop capture, predict, act until status is done
- ●POST /v1/sessions: $0.10 to start a stateful trajectory memory session
- ●POST /v1/sessions/{id}/predict: $0.04 per call, uses session ID for memory
- ●POST /v1/ground: $0.03, maps screenshot + element description to x,y coordinates
- ●POST /v1/parse: free, turns pyautogui code into structured actions
1 credit = $0.01, and every agent step is billed at $0.05.
Where this beats brittle automation
Selectors and API-only tools break when UI changes. With the Coasty computer use API, you send a screenshot and an instruction, and the agent drives the real desktop, browser, or terminal like a human. This means your agent adapts to layout changes, missing elements, and dynamic text without brittle selectors. It also works on legacy apps and non-API-first services.
Use this breakdown to model agent costs. Start building agents that act like humans on desktops and browsers. Get your key at https://coasty.ai/developers to begin.