Z.ai error
Usage limit reached for {number} {unit}. Your limit will reset at {next_flush_time}
Error code 1308, HTTP 429. Z.ai documents this as a template: it fills in the window, such as 5 hour, and the reset time.
You used up the plan window Z.ai named.
It resets at the time it gives.
What it means
Your Z.ai plan usage for that window is exhausted. The message names the window and the time it resets.
Related codes: 1310 is the weekly or monthly limit, with its own reset time. 1316 and 1317 are the extra usage codes: they need a balance on the account.
Fix it
- Wait for the reset time in the message.
- If you want extra usage past the window, it needs a balance. Without one the API returns the extra usage error.
Switch while you wait
Use a Z.ai API key with a balance, so calls bill per use and not against the plan window.
Or move the task to a vendor you already pay for until the window resets.
With superbot
superbot is your own AI agent with a model of its own that runs on superbot credits, so it keeps working when a vendor's plan runs out.
It also puts your own API keys behind one base URL, with one caller key, in the OpenAI or Anthropic format.
Calls on your own keys spend no superbot credits, and you pay your provider as usual.
Z.ai tools take an OpenAI or Anthropic base URL, so see the OPENAI_BASE_URL page.
Related
Source: Z.ai docs: API reference, error codes. Read on 2026-10-17.