First-Party Z.AI Support in SuperQode for Models and Web Search

Following our recent Alibaba Cloud Model Studio and Token Plan release, we wanted to bring the same native experience to the work coming from the Z.AI and GLM team. SuperQode now supports Z.AI across the Mac app, the terminal UI, and the CLI with a single Z.AI General API key.

You keep your existing harness workflow, permissions, diffs, and checkpoints on your machine, while Z.AI handles model inference, web search, and page reading.

Watch the Walkthrough

Connecting Z.AI in the Mac App

Open Connect, choose Connect models to SuperQode harnesses, pick a harness such as Workbench, choose BYOK, and select Z.AI. From there, choose either International or China Mainland to match where your account was issued, paste your API key, and save it in macOS Keychain.

Before starting a coding session, click Test Z.AI connection to confirm that your key, selected region, and model access are working without spending tokens. GLM-5.3 is selected by default, and multimodal GLM-5.3-Flash is available in the same model picker when you want faster interactive turns or visual debugging.

Built for Multi-Turn Coding Sessions

SuperQode pairs GLM-5.3’s million-token context window with preserved reasoning across tool calls, so the model keeps its line of thought as it reads files, runs checks, and edits code across several turns. When Z.AI serves prompt tokens from cache, the Mac app displays the cache hit percentage right in the turn footer so you can see the savings as a conversation grows.

For sessions running on GLM-5.3, SuperQode also routes lightweight background tasks such as summaries and memory extraction to GLM-5.3-Flash on the same key and region, falling back automatically to your main model if needed.

Single-Key Z.AI Web Search

Alongside Exa, Parallel, and DuckDuckGo, Z.AI is now available directly inside built-in web search and page reading with no extra packages to install. Open Settings → Web Search in the Mac app and choose Z.AI to reuse the same API key and region you already configured in Connect.

From the Z.AI card, you can adjust search recency and excerpt depth, run a quick test search against your chosen region, and see clear Z.AI attribution in Agent activity whenever Workbench searches the web or reads a public documentation page.

Current Limitation

SuperQode connects only to Z.AI’s public General API for International and China Mainland accounts, and intentionally blocks restricted GLM Coding Plan endpoints. Because GLM Coding Plan subscriptions are separate from General API usage, running GLM-5.3, GLM-5.3-Flash, or Z.AI Web Search requires a funded General API balance. If you want to try the connection first on a zero-balance account, the connection check uses no tokens, and Z.AI’s free Flash models can be used alongside free DuckDuckGo search.

Try It

Download SuperQode for macOS (Apple Silicon, signed and notarized) or install the latest CLI and sign in with your Z.AI key:

SHELL
curl -fsSL https://superqode.dev/install.sh | sh
superqode auth login zai --region intl
superqode

For regional endpoint details and CLI commands, see the SuperQode Z.AI setup guide and the Z.AI documentation.

Originally Published on the Superagentic AI blog here