What Happens When Your VPS Balance Ran Out

· 0x.cloud Team

What Happens When Your VPS Balance Ran Out

If your VPS balance ran out on 0x.cloud, the server is paused and stops working, but its data is kept for 7 more days. Top up within that window and the server picks up where it left off, with the same files, databases and settings. No reinstall needed.

Below: when exactly hourly and monthly servers run out of money, what to do step by step, and how to set things up so a bot or website never goes dark by surprise.

When a Server Runs Out of Money

Billing When balance is needed At zero
Hourly every hour while the server exists no charge possible, the server is paused
1, 3, 6, 12 months at renewal after the paid term the server goes on by the hour at the hourly price and is paused once the balance cannot cover the next hour

During a paid term you do not need any balance: a monthly server runs to the end of its term even at $0. Trouble starts only at the next charge.

One more rule: your first paid server needs one top-up of at least $5. The burn rate is easy to work out: s1-1 costs $0.030750 an hour (about $0.74 a day), s1-2 costs $0.054725 (about $1.31 a day). See hourly VPS for how these servers work.

What Happens During the 7 Days

  1. The server is paused. The bot does not reply, the site does not load, scheduled jobs do not run.
  2. The disk is kept. Files, databases, system settings and SSH keys stay in place.
  3. You have 7 days to top up. After that, retention ends.

General retention rules and limits are on the limits and policies page.

Step by Step: Your VPS Balance Ran Out

  1. Add funds. Top up with crypto or a bank card, see how to top up your balance. Add a buffer: at least next month, or $5 or more for hourly servers.
  2. Check the server status in the dashboard. Once the funds land, it resumes.
  3. Check your services. If your bot or site runs as a systemd service, it starts with the system. Verify:
# service status and the latest log lines
systemctl status mybot.service
journalctl -u mybot.service -n 50 --no-pager
  1. Do not need the server any more? Delete it: charges stop and the data is no longer kept. A deleted server can be restored within 24 hours, see delete and restore a server. If a monthly server is only needed until the paid term ends, turn renewal off: it runs out the term and does not renew.

How to Keep Your Server From Being Paused

Prepay long-running projects. A bot, site or n8n that runs all the time is easier on a 3, 6 or 12-month term: the price is locked and you save up to 12%. See billing periods and discounts.

Keep runway on the balance. A good rule: one month of all your servers. For one s1-2 that is $7.99, for s2-4 $15.99.

Turn on a low balance alert. The 0x.cloud API has a balance.low event. Point a webhook at your own endpoint, and an n8n workflow or your Telegram bot warns you before the server pauses, not after:

# webhook for low balance; the signing secret is returned once in the response
curl https://0x.cloud/v1/webhooks \
  -H "Authorization: Bearer $OX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com/hooks/0x", "events": ["balance.low", "balance.credited"]}'

The key needs the webhooks.write scope, and the URL must be public https. Without an endpoint, wait for events with GET https://0x.cloud/v1/events?types=balance.*&wait=25 (the key needs servers.read and billing.read).

Ask your agent to check. With the 0x.cloud MCP server connected, one prompt is enough:

Prompt for an AI agent

Using the 0x.cloud MCP server, call get_overview and show my balance, daily spend, how many days the balance will last, and my servers with their billing type and renewal date. Do not create or change anything.

Back up what matters. Automatic backups (7 daily copies) add 20% to the plan price, and a snapshot is $0.99 a month. That protects you from a zero balance and from mistakes.

Your Balance and AI Agents

If an agent creates servers, it can burn through money too: say, it spins up a few hourly servers and forgets to delete them. The fix is simple:

  • a monthly spend cap on the agent's API key: past the cap it cannot create servers or buy add-ons, see API key spend limit;
  • a timer on temporary servers: the ttl_hours field (1 to 720 hours) on create, so the server deletes itself and the remainder returns to the balance;
  • dry_run plus your approval before every create.

One catch: the cap blocks new purchases but does not shut down servers that are already running. An hourly server the agent forgot to delete keeps billing your balance, so you still need a timer or a delete.

Common Issues

I topped up but the server is still down. Make sure the payment has landed (balance above zero and enough for the charge). If it has and the server is still paused, contact support.

The server is up but the bot is silent. The service is not enabled at boot. Fix: sudo systemctl enable --now mybot.service.

More than 7 days have passed. Retention has ended. Create a new server and restore from your own backup.

FAQ

How long is my data kept if the balance runs out? 7 days. Top up within that window and the server resumes with the same data.

What happens after 7 days without payment? The retention period ends and the server can no longer be recovered. If the data matters, top up sooner or keep a backup or snapshot.

How do I keep my balance from running out? Prepay long-running projects for 3, 6 or 12 months, keep a month of runway on the balance, and check it regularly in the dashboard or by asking your agent over MCP.

Can an AI agent drain my whole balance? A spend cap on its API key stops the agent from creating servers or buying add-ons past the cap. Hourly servers it already created keep running and billing, though, so temporary servers need a timer or a delete.

Will 0x.cloud warn me before the balance runs out? Yes. The API has a balance.low event: send it to your own webhook or wait for it in the event feed, and an n8n workflow or your own Telegram bot can remind you to top up in advance.