Use case

Put your MVP in production for $6.

An MVP built as a supported Next.js app reaches a real production URL with one command and $6.01: $0.01 for the upload plus $0.20 per project-day for 30 days, prepaid in USDC. There is no account, no subscription, and nothing to cancel if the experiment ends.

The command

From the MVP project root, run:

$ npx x402-hosting@latest deploy --days 30

The CLI builds locally with OpenNext, so a broken build fails before payment and costs nothing. On success the API returns an HTTP 402 challenge — the authoritative quote — and the wallet settles in USDC over x402. The platform publishes the artifact as a Cloudflare Worker at a URL like https://app-682fe91de571a7338dd1.x402-hosting.com.

Next.js projectlocal OpenNext buildCloudflare Workerproduction URL
One command moves a Next.js project from a local directory to a production URL.

MVP economics: days, not plans

A monthly hosting plan charges whether the MVP is alive or not. Prepaid hosting charges for a fixed window: pay for 30 days, learn what there is to learn, and decide at the end. Renewal is another $0.20 × days from the same wallet, and the pricing page lists every operation with its exact cost.

What the MVP includes

  • Static assets, 100,000 dynamic requests, 15 million CPU ms
  • Route handlers and server components run in production
  • Iterating is a $0.01 redeploy at the same URL
  • Status and deployment-history reads are free
  • Supported Next.js: 15.5.21 to below 16, or 16.2.11 and later

Rolling back a bad release

When a deploy regresses, npx x402-hosting@latest rollback <deployment-id> republishes a previous deployment for $0.01. The deployment history is a free read, so finding the last good id costs nothing. The owner wallet signs the payment, exactly as with any other paid mutation.

If the MVP dies

There is nothing to cancel. Prepaid hosting ends by expiring: when the paid days run out, the project goes offline, a 30-day grace window keeps recovery possible, and after that it is deleted. See cancel hosting by not renewing for the full lifecycle. No card stays on file and no charge can surprise you later.

Related guides