Tech / [16]

Z.AI Local Time: the extension I built for the GLM Coding Plan

Z.AI Local Time is the extension I built for the GLM Coding Plan: it shows reset times in your time zone and tells you when the GLM-5.3-Flash promo is on.

Hello friends! I use Z.AI’s GLM Coding Plan, and every time I opened the usage page I did the same mental math: “it resets at 12:15… Singapore time… so what time is that here again?”. I got tired of it and built Z.AI Local Time, a small Chrome and Edge extension that shows the plan’s reset times in your time zone. As a bonus, it also tells you when the GLM-5.3-Flash promo is running.

It’s open source and the code is on GitHub. Hang on, let me explain what it does.

1. The problem: the GLM Coding Plan thinks in Singapore time

The GLM Coding Plan usage page shows two limits: the 5-hour one and the weekly one. Each has a “Reset Time”, and those times are in UTC+8, Singapore’s time zone.

For someone in Brasília (UTC-3), that’s an 11-hour difference. That “12:15” on the 5-hour limit is actually 01:15 in the morning here. And the weekly reset “2026-10-03 07:22” lands the night before, on the 2nd at 20:22. Get that math wrong and you plan your day around quota that hasn’t come back yet (it happens lol).

It’s like reading an airport arrivals board that shows everything in the departure city’s time. The information is correct, but translating it is your problem.

2. What Z.AI Local Time does

It reads the usage page and puts the equivalent time in your time zone, in green, next to each reset time. Hover over it and you see the original value and the time zone used for the conversion.

GLM Coding Plan usage page with the times converted by the extension and the promo notice in the corner

One thing I was careful about: the “Last refresh time” at the top of the page is already in your browser’s time zone, so the extension leaves it alone. Converting it again would give you the wrong time.

The other feature is the GLM-5.3-Flash promo notice. According to Z.AI, the campaign runs until October 7, 2026 and applies every day from 23:00 to 09:00 Singapore time. During that window, paid plan subscribers use GLM-5.3-Flash without spending quota in ZCode and AutoClaw, and with doubled quota in the other supported agents. In Brasília time, the window runs from 12:00 to 22:00.

The extension shows a floating notice in the corner of the page (click it to minimize) and a green ON badge on the toolbar icon while the window is open. When it isn’t, it tells you when the next one starts.

Stay focused: in the right window, the same quota goes a lot further.

3. How to install

The extension isn’t on the Chrome Web Store, so you install it manually. It takes a minute:

  1. Download the repository (on GitHub, “Code” and then “Download ZIP”, and extract it) or run git clone.
  2. Open chrome://extensions in Chrome or edge://extensions in Edge.
  3. Turn on “Developer mode”.
  4. Click “Load unpacked” and pick the extension folder.
  5. Open your Coding Plan usage page on Z.AI.

The toolbar popup shows the promo status, today’s window in your time and two switches: one turns the conversion on the page on or off; the other turns the notice on or off.

4. Privacy and limitations

The extension makes no network requests and has no analytics. It only reads the Z.AI page in your browser and stores two settings (the two popup switches) in chrome.storage.sync. You can check that in the code, which is short.

Two honest caveats. It’s unofficial and has no connection to Z.AI. And it depends on how the page displays times today; if Z.AI changes the layout, it may need an adjustment. The promo dates live in a PROMO object in promo.js, so if the campaign gets extended again, you just edit it there.

If you use GLM with a coding harness and want to know how much each one spends, I measured that in the OpenCode vs Cline vs Command Code comparison.

5. Frequently asked questions

Does Z.AI Local Time work on Firefox?

Not for now. It was built for Chrome and Edge, as a Manifest V3 extension.

Does it need access to my Z.AI account?

No. It only reads the text already showing on the page, in your browser. It doesn’t ask for a password, doesn’t use your API key and doesn’t send anything anywhere.

What happens when the GLM-5.3-Flash promo ends?

The notice switches to saying the campaign has ended, and the reset time conversion keeps working as usual. That’s the part that stays useful after the 7th.

Less mental math, more code.

Cheers,
Fellipe Soares

Leave a Reply

Your email address will not be published. Required fields are marked *