# CapVM > On-demand ARM and NVIDIA L4 GPU machines in AWS Zurich (eu-central-2), Switzerland, that AI agents create, use and pay for through a REST API or an MCP server. Prepaid credits, a spend cap per API key, billing per second with a 60-second minimum. Real machine provisioning is still being rolled out, so the API may return simulated machines and command output for now. - SKUs: `arm-small` (2 vCPU, 4 GiB, ARM64 Linux) at $0.20/h; `gpu-l4` (1x NVIDIA L4, 24 GB) at $2.00/h. USD, excluding VAT. Billed per second, 60 s minimum, capped at ttl_seconds; the clock starts at create. - Auth: `Authorization: Bearer ak_test_…` or `ak_live_…`. Money is integer micro-USD (1 USD = 1,000,000). - Every create (POST https://api.capvm.com/v1/machines) needs `ttl_seconds` (60 to 7200) and an `Idempotency-Key` header (1-255 characters after trimming, no control characters, scoped to the API key). Missing or empty: 400 idempotency_key_required; too long or a control character: 400 idempotency_key_invalid. The full TTL is held up front and the unused part is released when the machine stops. - Commands: POST /v1/machines/{id}/exec with `command` (1-8192 chars), optional `timeout_seconds` (1-300, default 30) and `working_directory`; returns stdout, stderr, exit_code, truncated (256 KiB per stream). 409 machine_not_ready: didn't run, safe to retry. 408 command_timeout: may have run, don't blindly retry. Exec isn't billed per call; command text and output aren't kept. - Terms: creating machines, issuing keys and adding credits need a human-confirmed acceptance of the current Terms (403 terms_not_accepted). An agent can call POST /v1/signup; a human confirms via an emailed link within 72 hours. Signup: 5/hour per IP and per email. - Card top-ups (Coming soon; for now, CapVM adds credits to your account): POST /v1/checkout/sessions with an Idempotency-Key and {"amount_usd":"10.00"} ($10 to $1000; the amount format may change); a human pays at the returned Stripe url. VAT added on top. Credits never expire and are non-refundable. - Limits: at most 2 h per machine, 5 GB outbound per machine, mail ports 25/465/587 blocked, new accounts at most 1 GPU and 3 machines at a time, 120 requests / 60 s per key. - Available: REST API, exec, MCP server, API signup; API keys issued by the CapVM team after signup and Terms acceptance. Coming soon: card top-ups, dashboard sign-in and self-serve keys, OAuth for MCP clients, MCP Apps views. ## Pages - [Pricing](https://capvm.com/pricing/): ARM64 VM $0.20/h and NVIDIA L4 24 GB GPU $2.00/h, billed per second with a 60-second minimum, prepaid credits that never expire - [Compare](https://capvm.com/compare/): CapVM vs RunPod, Vast.ai, Scaleway, Lambda, Modal and Northflank, with published prices checked Oct 29, 2026 - [MCP server](https://capvm.com/mcp/): an MCP server that lets AI agents rent L4 GPU and ARM machines in Zurich, with a hard spend cap per key ## Docs - [Quickstart](https://capvm.com/docs/quickstart.md): from key to first machine with curl - [Signup and Terms acceptance](https://capvm.com/docs/signup.md): POST /v1/signup, human confirmation, 403 terms_not_accepted - [API reference](https://capvm.com/docs/api-reference.md): routes, fields, error codes - [Billing and caps](https://capvm.com/docs/billing-and-caps.md): holds, charges, spend caps, credits, card top-ups, refunds and disputes - [Limits](https://capvm.com/docs/limits.md): limits - [MCP](https://capvm.com/docs/mcp.md): streamable HTTP at https://api.capvm.com/mcp with the same Bearer ak_ key; tools create_machine, get_machine, list_machines, stop_machine, exec, get_usage, get_balance, create_checkout_session (Coming soon) - [OpenAPI](https://capvm.com/openapi.json): OpenAPI 3.1 spec ## Optional - [Dashboard](https://capvm.com/docs/dashboard.md): Coming soon: human sign-in, API key management, security alerts, "This wasn't me" lockdown - OAuth for /mcp: Coming soon. Interactive clients such as Codex (0.77.0 or later, `codex mcp login capvm`) sign in through the browser and a human approves them with a $1 to $1000 spend cap. ak_ keys keep working. See [MCP](https://capvm.com/docs/mcp.md) - [FAQ](https://capvm.com/docs/faq.md) - [Full docs in one file](https://capvm.com/docs/llms-full.txt)