Skip to main content

ZCode Model Setup

โฌ…๏ธ Coming from

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.

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:

FieldNotes
Provider nameAnything you recognize, e.g. DeepSeek
API formatPick the one available in your ZCode dropdown
Base URLMust be the same set as the API format; copy exactly
API KeyCreate in the provider console; treat like a password
Model IDPer the ZCode list or the provider console
Two easiest traps
  1. API format and Base URL must be the same set โ€” never pair provider A's address with provider B's format.
  2. Copy the address exactly โ€” don't add /v1 or 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.

ZCode upgrade plan page - personal plan area: free Start Plan on the left, GLM Coding Lite on the right, current prices as shown on the page

ZCode new-task input area, model menu highlighting GLM-5.3-Flash and lower-left permission menu highlighting Full Access

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.

ProviderBase URLGuide / official entry
DeepSeekhttps://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/v1Key page ยท Model list
Alibaba Bailian (Qwen)https://dashscope.aliyuncs.com/compatible-mode/v1Bailian console
SiliconFlowhttps://api.siliconflow.cn/v1Key page ยท Model square
Multiple Zhipu-related entries โ€” pick the right one

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.

Want screenshots?

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โ€‹

PitfallConsequenceHow to avoid
๐Ÿ”ด Pasting the Key somewhere publicStrangers spend your moneyFill it only into ZCode; mask screenshots; disable and recreate on unusual spend
๐Ÿ”ด Skipping the Test buttonYou think it's configured but it isn't connectedRequire a green "connected" before moving on
๐ŸŸก Format and address mismatchConnection failsUse the combination from the same row; copy addresses exactly
๐ŸŸก Model ID typed by hand or outdated"Model not found" errorCopy from the ZCode list or the provider console
๐ŸŸก Using the built-in plan as the main engine for heavy workThe 5-hour / weekly limits keep cutting you offSwitch 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-Flash is 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โ€‹

๐Ÿš€ Next

๐Ÿ“„ Step 4 ยท Install the ZCode AI Agent Team โ€” with the metered API connected, DeepSeek + GLM give different roles real division of labor.