{"uid":"cap_VR85a5GhK_IlUvfxUiW0p","slug":"agentmetal-vps-provisioning-576b6504","name":"AgentMetal VPS Provisioning","description":"Linux VMs from $1.20/day, paid in USDC (x402) or by card. Get an HTTP 402, pay, and SSH in under 60 seconds. You don't need a signup or an API key. Block storage is $0.01/GB/day; Agent Memory is coming soon.","url":"https://api.agentmetal.dev/v1/servers?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["days","plan"],"properties":{"os":{"type":"string","description":"OS image, e.g. ubuntu-24.04 (default) or debian-12."},"days":{"type":"integer","description":"Prepaid lease length in days."},"plan":{"enum":["nano","small","medium"],"type":"string","description":"Server size. See GET /v1/catalog."},"ssh_key":{"type":"string","description":"OpenSSH public key for root login."},"location":{"type":"string","description":"Zone code from GET /v1/catalog. Omit for the default."},"managed_key":{"type":"boolean","description":"Generate a keypair; the private key is returned once."}}},"responseSchema":{"type":"object","required":["id","status","expires_at"],"properties":{"id":{"type":"string"},"ssh":{"type":"string","description":"root@<ip>"},"ipv4":{"type":"string"},"plan":{"type":"string"},"status":{"type":"string"},"expires_at":{"type":"string"},"ssh_private_key":{"type":"string","description":"Only with managed_key:true, returned once."}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"1.2","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$1.2/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"1.2","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"1.2","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ga55vDLptUUN6wm_7nRe4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"1.2","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Provisions a Linux VPS (nano/small/medium) for a prepaid number of days, payable in USDC via x402 or card, returning SSH access credentials within 60 seconds — no signup or API key required.","exampleAgentPrompt":"Spin up a small Ubuntu 24.04 VPS on AgentMetal for 3 days and generate a managed SSH keypair so I can log straight in — just pay with USDC.","exampleUseCases":[{"title":"Ephemeral agent sandbox environment","prompt":"Launch a nano Ubuntu 24.04 server for 1 day on AgentMetal with a managed keypair — I need a throwaway Linux box my agent can run scripts on and I don't want to deal with signups."},{"title":"Multi-day CI runner for a project","prompt":"Provision a medium VPS on AgentMetal for 7 days in the default zone using my SSH key ssh-ed25519 AAAA... so I can use it as a build server for a week."},{"title":"Quick Debian VM for testing","prompt":"I need a small Debian 12 server for 2 days on AgentMetal — generate a managed keypair and give me the private key so I can SSH in immediately after it boots."}],"resultDescription":"Returns a JSON object with the server ID, current status, IPv4 address, SSH connection string (root@<ip>), server plan, and expiry timestamp. If managed_key was true, also includes the SSH private key (returned only once). The server is typically reachable via SSH within 60 seconds of the call.","failureModes":["Payment not completed (402 response) — must pay in USDC via x402 or card before server is provisioned","Invalid plan enum — must be one of nano, small, medium","days must be a positive integer — zero or negative values rejected","Invalid or unsupported OS image string returns 400","Unsupported location/zone code returns 400 — use GET /v1/catalog to list valid zones","Both ssh_key and managed_key provided simultaneously may cause conflict","Server quota or capacity limits in chosen zone may prevent provisioning"],"whenToPreferThis":"Choose this endpoint when you need a real Linux VM quickly without any account registration, want to pay per-day (including in USDC via x402), or are building an AI agent that needs its own ephemeral compute environment. It is especially suited for short-lived automation tasks, throwaway sandboxes, or agentic workflows where the agent itself needs to SSH into a machine. Prefer it over traditional cloud providers (AWS, GCP, DigitalOcean) when you want zero-signup, crypto-native, pay-as-you-go compute at low daily rates.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-01T06:31:58.402Z","isFirstParty":false,"canonicalSlug":"agentmetal-vps-provisioning-576b6504"}