ZCode

ZCode is Zhipu's desktop AI coding environment. Configure it to use Unisound MaaS models with pay-as-you-go or U Plan.

1. Preparation

Before connecting an AI tool, complete the following preparation steps.

1. Get an API Key

The platform supports pay-as-you-go and U Plan. Credentials differ by billing mode:

Usage
Description
How to get credentials (API Key examples below)
Pay-as-you-go API
Billed by usage; suitable for light use
  • Base URL OpenAI-compatible: https://maas-api.unisound.com/v1 Anthropic-compatible: https://maas-api.unisound.com/anthropic
  • API Key
  • Format: sk-xxxxx

Go to API Key Management to create an API Key

U Plan
Fixed subscription fee with plan quotas
  • Base URL OpenAI-compatible: https://maas-api.unisound.com/v1 Anthropic-compatible: https://maas-api.unisound.com/anthropic
  • API Key
  • Format: tp-xxxxx

After successfully subscribing to U Plan, go to Subscription Management to get your dedicated API Key

Pay-as-you-go supports all modalities, including text, speech, and vision.

A plan-exclusive Key is for plan quota. It may exist before paid resources are available; you can use resources only when you have plan quota. See U Plan overview.

2. Install ZCode

Visit the ZCode website and install the build for your OS.

ZCode download page screenshot

3. Configure the target model

1. Open model management

Launch ZCode, select connect BigModel to continue.

ZCode login screenshot

In the chat box, click the current model name, open the model picker, then choose Manage models at the bottom.

ZCode model settings screenshot

2. Add a custom provider

Click Add provider at the bottom of the provider list and fill in:

FieldValue
Nameunisound
Base URLOpenAI-compatible: https://maas-api.unisound.com/v1; Anthropic-compatible: https://maas-api.unisound.com/anthropic
API Keysk-xxxxx (pay-as-you-go) / tp-xxxxx (plan-exclusive)

See Preparation for how to get the Key and its format. Choose the API format based on the Base URL protocol.

ZCode add custom provider screenshot

3. Load and switch models

After the Base URL is confirmed, ZCode loads available models. Enable the provider, then pick the target model in the chat model picker.

ZCode model picker screenshot

4. Quick access to capability models

We provide U2-ASR, U2-TTS, U2-TTS-Clone, and U2-OCR capabilities. Add the matching model Skill in ZCode to call these services without integrating each model API separately.

Open a Skill page below to install via chat or CLI. After installation, the Skill guides you through model configuration.

Model
Skill Name
Skill Description
Action
U2-OCR
u1-ocr-parser-pro
Document Parsing
U2-OCR
u1-ocr-extract-pro
Document Information Extraction and Classification
U2-OCR-Med
u1-ocr-med-pro
Medical Document Information Extraction and Classification
U2-ASR
u2-asr-pro
Speech Transcription
U2-TTS
u2-tts-pro
Speech Synthesis
U2-TTS-Clone
u2-tts-clone-pro
Voice Cloning