Methods for Using the GLM Coding Plan in Cline Plugin
Cline is a powerful VS Code plugin that lets you use AI models directly in your editor for code generation, file operations, and more. It not only accelerates your workflow but also provides contextual understanding and intelligent suggestions for complex tasks.Cline is even more capable with the GLM Coding Plan, giving you more usage at a lower cost, so you can handle code generation, file management, and multimodal interactions with ease.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Overview - Z.AI DEVELOPER DOCUMENT","description":"Use GLM models like GLM-5.3 \u0026 GLM-5.3-FLASH for AI coding in Claude Code, Kilo Code, Cline, OpenCode, Clawdbot/OpenClaw and more. Plans from $18/month—fast, reliable code generation and tool use for daily dev work.","colors":{"primary":"#141618","light":"#9fa0a0","dark":"#141618"},"logo":{"light":"https://mintcdn.com/zhipu-32152247/B_E8wI-eiNa1QlPV/logo/dark.svg?fit=max\u0026auto=format\u0026n=B_E8wI-eiNa1QlPV\u0026q=85\u0026s=75deefa9dea5bdbc84d4da68885c267f","dark":"https://mintcdn.com/zhipu-32152247/B_E8wI-eiNa1QlPV/logo/light.svg?fit=max\u0026auto=format\u0026n=B_E8wI-eiNa1QlPV\u0026q=85\u0026s=c1ecf1af358fa8eeab8c06052337f8f6","href":"https://z.ai/model-api"},"favicon":"https://mintcdn.com/zhipu-32152247/ZWmez2h5N6TCeIMS/favicon.svg?fit=max\u0026auto=format\u0026n=ZWmez2h5N6TCeIMS\u0026q=85\u0026s=f41adc4aa1fc28f2be33d46791810b1f","api":{"openapi":["openapi.json"],"params":{"expanded":"all"},"playground":{"display":"interactive","proxy":false},"examples":{"defaults":"all","languages":["bash","python","javascript","java"],"prefill":true}},"appearance":{"default":"dark","strict":false},"navbar":{"links":[{"href":"https://z.ai/manage-apikey/apikey-list","label":"API Keys"},{"href":"https://z.ai/manage-apikey/billing","label":"Payment Method"}]},"footer":{"socials":{"x":"https://x.com/Zai_org","github":"https://github.com/zai-org","discord":"https://discord.gg/QR7SARHRxK","linkedin":"https://www.linkedin.com/company/zdotai"}},"contextual":{"options":["copy","view"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"zhipu-32152247","hasAudioNarration":false,"actualSubdomain":"zhipu-32152247","customDomains":["docs.z.ai"],"gitSource":{"type":"github","owner":"zai-doc","repo":"zai-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ad982b40692ca83e0558190","collectionId":"337c0221-7d4f-481b-b364-9baa28b1cd47","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad982b40692ca83e0558190"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6ad982b40692ca83e0558190","clientVersion":"0.0.4006","searchFilterCounts":[{"language":"default","tag":"Guides","count":25},{"language":"default","tag":"API Reference","count":18},{"language":"default","tag":"Coding Plan","count":18},{"language":"default","tag":"Get Started","count":10},{"language":"default","tag":"Guide","count":8},{"language":"default","tag":"Capabilities","count":7},{"language":"default","tag":"SDKs Guide","count":5},{"language":"default","tag":"Agent API","count":4},{"language":"default","tag":"Tool API","count":4},{"language":"default","tag":"GLM Coding Plan","count":4}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#footer div:last-child{display:none}.md\\:h-10{height:3rem}.prose-dark :where(a):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-dark :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900}"}],"page":{"pagePath":"scenario-example/develop-tools/cline","slug":"/scenario-example/develop-tools/cline","pageMetadata":{"title":"Cline","description":"Methods for Using the GLM Coding Plan in Cline Plugin","href":"/scenario-example/develop-tools/cline"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Methods for Using the GLM Coding Plan in Cline Plugin\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,br:`br`,code:`code`,img:`img`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Cline is a powerful VS Code plugin that lets you use AI models directly in your editor for code generation, file operations, and more. It not only accelerates your workflow but also provides contextual understanding and intelligent suggestions for complex tasks.`}),`\n`,_jsxs(_components.p,{children:[`Cline is even more capable with the `,_jsx(_components.a,{href:`https://z.ai/subscribe?utm_source=zai\u0026utm_medium=link\u0026utm_term=devpack-integration\u0026utm_campaign=Platform_Ops\u0026_channel_track_key=w3mNdY8g`,children:`GLM Coding Plan`}),`, giving you more usage at a lower cost, so you can handle code generation, file management, and multimodal interactions with ease.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Using the GLM Coding Plan, you need to configure the dedicated Coding API `,_jsx(_components.a,{href:`https://api.z.ai/api/coding/paas/v4`,children:`https://api.z.ai/api/coding/paas/v4`}),` instead of the General API `,_jsx(_components.a,{href:`https://api.z.ai/api/paas/v4`,children:`https://api.z.ai/api/paas/v4`})]})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`For users who have used the service before 2025-12-22: `,_jsx(_components.br,{}),`\n`,`The default model has been upgraded to GLM-4.7. Please update your config accordingly.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`step-1-installing-the-cline-plugin`,children:`Step 1: Installing the Cline Plugin`}),`\n`,_jsx(Heading,{level:`3`,id:`1-open-the-extensions-marketplace`,children:`1. Open the Extensions Marketplace`}),`\n`,_jsx(_components.p,{children:`a. Open VS Code`}),`\n`,_jsx(_components.p,{children:`b. Click the Extensions Marketplace icon on the left`}),`\n`,_jsxs(_components.p,{children:[`c. Enter `,_jsx(_components.code,{children:`cline`}),` in the search box`]}),`\n`,_jsxs(_components.p,{children:[`d. Locate the `,_jsx(_components.code,{children:`Cline`}),` extension`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`https://cdn.bigmodel.cn/markdown/1753688113562c1.png?attname=c1.png`,alt:`Description`})}),`\n`,_jsx(Heading,{level:`3`,id:`2-install-the-plugin`,children:`2. Install the Plugin`}),`\n`,_jsxs(_components.p,{children:[`a. Click the `,_jsx(_components.code,{children:`Install`}),` button to install`]}),`\n`,_jsx(_components.p,{children:`b. After installation, choose to trust the developer`}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`https://cdn.bigmodel.cn/markdown/1753688124582c2.jpg?attname=c2.jpg`,alt:`Description`})}),`\n`,_jsx(Heading,{level:`2`,id:`step-2-configuring-api-settings`,children:`Step 2: Configuring API Settings`}),`\n`,_jsx(Heading,{level:`3`,id:`1-select-api-key-method`,children:`1. Select API Key Method`}),`\n`,_jsxs(_components.p,{children:[`Choose `,_jsx(_components.code,{children:`Use your own API Key`})]}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`https://cdn.bigmodel.cn/markdown/1753688131403c3.png?attname=c3.png`,alt:`Description`})}),`\n`,_jsx(Heading,{level:`3`,id:`2-enter-configuration-information`,children:`2. Enter Configuration Information`}),`\n`,_jsx(_components.p,{children:`Fill in the relevant information according to the following settings:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`API Provider`}),`: Select `,_jsx(_components.code,{children:`OpenAI Compatible`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Base URL`}),`: Enter `,_jsx(_components.code,{children:`https://api.z.ai/api/coding/paas/v4`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`API Key`}),`: Enter your Z.AI API Key`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Model`}),`: Select “Use custom” and enter the model name (e.g., `,_jsx(_components.code,{children:`glm-4.7`}),`)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Other Configurations`}),`:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Unchecking `,_jsx(_components.strong,{children:`Support Images`})]}),`\n`,_jsxs(_components.li,{children:[`Adjust `,_jsx(_components.strong,{children:`Context Window Size`}),` to `,_jsx(_components.code,{children:`200000`})]}),`\n`,_jsxs(_components.li,{children:[`Adjust `,_jsx(_components.code,{children:`temperature`}),` and other params according to your task requirements.`]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`https://cdn.bigmodel.cn/markdown/1769394544820image.png`,alt:`Description`})}),`\n`,_jsx(Heading,{level:`2`,id:`step-3-getting-started`,children:`Step 3: Getting Started`}),`\n`,_jsx(_components.p,{children:`Once configured, you can enter your requirements in the input box to let the model assist you with various tasks, such as:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Creating and editing files`}),`\n`,_jsx(_components.li,{children:`Generating code`}),`\n`,_jsx(_components.li,{children:`Refactoring code`}),`\n`,_jsx(_components.li,{children:`Explaining code logic`}),`\n`,_jsx(_components.li,{children:`Debugging issues`}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`https://cdn.bigmodel.cn/markdown/1753688145687c5.png?attname=c5.png`,alt:`Description`})}),`\n`,_jsx(Heading,{level:`2`,id:`step-4-vision-search-reader-mcp`,children:`Step 4: Vision Search Reader MCP`}),`\n`,_jsxs(_components.p,{children:[`Refer to the `,_jsx(_components.a,{href:`/devpack/mcp/vision-mcp-server`,children:`Vision MCP Server`}),` , `,_jsx(_components.a,{href:`/devpack/mcp/search-mcp-server`,children:`Search MCP Server`}),` and `,_jsx(_components.a,{href:`/devpack/mcp/reader-mcp-server`,children:`Web Reader MCP Server`}),` documentation; once configured, you can use them in Cline.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Cline","description":"Methods for Using the GLM Coding Plan in Cline Plugin","href":"/scenario-example/develop-tools/cline"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Step 1: Installing the Cline Plugin","slug":"step-1-installing-the-cline-plugin","depth":2,"children":[{"title":"1. Open the Extensions Marketplace","slug":"1-open-the-extensions-marketplace","depth":3,"children":[]},{"title":"2. Install the Plugin","slug":"2-install-the-plugin","depth":3,"children":[]}]},{"title":"Step 2: Configuring API Settings","slug":"step-2-configuring-api-settings","depth":2,"children":[{"title":"1. Select API Key Method","slug":"1-select-api-key-method","depth":3,"children":[]},{"title":"2. Enter Configuration Information","slug":"2-enter-configuration-information","depth":3,"children":[]}]},{"title":"Step 3: Getting Started","slug":"step-3-getting-started","depth":2,"children":[]},{"title":"Step 4: Vision Search Reader MCP","slug":"step-4-vision-search-reader-mcp","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"zhipu-32152247","siteName":"Overview - Z.AI DEVELOPER DOCUMENT","title":"Cline - Overview - Z.AI DEVELOPER DOCUMENT","navMaps":{"firstHrefInVersion":{"English":{"href":"/scenario-example/develop-tools/cline","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-02-11T16:43:55.820Z","originalFileLocation":"scenario-example/develop-tools/cline.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Methods for Using the GLM Coding Plan in Cline Plugin\">\u003cmeta data-mint-head name=\"application-name\" content=\"Overview - Z.AI DEVELOPER DOCUMENT\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/zhipu-32152247/ksfquWFAc8TQf_Hb/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/zhipu-32152247/ksfquWFAc8TQf_Hb/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/zhipu-32152247/ksfquWFAc8TQf_Hb/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/zhipu-32152247/ksfquWFAc8TQf_Hb/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/zhipu-32152247/ksfquWFAc8TQf_Hb/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/zhipu-32152247/ksfquWFAc8TQf_Hb/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/zhipu-32152247/ksfquWFAc8TQf_Hb/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/zhipu-32152247/ksfquWFAc8TQf_Hb/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/zhipu-32152247/ksfquWFAc8TQf_Hb/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Cline - Overview - Z.AI DEVELOPER DOCUMENT\">\u003cmeta data-mint-head property=\"og:description\" content=\"Methods for Using the GLM Coding Plan in Cline Plugin\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Overview - Z.AI DEVELOPER DOCUMENT\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.z.ai/scenario-example/develop-tools/cline\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://zhipu-32152247.mintlify.app/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Cline\u0026amp;description=Methods+for+Using+the+GLM+Coding+Plan+in+Cline+Plugin\u0026amp;theme=28cd11ffa578495b9d6a62e8\u0026amp;signature=4cc352e30d11be601f2ade2038a4414b4ce45eed55d7fd1f2759cd5c1ae56336\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Cline - Overview - Z.AI DEVELOPER DOCUMENT\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Methods for Using the GLM Coding Plan in Cline Plugin\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://zhipu-32152247.mintlify.app/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Cline\u0026amp;description=Methods+for+Using+the+GLM+Coding+Plan+in+Cline+Plugin\u0026amp;theme=28cd11ffa578495b9d6a62e8\u0026amp;signature=4cc352e30d11be601f2ade2038a4414b4ce45eed55d7fd1f2759cd5c1ae56336\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/zhipu-32152247/ksfquWFAc8TQf_Hb/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Overview - Z.AI DEVELOPER DOCUMENT\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#141618\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.z.ai/scenario-example/develop-tools/cline\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/scenario-example/develop-tools/cline.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Overview - Z.AI DEVELOPER DOCUMENT\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Overview - Z.AI DEVELOPER DOCUMENT","nav":{"global":null,"versions":[{"version":"English","tabs":[{"tab":"Guides","groups":[{"group":"Get Started","pages":[{"title":"Quick Start","href":"/guides/overview/quick-start"},{"title":"Overview","href":"/guides/overview/overview"},{"title":"Pricing","href":"/guides/overview/pricing"},{"title":"Core Parameters","href":"/guides/overview/concept-param"},{"group":"SDKs Guide","pages":[{"title":"HTTP API Calls","href":"/guides/develop/http/introduction"},{"title":"Official Python SDK","href":"/guides/develop/python/introduction"},{"title":"Official Java SDK","href":"/guides/develop/java/introduction"},{"title":"OpenAI Python SDK","href":"/guides/develop/openai/python"},{"title":"LangChain Integration","href":"/guides/develop/langchain/introduction"}]},{"title":"Migrate to GLM-5.3","href":"/guides/overview/migrate-to-glm-new"}]},{"group":"Models","pages":[{"title":"GLM-5.3-Flash/FlashX","tag":"New","href":"/guides/vlm/glm-5.3-flash"},{"title":"GLM-5.3","tag":"Hot","href":"/guides/llm/glm-5.3"},{"title":"GLM-5.2","href":"/guides/llm/glm-5.2"}]},{"group":"Capabilities","pages":[{"title":"Thinking Mode","href":"/guides/capabilities/thinking-mode"},{"title":"Deep Thinking","href":"/guides/capabilities/thinking"},{"title":"Streaming Messages","href":"/guides/capabilities/streaming"},{"title":"Tool Streaming Output","href":"/guides/capabilities/stream-tool"},{"title":"Function Calling","href":"/guides/capabilities/function-calling"},{"title":"Context Caching","href":"/guides/capabilities/cache"},{"title":"Structured Output","href":"/guides/capabilities/struct-output"}]},{"group":"Tools","pages":[{"title":"Web Search","href":"/guides/tools/web-search"},{"title":"Stream Tool Call","href":"/guides/tools/stream-tool"}]},{"group":"Agents","pages":[{"title":"GLM Slide/Poster Agent(beta)","href":"/guides/agents/slide"},{"title":"Translation Agent","href":"/guides/agents/translation"},{"title":"Video Effect Template Agent","href":"/guides/agents/video-template"}]}]},{"tab":"API Reference","groups":[{"group":"Using the APIs","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"Errors","href":"/api-reference/api-code"},{"title":"Rate Limits","url":"https://z.ai/manage-apikey/rate-limits","href":"/api-reference/rate-limit"}]},{"group":"Model API","pages":[{"title":"Chat Completion","openapi":"POST /paas/v4/chat/completions","href":"/api-reference/llm/chat-completion"}]},{"group":"Image API","pages":[{"title":"Generate Image","openapi":"POST /paas/v4/images/generations","href":"/api-reference/image/generate-image"},{"title":"Generate Image(Async)","openapi":"POST /paas/v4/async/images/generations","href":"/api-reference/image/generate-image-async"},{"title":"Retrieve Result","openapi":"GET /paas/v4/async-result/{id}","href":"/api-reference/image/get-image-status"}]},{"group":"Video API","pages":[{"title":"Generate Video(Async)","openapi":"POST /paas/v4/videos/generations","href":"/api-reference/video/generate-video"},{"title":"Retrieve Result","openapi":"GET /paas/v4/async-result/{id}","href":"/api-reference/video/get-video-status"}]},{"group":"Audio API","pages":[{"title":"Audio Transcriptions","openapi":"POST /paas/v4/audio/transcriptions","href":"/api-reference/audio/audio-transcriptions"}]},{"group":"Tool API","pages":[{"title":"Tokenizer","openapi":"POST /paas/v4/tokenizer","href":"/api-reference/tools/tokenizer"},{"title":"Layout Parsing","openapi":"POST /paas/v4/layout_parsing","href":"/api-reference/tools/layout-parsing"},{"title":"Web Search","openapi":"POST /paas/v4/web_search","href":"/api-reference/tools/web-search"},{"title":"Web Reader","openapi":"POST /paas/v4/reader","href":"/api-reference/tools/web-reader"}]},{"group":"Agent API","pages":[{"title":"Agent Chat","openapi":"POST /v1/agents","href":"/api-reference/agents/agent"},{"title":"File Upload","openapi":"POST /paas/v4/files","href":"/api-reference/agents/file-upload"},{"title":"Retrieve Result","openapi":"POST /v1/agents/async-result","href":"/api-reference/agents/get-async-result"},{"title":"Conversation History","openapi":"POST /v1/agents/conversation","href":"/api-reference/agents/agent-conversation"}]}]},{"tab":"Coding Plan","pages":[{"group":"GLM Coding Plan","pages":[{"title":"Overview","href":"/devpack/overview"},{"title":"Usage Policy","href":"/devpack/usage-policy"},{"title":"FAQ","href":"/devpack/faq"},{"title":"Team Plan Benefits","href":"/devpack/teamplan"}]},{"group":"Guide","pages":[{"title":"Quick Start","href":"/devpack/quick-start"},{"title":"Coding Tool Helper","href":"/devpack/extension/coding-tool-helper"},{"title":"Tool Integration","href":"/devpack/tool/others"},{"title":"How to Switch Models","href":"/devpack/latest-model"},{"group":"MCP Integration","pages":[{"title":"Vision MCP Server","href":"/devpack/mcp/vision-mcp-server"},{"title":"Web Search MCP Server","href":"/devpack/mcp/search-mcp-server"},{"title":"Web Reader MCP Server","href":"/devpack/mcp/reader-mcp-server"},{"title":"Zread MCP Server","href":"/devpack/mcp/zread-mcp-server"}]}]},{"group":"Notice","pages":[{"title":"API Key Management Guide","href":"/devpack/notice/api-key-management"},{"title":"Plan Update Announcement","href":"/devpack/notice/usage-revision"},{"title":"Legacy Plan Migration Notice","href":"/devpack/transition"}]},{"group":"Learning Resources","pages":[{"title":"Best Practice","href":"/devpack/resources/best-practice"},{"title":"Memory-mechanism","href":"/devpack/resources/memory-mechanism"}]},{"group":"Campaign Rules","pages":[{"title":"Invite Friends, Get Credits","href":"/devpack/credit-campaign-rules"}]}]},{"tab":"Released Notes","pages":[{"title":"New Released","href":"/release-notes/new-released"}]},{"tab":"Terms and Policy","pages":[{"title":"Privacy Policy","href":"/legal-agreement/privacy-policy"},{"title":"Terms of Use","href":"/legal-agreement/terms-of-use"},{"title":"Subscriptions, Fees, and Payment","href":"/legal-agreement/subscription-terms"}]},{"tab":"Help Center","pages":[{"title":"FAQ","href":"/help/faq"}]}]}]},"title":"Cline - Overview - Z.AI DEVELOPER DOCUMENT","buildId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","deploymentId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-BNnMwe0F.js","lightbox-handle-r17bVUz3.js"]}