Skip to content

Theme

Theme color ·

中文
  1. How-to
  2. Server
  3. Check traffic

Check traffic

5 minutesFor: People who have finished setupMain guide step 7: Everyday use and upkeep

Checking traffic

  • Provider dashboard: BandwagonHost’s KiwiVM home page shows this month’s traffic and reset date; other providers show it on the server page.
  • In your apps: Clash Verge and Shadowrocket show this month’s usage against 1 TB by default, with the reset day worked out from the provisioning date. The server can’t look up your plan, so if the quota or reset day differs from the provider’s dashboard, tell the AI the real numbers (manual route: rerun init with --quota-gb QUOTA --reset-day DAY, then sub).

Make your apps match the dashboard (any provider)

The server counts its own network traffic, keeps adding across reboots, and resets at local midnight on the reset day. When it disagrees with the provider’s dashboard, it’s usually one of these:

  • Billing mode: by default both directions count. If your provider bills outbound only, or the larger of in/out, tell the AI to change the billing mode — otherwise usage shows nearly double.
  • Starting point: the server can’t know traffic used before setup, and a reinstall clears its record. Read “used this month” from the provider’s dashboard and give it to the AI once to calibrate; the server then keeps counting from that number. If it drifts again after a few months, calibrate again.

Manual route: remote.sh NAME traffic --used-gb DASHBOARD_GB --count both (--count can be both, out for outbound only, in for inbound only, max for the larger one; with no options it just shows the current numbers). This only restarts the subscription service — nodes in use stay connected.

BandwagonHost: show the dashboard’s real usage in your apps

BandwagonHost has an official API, so the server can read KiwiVM’s used traffic, plan quota and reset time directly. Your apps then show exactly what the dashboard shows (refreshed every 10 minutes). You need two things:

  1. Open this server’s KiwiVM control panel (see step 2 of Buy from BandwagonHost).
  2. In the left menu, open API.
  3. The page says Your VEID: a number — that’s the VEID.
  4. The API Key is hidden at first; use the button at the top of the page to show it. It starts with private_ — that’s the API Key.
  5. Give the VEID and API Key to the AI and ask it to “read subscription usage from KiwiVM” (manual route: after sub, run remote.sh NAME kiwivm --veid VEID --key-file FILE-CONTAINING-THE-KEY).

Heads up

The API Key can control the server (including reboot and reinstall) — treat it like a password and don’t share it. It is stored only on your own server, and the setup uses it only to read traffic. If the button generates a new key, the old one stops working, so update anything that used it.

Tip

Speed tests are very data-hungry — one run can use several to tens of GB. Video uses a lot too. A few hundred GB to 1 TB a month is usually enough for a household.

Can’t connect from China?

If the health check passes but the server can’t be reached from mainland China, the IP is probably blocked. How to confirm it, how BandwagonHost and DMIT each change the IP, and how to reconfigure afterwards: see IP blocked in China.

This setup is for you and your family only. Follow local laws and each site's and AI tool's terms of use. Open source (MIT) — code and feedback on GitHub.