[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"docs-nav-en":3,"docs-en-coding-plan\u002Fguide\u002Fzcode":180},[4,26,43,105,155,172,176],{"title":5,"path":6,"stem":7,"children":8,"page":25},"Getting Started","\u002Fgetting-started","1.getting-started",[9,13,17,21],{"title":10,"path":11,"stem":12},"Your First SilvaMux API Call","\u002Fgetting-started\u002Fquick-start","1.getting-started\u002F1.quick-start",{"title":14,"path":15,"stem":16},"Model Selection","\u002Fgetting-started\u002Fmodel-selection","1.getting-started\u002F2.model-selection",{"title":18,"path":19,"stem":20},"Rate Limits","\u002Fgetting-started\u002Frate-limits","1.getting-started\u002F3.rate-limits",{"title":22,"path":23,"stem":24},"FAQ","\u002Fgetting-started\u002Ffaq","1.getting-started\u002F4.faq",false,{"title":27,"path":28,"stem":29,"children":30,"page":25},"Billing","\u002Fbilling","2.billing",[31,35,39],{"title":32,"path":33,"stem":34},"Billing Overview","\u002Fbilling\u002Foverview","2.billing\u002F1.overview",{"title":36,"path":37,"stem":38},"Online Top-up","\u002Fbilling\u002Frecharge","2.billing\u002F2.recharge",{"title":40,"path":41,"stem":42},"Bills, Usage & Exports","\u002Fbilling\u002Fusage-export","2.billing\u002F3.usage-export",{"title":44,"path":45,"stem":46,"children":47,"page":25},"Coding Plan","\u002Fcoding-plan","3.coding-plan",[48,52,56,60,67,102],{"title":49,"path":50,"stem":51},"Coding Plan Overview","\u002Fcoding-plan\u002Foverview","3.coding-plan\u002F1.overview",{"title":53,"path":54,"stem":55},"Quick Start","\u002Fcoding-plan\u002Fquick-start","3.coding-plan\u002F2.quick-start",{"title":57,"path":58,"stem":59},"Usage Notes","\u002Fcoding-plan\u002Fusage-notes","3.coding-plan\u002F3.usage-notes",{"title":61,"path":62,"stem":63,"children":64},"Personal","\u002Fcoding-plan\u002Fpersonal","3.coding-plan\u002F4.personal\u002Findex",[65],{"title":66,"path":62,"stem":63},"Pricing & Benefits",{"title":68,"path":69,"stem":70,"children":71,"page":-1},"Developer Guide","\u002Fcoding-plan\u002Fguide","3.coding-plan\u002F5.guide\u002Findex",[72,74,78,82,86,90,94,98],{"title":73,"path":69,"stem":70},"Endpoints & Protocols",{"title":75,"path":76,"stem":77},"Claude Code","\u002Fcoding-plan\u002Fguide\u002Fclaude-code","3.coding-plan\u002F5.guide\u002F1.claude-code",{"title":79,"path":80,"stem":81},"OpenCode","\u002Fcoding-plan\u002Fguide\u002Fopencode","3.coding-plan\u002F5.guide\u002F2.opencode",{"title":83,"path":84,"stem":85},"Cursor","\u002Fcoding-plan\u002Fguide\u002Fcursor","3.coding-plan\u002F5.guide\u002F3.cursor",{"title":87,"path":88,"stem":89},"Codex","\u002Fcoding-plan\u002Fguide\u002Fcodex","3.coding-plan\u002F5.guide\u002F4.codex",{"title":91,"path":92,"stem":93},"ZCode","\u002Fcoding-plan\u002Fguide\u002Fzcode","3.coding-plan\u002F5.guide\u002F5.zcode",{"title":95,"path":96,"stem":97},"TRAE","\u002Fcoding-plan\u002Fguide\u002Ftrae","3.coding-plan\u002F5.guide\u002F6.trae",{"title":99,"path":100,"stem":101},"CodeBuddy","\u002Fcoding-plan\u002Fguide\u002Fcodebuddy","3.coding-plan\u002F5.guide\u002F7.codebuddy",{"title":22,"path":103,"stem":104},"\u002Fcoding-plan\u002Ffaq","3.coding-plan\u002F6.faq",{"title":106,"path":107,"stem":108,"children":109,"page":25},"Model APIs","\u002Fmodels","4.models",[110,143],{"title":111,"path":112,"stem":113,"children":114,"page":25},"Text Generation Model API","\u002Fmodels\u002Fchat","4.models\u002F1.chat",[115,119,123,127,131,135,139],{"title":116,"path":117,"stem":118},"Overview","\u002Fmodels\u002Fchat\u002Foverview","4.models\u002F1.chat\u002F1.overview",{"title":120,"path":121,"stem":122},"OpenAI Compatible API","\u002Fmodels\u002Fchat\u002Fopenai","4.models\u002F1.chat\u002F2.openai",{"title":124,"path":125,"stem":126},"Anthropic Compatible","\u002Fmodels\u002Fchat\u002Fanthropic","4.models\u002F1.chat\u002F3.anthropic",{"title":128,"path":129,"stem":130},"Volcengine Compatible","\u002Fmodels\u002Fchat\u002Fvolcengine","4.models\u002F1.chat\u002F4.volcengine",{"title":132,"path":133,"stem":134},"Zhipu Compatible","\u002Fmodels\u002Fchat\u002Fzhipu","4.models\u002F1.chat\u002F5.zhipu",{"title":136,"path":137,"stem":138},"SilvaMux Unified Entry","\u002Fmodels\u002Fchat\u002Funified","4.models\u002F1.chat\u002F6.unified",{"title":140,"path":141,"stem":142},"Multimodal Input","\u002Fmodels\u002Fchat\u002Fmultimodal","4.models\u002F1.chat\u002F7.multimodal",{"title":144,"path":145,"stem":146,"children":147,"page":25},"Image Generation Model API","\u002Fmodels\u002Fimages","4.models\u002F2.images",[148,151],{"title":116,"path":149,"stem":150},"\u002Fmodels\u002Fimages\u002Foverview","4.models\u002F2.images\u002F1.overview",{"title":152,"path":153,"stem":154},"Image Generation API","\u002Fmodels\u002Fimages\u002Fgeneration","4.models\u002F2.images\u002F2.generation",{"title":156,"path":157,"stem":158,"children":159,"page":25},"Usage & Balance","\u002Fusage-and-balance","5.usage-and-balance",[160,164,168],{"title":161,"path":162,"stem":163},"Query Balance","\u002Fusage-and-balance\u002Fbalance","5.usage-and-balance\u002F1.balance",{"title":165,"path":166,"stem":167},"Query Usage","\u002Fusage-and-balance\u002Fusage","5.usage-and-balance\u002F2.usage",{"title":169,"path":170,"stem":171},"Query Request Usage","\u002Fusage-and-balance\u002Frequest-usage","5.usage-and-balance\u002F3.request-usage",{"title":173,"path":174,"stem":175},"Error Codes","\u002Ferrors","6.errors",{"title":177,"path":178,"stem":179},"Getting Started with SilvaMux","\u002F","index",{"id":181,"title":91,"body":182,"description":421,"extension":422,"meta":423,"navigation":424,"path":92,"rawbody":425,"requiredFlags":426,"seo":427,"stem":93,"__hash__":428},"docs_en\u002F3.coding-plan\u002F5.guide\u002F5.zcode.md",{"type":183,"value":184,"toc":409},"minimark",[185,189,193,198,244,270,277,281,290,294,310,359,365,368,372,379,382,387,398,402],[186,187,91],"h1",{"id":188},"zcode",[190,191,192],"p",{},"ZCode is a full-featured Agentic Development Environment (ADE) for long-horizon tasks and can connect to SilvaMux Coding Plan.",[194,195,197],"h2",{"id":196},"before-you-start","Before You Start",[199,200,201,215,230],"ol",{},[202,203,204,208,209,214],"li",{},[205,206,207],"strong",{},"Purchase a subscription",": buy a Coding Plan Personal subscription (Lite \u002F Pro \u002F Max with monthly, quarterly, or yearly billing) on the ",[210,211,213],"a",{"href":212},"\u002Fen\u002Fsubscription","subscription page","; it takes effect immediately after payment.",[202,216,217,220,221,224,225,229],{},[205,218,219],{},"Create a subscription API key",": in the console, go to ",[205,222,223],{},"Coding Plan → API Keys",", create a key, and copy the full value starting with ",[226,227,228],"code",{},"cp_live_"," right away.",[202,231,232,235,236,239,240,243],{},[205,233,234],{},"Confirm endpoints and protocols",": all tools share the Base URL ",[226,237,238],{},"https:\u002F\u002Fwww.silvamux.com\u002Fapi\u002Fcoding-plan\u002Fv1",", compatible with both the OpenAI and Anthropic protocols; see ",[210,241,73],{"href":242},"\u002Fen\u002Fdocs\u002Fcoding-plan\u002Fguide"," for endpoint details.",[245,246,248],"alert",{"type":247},"warning",[190,249,250,251,253,254,257,258,261,262,265,266,269],{},"A ",[226,252,228],{}," key can only call the ",[226,255,256],{},"\u002Fapi\u002Fcoding-plan\u002Fv1"," subscription endpoints; using it on regular endpoints (such as ",[226,259,260],{},"\u002Fapi\u002Fv1\u002Fchat\u002Fcompletions",") returns 403 ",[226,263,264],{},"CODING_PLAN_KEY_NOT_ALLOWED","; conversely, a regular ",[226,267,268],{},"sk_live_"," key cannot call the subscription endpoints.",[190,271,272,273,276],{},"For the full flow of purchasing, key creation, and a verification call, see ",[210,274,53],{"href":275},"\u002Fen\u002Fdocs\u002Fcoding-plan\u002Fquick-start",".",[194,278,280],{"id":279},"install-zcode","Install ZCode",[190,282,283,284,276],{},"Download and install the version for your operating system from the ",[210,285,289],{"href":286,"rel":287},"https:\u002F\u002Fzcode.z.ai\u002F",[288],"nofollow","ZCode website",[194,291,293],{"id":292},"configure-credentials","Configure Credentials",[199,295,296,307],{},[202,297,298,299,302,303,306],{},"Start ZCode, click the ",[205,300,301],{},"Settings"," button in the bottom-left corner, and open the ",[205,304,305],{},"Model Providers"," page from the left navigation.",[202,308,309],{},"Fill in the following in the model provider settings:",[311,312,313,326],"table",{},[314,315,316],"thead",{},[317,318,319,323],"tr",{},[320,321,322],"th",{},"Setting",[320,324,325],{},"Value",[327,328,329,341,350],"tbody",{},[317,330,331,335],{},[332,333,334],"td",{},"API Key",[332,336,337,338,340],{},"your ",[226,339,228],{}," subscription key",[317,342,343,346],{},[332,344,345],{},"OpenAI endpoint URL",[332,347,348],{},[226,349,238],{},[317,351,352,355],{},[332,353,354],{},"Anthropic endpoint URL",[332,356,357],{},[226,358,238],{},[199,360,362],{"start":361},3,[202,363,364],{},"Save the settings.",[190,366,367],{},"OpenAI-compatible and Anthropic-compatible calls share the same subscription endpoint Base URL — fill in the same value for both endpoint URLs.",[194,369,371],{"id":370},"switch-models","Switch Models",[190,373,374,375,378],{},"Once configured, select the newly configured model from ZCode's model switch menu and start chatting. The available models follow ",[226,376,377],{},"GET \u002Fapi\u002Fcoding-plan\u002Fv1\u002Fmodels"," and the Model Plaza.",[194,380,22],{"id":381},"faq",[383,384,386],"h3",{"id":385},"_401-on-calls","401 on calls",[190,388,250,389,391,392,394,395,397],{},[226,390,228],{}," key must be used with ",[226,393,238],{},"; a mismatch returns 401. Make sure you are not using a regular ",[226,396,268],{}," key.",[383,399,401],{"id":400},"_429-on-calls","429 on calls",[190,403,404,405,408],{},"When any subscription quota window is exhausted, calls return 429 ",[226,406,407],{},"QUOTA_EXCEEDED"," (the message identifies 5h \u002F weekly \u002F monthly). Wait for the window to recover, or check remaining quota in the console.",{"title":410,"searchDepth":411,"depth":411,"links":412},"",2,[413,414,415,416,417],{"id":196,"depth":411,"text":197},{"id":279,"depth":411,"text":280},{"id":292,"depth":411,"text":293},{"id":370,"depth":411,"text":371},{"id":381,"depth":411,"text":22,"children":418},[419,420],{"id":385,"depth":361,"text":386},{"id":400,"depth":361,"text":401},"Use ZCode with SilvaMux Coding Plan.","md",{},true,"---\ntitle: ZCode\ndescription: Use ZCode with SilvaMux Coding Plan.\n---\n\n# ZCode\n\nZCode is a full-featured Agentic Development Environment (ADE) for long-horizon tasks and can connect to SilvaMux Coding Plan.\n\n## Before You Start\n\n1. **Purchase a subscription**: buy a Coding Plan Personal subscription (Lite \u002F Pro \u002F Max with monthly, quarterly, or yearly billing) on the [subscription page](\u002Fen\u002Fsubscription); it takes effect immediately after payment.\n2. **Create a subscription API key**: in the console, go to **Coding Plan → API Keys**, create a key, and copy the full value starting with `cp_live_` right away.\n3. **Confirm endpoints and protocols**: all tools share the Base URL `https:\u002F\u002Fwww.silvamux.com\u002Fapi\u002Fcoding-plan\u002Fv1`, compatible with both the OpenAI and Anthropic protocols; see [Endpoints & Protocols](\u002Fen\u002Fdocs\u002Fcoding-plan\u002Fguide) for endpoint details.\n\n::alert{type=\"warning\"}\nA `cp_live_` key can only call the `\u002Fapi\u002Fcoding-plan\u002Fv1` subscription endpoints; using it on regular endpoints (such as `\u002Fapi\u002Fv1\u002Fchat\u002Fcompletions`) returns 403 `CODING_PLAN_KEY_NOT_ALLOWED`; conversely, a regular `sk_live_` key cannot call the subscription endpoints.\n::\n\nFor the full flow of purchasing, key creation, and a verification call, see [Quick Start](\u002Fen\u002Fdocs\u002Fcoding-plan\u002Fquick-start).\n\n## Install ZCode\n\nDownload and install the version for your operating system from the [ZCode website](https:\u002F\u002Fzcode.z.ai\u002F).\n\n## Configure Credentials\n\n1. Start ZCode, click the **Settings** button in the bottom-left corner, and open the **Model Providers** page from the left navigation.\n2. Fill in the following in the model provider settings:\n\n| Setting | Value |\n| --- | --- |\n| API Key | your `cp_live_` subscription key |\n| OpenAI endpoint URL | `https:\u002F\u002Fwww.silvamux.com\u002Fapi\u002Fcoding-plan\u002Fv1` |\n| Anthropic endpoint URL | `https:\u002F\u002Fwww.silvamux.com\u002Fapi\u002Fcoding-plan\u002Fv1` |\n\n3. Save the settings.\n\nOpenAI-compatible and Anthropic-compatible calls share the same subscription endpoint Base URL — fill in the same value for both endpoint URLs.\n\n## Switch Models\n\nOnce configured, select the newly configured model from ZCode's model switch menu and start chatting. The available models follow `GET \u002Fapi\u002Fcoding-plan\u002Fv1\u002Fmodels` and the Model Plaza.\n\n## FAQ\n\n### 401 on calls\n\nA `cp_live_` key must be used with `https:\u002F\u002Fwww.silvamux.com\u002Fapi\u002Fcoding-plan\u002Fv1`; a mismatch returns 401. Make sure you are not using a regular `sk_live_` key.\n\n### 429 on calls\n\nWhen any subscription quota window is exhausted, calls return 429 `QUOTA_EXCEEDED` (the message identifies 5h \u002F weekly \u002F monthly). Wait for the window to recover, or check remaining quota in the console.\n",[],{"title":91,"description":421},"XCl8KmeDJyHgiY3KFbsAi0dPPMnNs0WBNpTIFE5w8Wk"]