[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"docs-nav-en":3,"docs-en-coding-plan\u002Fguide\u002Ftrae":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":95,"body":182,"description":442,"extension":443,"meta":444,"navigation":445,"path":96,"rawbody":446,"requiredFlags":447,"seo":448,"stem":97,"__hash__":449},"docs_en\u002F3.coding-plan\u002F5.guide\u002F6.trae.md",{"type":183,"value":184,"toc":428},"minimark",[185,189,193,198,244,270,277,281,290,294,316,371,377,381,388,391,396,407,411,417,421],[186,187,95],"h1",{"id":188},"trae",[190,191,192],"p",{},"TRAE is an AI-powered IDE for developers that combines AI chat, inline code completion, and agentic coding workflows, 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-trae","Install TRAE",[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\u002Fwww.trae.cn\u002F",[288],"nofollow","TRAE website",[194,291,293],{"id":292},"configure-credentials","Configure Credentials",[199,295,296,306,313],{},[202,297,298,299,302,303,276],{},"In TRAE, click the ",[205,300,301],{},"model switch dropdown"," or go to ",[205,304,305],{},"Settings → Models",[202,307,308,309,312],{},"Choose ",[205,310,311],{},"Add Model"," and select the custom \u002F OpenAI-compatible provider entry.",[202,314,315],{},"Fill in the following:",[317,318,319,332],"table",{},[320,321,322],"thead",{},[323,324,325,329],"tr",{},[326,327,328],"th",{},"Setting",[326,330,331],{},"Value",[333,334,335,347,356],"tbody",{},[323,336,337,341],{},[338,339,340],"td",{},"API Key",[338,342,343,344,346],{},"your ",[226,345,228],{}," subscription key",[323,348,349,352],{},[338,350,351],{},"Base URL",[338,353,354],{},[226,355,238],{},[323,357,358,361],{},[338,359,360],{},"Model",[338,362,363,366,367,370],{},[226,364,365],{},"deepseek-v4-pro"," (available models follow ",[226,368,369],{},"GET \u002Fapi\u002Fcoding-plan\u002Fv1\u002Fmodels",")",[199,372,374],{"start":373},4,[202,375,376],{},"Save the settings.",[194,378,380],{"id":379},"switch-models","Switch Models",[190,382,383,384,387],{},"Once configured, select the newly created model under ",[205,385,386],{},"Custom Models"," and start chatting.",[194,389,22],{"id":390},"faq",[392,393,395],"h3",{"id":394},"_401-on-calls","401 on calls",[190,397,250,398,400,401,403,404,406],{},[226,399,228],{}," key must be used with ",[226,402,238],{},"; a mismatch returns 401. Make sure you are not using a regular ",[226,405,268],{}," key.",[392,408,410],{"id":409},"the-added-model-is-not-found-after-configuration","The added model is not found after configuration",[190,412,413,414,416],{},"Confirm the settings are saved, then look for it under the ",[205,415,386],{}," group in the model switch menu; if it is still missing, restart TRAE and try again.",[392,418,420],{"id":419},"_429-on-calls","429 on calls",[190,422,423,424,427],{},"When any subscription quota window is exhausted, calls return 429 ",[226,425,426],{},"QUOTA_EXCEEDED"," (the message identifies 5h \u002F weekly \u002F monthly). Wait for the window to recover, or check remaining quota in the console.",{"title":429,"searchDepth":430,"depth":430,"links":431},"",2,[432,433,434,435,436],{"id":196,"depth":430,"text":197},{"id":279,"depth":430,"text":280},{"id":292,"depth":430,"text":293},{"id":379,"depth":430,"text":380},{"id":390,"depth":430,"text":22,"children":437},[438,440,441],{"id":394,"depth":439,"text":395},3,{"id":409,"depth":439,"text":410},{"id":419,"depth":439,"text":420},"Use TRAE with SilvaMux Coding Plan.","md",{},true,"---\ntitle: TRAE\ndescription: Use TRAE with SilvaMux Coding Plan.\n---\n\n# TRAE\n\nTRAE is an AI-powered IDE for developers that combines AI chat, inline code completion, and agentic coding workflows, 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 TRAE\n\nDownload and install the version for your operating system from the [TRAE website](https:\u002F\u002Fwww.trae.cn\u002F).\n\n## Configure Credentials\n\n1. In TRAE, click the **model switch dropdown** or go to **Settings → Models**.\n2. Choose **Add Model** and select the custom \u002F OpenAI-compatible provider entry.\n3. Fill in the following:\n\n| Setting | Value |\n| --- | --- |\n| API Key | your `cp_live_` subscription key |\n| Base URL | `https:\u002F\u002Fwww.silvamux.com\u002Fapi\u002Fcoding-plan\u002Fv1` |\n| Model | `deepseek-v4-pro` (available models follow `GET \u002Fapi\u002Fcoding-plan\u002Fv1\u002Fmodels`) |\n\n4. Save the settings.\n\n## Switch Models\n\nOnce configured, select the newly created model under **Custom Models** and start chatting.\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### The added model is not found after configuration\n\nConfirm the settings are saved, then look for it under the **Custom Models** group in the model switch menu; if it is still missing, restart TRAE and try again.\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":95,"description":442},"0A8wC6ipp1A3uzpMsztL7xa1AW3GhJPEpynSGeAN1vI"]