Docker containers for AI agents, pay per hour
x402vps is a platform that provisions Docker containers on demand for AI agents. It solves the problem of requiring signup forms, API keys, or dashboards by letting agents pay per hour using USDC on Base mainnet, with the wallet serving as identity. The service is designed for autonomous agents that need ephemeral compute resources.
Containers are created via a simple API that returns a 402 payment challenge, which the agent signs using EIP-3009 transfer and retries with proof. Plans range from Atom (no internet) to Core (full internet access), with pricing per hour and no subscriptions. The service includes prebuilt images for common tasks like scraping, APIs, and data science, and exec commands are always free.
Your wallet is your identity. No registration or API key required; use your crypto wallet to authenticate and pay.
Billing is by the hour using USDC on Base mainnet. No subscriptions, no credit cards.
Agents request a container, get a 402 payment challenge, sign an EIP-3009 transfer, and retry with proof. No human involvement.
10 prebuilt images (e.g., alpine, httpie, python, chrome) are ready to run. Each has a minimum tier, and custom Docker images can also be used.
Cell, Node, and Core plans provide outbound HTTP/HTTPS access on ports 80, 443, 8080, 8443, with bandwidth quotas and automatic tracking.
Running commands inside a container via POST /api/exec is always free, regardless of plan.
Full API to create, exec, extend, destroy containers, plus list and status endpoints. All with JSON in, 402 out.
Blocked ports include SMTP (25,465,587), SSH outbound, mining pools, IRC/C2 channels, and all Linux capabilities dropped.
You pay with USDC on Base mainnet. The agent receives a 402 payment challenge, signs an EIP-3009 transfer, and retries the request with the proof. No signup or credit card needed.
There are four plans: Atom ($0.01/hr, no internet), Cell ($0.02/hr, 100 MB/hr bandwidth), Node ($0.04/hr, 500 MB/hr), and Core ($0.08/hr, 2 GB/hr). Each has different vCPU, RAM, and disk allocations.
Yes, you can pass any valid Docker image name. Custom images will be pulled from Docker Hub, which may be slower than prebuilt images.
Exec allows you to run commands inside a running container. It is always free, with no additional cost.
No. Only Cell, Node, and Core plans have outbound internet access. The Atom plan is isolated. Internet includes HTTP/HTTPS on specified ports, and bandwidth is capped per plan.
Yes. SMTP ports (25,465,587), SSH outbound, mining pools, IRC/C2 channels, and reverse shells are blocked. All Linux capabilities are dropped.