{"uid":"cap_KpqP2E122OvTUn-FwldAL","slug":"vm402-anonymous-metered-vm-provisioning-0ce252ec","name":"vm402 Anonymous Metered VM Provisioning","description":"Anonymous metered cloud VPS (Linux VMs) — deploy an app, host a server, or run sandboxed code. You get a VM and can do what you want. No accounts; a bearer token per VM. Create and topup are paid over L402 (lightning) at 10 sats/hour, or natively over x402 (USDC on Base) at $0.01/hour. Call with no payment to get a 402 carrying both challenges: pay the lightning invoice and retry with \"Authorization: L402 <token>:<preimage>\", or sign the x402 exact-scheme USDC payment and retry with it base64-encoded in the \"payment-signature\" header. For x402 on other networks or MPP, route the request through https://l402.space/<rail>/<url-encoded-endpoint>.","url":"https://vm402.com/vms?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"hours":{"type":"number","description":"Runtime to buy; price is hours × rate"}}},"responseSchema":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"meter":{"type":"string"},"token":{"type":"string","description":"Bearer token for this VM. Shown once."},"expires_at":{"type":"string","format":"date-time"},"url_visibility":{"enum":["public","private"],"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.24","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":{"p10Cents":"1.0000","medianCents":"1.0000","p90Cents":"1.0000","minCents":"1.0000","maxCents":"1.0000","p95Cents":"1.0000","sampleCount":1,"varies":false,"failureChargeRate":1},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.24/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.24","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.24","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_NTkmSUjE99Yl_tZG9SVX4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.24","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Provisions an anonymous, metered virtual machine paid per-hour via Lightning (L402) or USDC on Base (x402), returning a one-time bearer token for access","exampleAgentPrompt":"Spin up an anonymous VM for 3 hours and pay with USDC — I don't want to create an account anywhere, just get the bearer token when it's ready.","exampleUseCases":[{"title":"Throwaway compute for a quick script","prompt":"Rent me an anonymous VM for 2 hours so I can run a quick data processing script — pay with lightning and give me the bearer token to access it."},{"title":"CI job on ephemeral infrastructure","prompt":"Provision a vm402 VM for 5 hours using USDC on Base so my CI pipeline can run integration tests without tying anything to our company account."},{"title":"One-off anonymous server for a demo","prompt":"I need a temporary VM for 1 hour — no account, just spin it up anonymously and hand me the access token so I can host a quick demo."}],"resultDescription":"Returns a JSON object containing the VM's unique ID, its access URL, a meter reference, a one-time bearer token (shown only once) for authenticating subsequent requests to that VM, an expiry timestamp, and the URL visibility setting (public or private).","failureModes":["402 Payment Required — no payment provided; response includes both a Lightning invoice (L402) and an x402 USDC challenge; must pay and retry with correct auth header","Invalid or expired L402 preimage — payment token or preimage is malformed or already used","Insufficient payment — hours * rate does not match the paid amount","x402 signature invalid or wrong network — must route non-Base-USDC payments through l402.space proxy","VM provisioning failure — infrastructure-side error preventing VM creation"],"whenToPreferThis":"Choose this endpoint when you need anonymous, on-demand virtual compute without any account registration or KYC, especially when paying with Lightning (sats) or USDC on Base via x402. It is ideal for ephemeral workloads, throwaway environments, or privacy-sensitive automation where linking compute to an identity is undesirable. Prefer it over traditional cloud VMs when crypto-native payment rails (L402/x402) are required or when the zero-account model is a hard requirement.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T06:35:19.336Z","isFirstParty":false,"canonicalSlug":"vm402-anonymous-metered-vm-provisioning-0ce252ec"}