create_computer · Create a computer
may change things: you confirm before it runsCreates a cloud computer (a Linux microVM on Vercel Sandbox: Ubuntu, Node 24, Python 3.14, git, gh, Claude Code, Codex, OpenCode) and starts its first session for the minutes you choose. Optionally clones a public Git repo into ~/<repo>. Returns the computer id, a computer token (shown once), preview URLs for its ports and the clone run. Free: small, up to 10 minutes, 2 a day per IP. A wallet's API key adds a one-time 30-minute trial; after that credits pay 1-4 per minute. A session runs at most 2 hours and must fit the daily compute budget (see pricing); past it the call fails with nothing charged.
Input schema
{
"type": "object",
"properties": {
"repo": {
"type": "string",
"description": "Optional public https Git URL, like https://github.com/vercel/next-learn."
},
"branch": {
"type": "string",
"description": "Optional branch or tag."
},
"size": {
"type": "string",
"enum": [
"small",
"medium",
"large"
],
"description": "Machine size: small (2 vCPU, 4 GB, 1 credit/min), medium (4 vCPU, 8 GB, 2/min), large (8 vCPU, 16 GB, 4/min)."
},
"minutes": {
"type": "integer",
"description": "Session length, 5-120 (default 30; free sessions up to 10).",
"minimum": 1,
"maximum": 120
},
"ports": {
"type": "array",
"items": {
"type": "integer"
},
"description": "Up to 4 ports to expose as public preview URLs (default 3000, 5173, 8080)."
},
"name": {
"type": "string",
"description": "Optional display name."
},
"billing": {
"type": "string",
"enum": [
"auto",
"trial",
"credits",
"free"
],
"description": "How to pay: auto (default: wallet trial, then credits, then the free tier), trial, credits or free."
}
},
"additionalProperties": false
}