ZCode Model Setup
Step 2 ยท Enable Core Capabilities set up permissions and capabilities โ this step connects a model: prefer the metered DeepSeek or GLM API, with the built-in plan as a lightweight fallback.
๐ Goal: connect the metered DeepSeek or GLM API and pass the connection test โ that completes Step 3. About 15 minutes.
๐ฏ Why the Metered API Beats the Planโ
Plan-style options (BigModel built-in plan / GLM Coding Lite, etc.) have two hard limits:
- 5-hour quota window: when the quota runs out, you wait for the next 5-hour refresh โ getting cut off mid-task is the worst;
- Weekly usage cap: heavy weeks hit the cap early, leaving you idle for days.
DeepSeek / GLM metered APIs have neither: pay as you go, charged per token โ heavy work won't get cut off. For everyday outreach emails and document work, spending is usually low and controllable.
โก Quick Answerโ
Recommended: DeepSeek API or GLM API (metered, no 5-hour / weekly limits)
Zero-cost fallback: BigModel built-in plan + GLM-5.3-Flash (quota windows apply, fine for light trials)
- Recommended: connect the DeepSeek API (cheap and stable) or the GLM API (the account you signed into in Step 1 is already the Zhipu open platform โ getting a Key is the shortest path);
- Zero-cost trial: start with the built-in plan to get a feel, switch to the API before heavy use;
- Connecting both is fine โ when you install the AI agent team later, different roles can use different models.
โ Recommended Route: Connect a Metered APIโ
Both providers have dedicated guides with full steps, screenshots, and pitfall tables:
- ๐ Connect GLM API to ZCode (Pay-as-you-go) โ shortest path: you get the Key from the Zhipu open platform (the same site you signed into in Step 1): register โ top up โ create Key โ fill into ZCode โ test;
- ๐ Connect DeepSeek to ZCode: Complete Guide โ register at platform.deepseek.com โ top up โ create Key โ fill into ZCode โ test.
The fields to fill are the same for every provider:
| Field | Notes |
|---|---|
| Provider name | Anything you recognize, e.g. DeepSeek |
| API format | Pick the one available in your ZCode dropdown |
| Base URL | Must be the same set as the API format; copy exactly |
| API Key | Create in the provider console; treat like a password |
| Model ID | Per the ZCode list or the provider console |
- API format and Base URL must be the same set โ never pair provider A's address with provider B's format.
- Copy the address exactly โ don't add
/v1or a trailing slash yourself; each provider differs (see the cheat sheet below).
Click Test after filling โ it only counts when you see a green "connected" message.
If the test fails, check two things first: โ do the format and address belong to the same set; โก was the model ID copied exactly from the list or console. If it still fails, follow that provider's guide step by step instead of blindly retrying combinations.
๐ Treat the API Key like a password: fill it only into ZCode; never paste it into chats, logs, screenshots, tutorials, or public repos; mask it fully before screenshotting. On unusual spend, disable and recreate the key at the provider console immediately.
Once connected, open the model menu below the new-task input and pick the API's main model as your everyday default (e.g. DeepSeek's deepseek-chat, or GLM's GLM-5.3-Flash).
๐ก Fallback: Built-in Planโ
If you'd rather not top up an API right away, start with the built-in plan: click Upgrade in the lower-left account menu, enable a plan (free or paid, whichever is currently offered), and pick GLM-5.3-Flash as the everyday model.


The trade-off is exactly the two limits above: a 5-hour quota window plus a weekly usage cap. Fine for a light trial; as the main engine for outreach runs, you'll keep hitting the quota wall.
Provider Cheat Sheetโ
The table lists Chat Completions format entries (paths verified by unauthenticated probe on Sep 8, 2026 โ availability for your account or region is not guaranteed). When unsure, prefer Chat Completions; follow the provider docs if they require another format.
| Provider | Base URL | Guide / official entry |
|---|---|---|
| DeepSeek | https://api.deepseek.com | ๐ DeepSeek complete guide ยท Key page |
| Zhipu GLM (BigModel) | https://open.bigmodel.cn/api/paas/v4 | ๐ GLM API pay-as-you-go ยท Key page |
| Kimi (Moonshot) | https://api.moonshot.cn/v1 | Key page ยท Model list |
| Alibaba Bailian (Qwen) | https://dashscope.aliyuncs.com/compatible-mode/v1 | Bailian console |
| SiliconFlow | https://api.siliconflow.cn/v1 | Key page ยท Model square |
ZCode may show the built-in plan, a built-in API-key provider (both Anthropic format), and your own metered provider. Only the one you created yourself is the pay-as-you-go route; see the GLM guide.
This section is a field cheat sheet only. For the full screenshot walkthroughs:
Overseas models (e.g. Google Gemini) are out of scope here; follow the current Google AI Studio docs when needed.
๐ Common Mistakesโ
| Pitfall | Consequence | How to avoid |
|---|---|---|
| ๐ด Pasting the Key somewhere public | Strangers spend your money | Fill it only into ZCode; mask screenshots; disable and recreate on unusual spend |
| ๐ด Skipping the Test button | You think it's configured but it isn't connected | Require a green "connected" before moving on |
| ๐ก Format and address mismatch | Connection fails | Use the combination from the same row; copy addresses exactly |
| ๐ก Model ID typed by hand or outdated | "Model not found" error | Copy from the ZCode list or the provider console |
| ๐ก Using the built-in plan as the main engine for heavy work | The 5-hour / weekly limits keep cutting you off | Switch to DeepSeek / GLM metered APIs for heavy use |
โ Completion Checkโ
Metered API connected (recommended route)โ
- The provider shows "enabled";
- API format and Base URL come from the same set;
- Model ID copied from the ZCode list or provider console;
- Test shows "connected" and the plain-text test passes;
- The API model is selected as the everyday default in the model menu;
- If you need image capabilities, confirmed per official docs and tested with a plain file.
Built-in plan for now (lightweight fallback)โ
- A usable BigModel plan is selected;
-
GLM-5.3-Flashis selected for new tasks; - You know the quota has a 5-hour window and a weekly cap, and will switch to the API before heavy use.
๐ Further Readingโ
- ๐ Step 2 ยท Enable Core Capabilities: Full Access, computer control, browser control, and more
- ๐ Step 4 ยท Install the ZCode AI Agent Team: different models per role
- ๐ Connect DeepSeek to ZCode: Complete Guide: sign-up, Key, fields, troubleshooting
- ๐ Connect GLM API to ZCode (Pay-as-you-go): no plan, charged from API balance
๐ Step 4 ยท Install the ZCode AI Agent Team โ with the metered API connected, DeepSeek + GLM give different roles real division of labor.