Coasty Computer Use API Pricing: Every Endpoint, Every Cent
Sophia Martinez||7 min
Alt+F4
You are building automation that drives desktops, browsers, and terminals. You need to see the screen and act like a human, not rely on brittle selectors. The Coasty computer use API gives you that by sending a screenshot and instruction, then receiving actions. But every request has a cost. You need to know every endpoint's price before you scale to production. This guide lists every endpoint, every field, and every cent.
Pricing overview
- ●1 credit equals $0.01 USD.
- ●All prices are per request or per step.
- ●You manage a prepaid USD wallet via the Coasty dashboard or API.
Stateless vision endpoints
- ●POST /v1/predict ($0.05). Takes a base64 screenshot, instruction, and cua_version. Returns actions and a status. Loop capture, predict, act until status is done.
- ●POST /v1/parse (free). Converts pyautogui code into structured actions.
- ●POST /v1/ground ($0.03). Maps a screenshot plus element description to x,y coordinates for pointing.
Stateful session endpoints
- ●POST /v1/sessions ($0.10). Creates a session with a stateful trajectory memory. You then call /v1/sessions/{id}/predict ($0.04) with the same screenshot and instruction.
- ●Sessions keep history across steps so the model can reason about earlier actions.
Task run pricing
- ●POST /v1/runs ($0.05 per agent step). The server drives an agent to completion. Pass cua_version (default v3; v4 is autonomous with a pass/fail verifier). Include machine_id, task, optional instructions, system_prompt, max_steps, deadline_seconds, on_awaiting_human (pause/fail/cancel), and webhook_url.
- ●GET /v1/runs, GET /v1/runs/{id}, GET /v1/runs/{id}/events, POST /v1/runs/{id}/cancel, POST /v1/runs/{id}/resume are free.
Workflow pricing
- ●POST /v1/workflows, POST /v1/workflows/{id}/runs, POST /v1/workflows/runs are free.
- ●Task steps inside workflows cost $0.05 each.
- ●Workflow DSL supports task, assert, if, loop, parallel, human_approval, retry, succeed, fail with variables like {{inputs.x}} and stepId.field. Guard against overruns with budget_cents, max_iterations, and deadline_seconds.
Machines
- ●POST /v1/machines provisions a cloud VM you can start, stop, and snapshot. The agent drives real desktops, browsers, and terminals.
- ●Machine provisioning is billed by the cloud provider, not by Coasty.
Billing and keys
- ●Use a prepaid USD wallet. 1 credit is $0.01.
- ●Auth header X-API-Key: <key> or Authorization: Bearer <key>. Read COASTY_API_KEY from the environment, never hardcode.
- ●Scopes gate keys. Errors: 401 invalid key, 402 INSUFFICIENT_CREDITS, 403 INSUFFICIENT_SCOPE, 429 rate limit.
- ●Webhooks are HMAC signed (header Coasty-Signature: t=unix,v1=hex).
- ●Idempotency-Key is supported only for the 18 documented reserve-and-replay operations when it is present on the original request.
Remember: 1 credit = $0.01, 1 credit = 1 cent.
Where computer use beats brittle automation
- ●API-only tools break when UI changes. Coasty sees the screen and uses natural language to navigate, making it more resilient to layout shifts.
- ●Selectors and element locators require maintenance. Computer use lets you describe what to do in plain language, reducing maintenance overhead.
- ●Stateful sessions keep a trajectory of actions, enabling the model to reason about prior steps and adapt.
You now have a complete, cent-by-cent breakdown of the Coasty computer use API. Start building robust automation that drives desktops and browsers. Get a key at https://coasty.ai/developers.