GLM Bonus Radar: never miss a Z.AI bonus window again
The origin project: a live tracker for every Z.AI bonus window, surcharge and discount — computed in your browser, synced from the official docs by an AI every hour.
Z.AI runs time-limited bonus windows — nightly Flash campaigns, peak-hour surcharges, API price promos. The data exists, but it's scattered across doc pages that change without notice. Screenshots go stale; guessing costs tokens.
GLM Bonus Radar fixes that. It's the portal you're on right now.
What it does
- Tracks every known bonus window with second-accurate countdowns and a timezone-aware timeline — the "time left until open" number is computed live in your browser, UTC+8 math handled for you.
- An AI doc-sync job re-reads the official docs.z.ai pages every hour, extracts a strict JSON payload (windows, pricing, plans, announcements), validates it, and only saves real changes. Safety-net pins keep the recurring windows alive even when extraction wobbles.
- A changelog journals every sync run — applied changes in full, quiet sweeps as one-liners.
- A Prometheus-compatible metrics endpoint exposes window state as numbers, so your infra can decide when to fire the heavy agent runs.
The lesson
The hard part was never the countdowns — it was trusting the data. "Only save real changes" plus a visible journal is what turned a toy dashboard into infrastructure. Same doctrine carried into everything else on this portal.