Skip to main content
Watch: I Built an AI App Without Leaving Databricks

Setup guide - Documented by Continue

Use GLM in Continue

Continue's docs document a built-in zAI provider in config.yaml, defaulting to Z.ai's standard API base https://api.z.ai/api/paas/v4/, with an optional apiBase override for the Coding Plan endpoint.

Last verified 3 steps5 official sources

Steps

  1. Step 1.

    Get an API key from the Z.ai Platform (https://z.ai/manage-apikey/apikey-list).

  2. Step 2.

    Add a zAI model to your Continue config.yaml (Continue's documented example).

    YAML
    name: My Config
    version: 0.0.1
    schema: v1
    
    models:
      - name: GLM-5
        provider: zAI
        model: glm-5
        apiKey: <YOUR_ZAI_API_KEY>
  3. Step 3.

    To use Z.ai's current flagship, set model to glm-5.3 (current id from Z.ai's docs). The default apiBase is https://api.z.ai/api/paas/v4/.

    YAML
        model: glm-5.3

Caveats

  • Continue's Z.ai page lists glm-5, glm-4.7, glm-4-plus and glm-4.5 (with 128K context); glm-5.3 and glm-5.3-flash are current ids from Z.ai's own model pages, combined here with Continue's documented provider config.
  • Continue's docs suggest setting apiBase to https://api.z.ai/api/coding/paas/v4/ for the Coding Plan, but Continue is not on Z.ai's list of supported tools and Z.ai says the GLM Coding Plan may not be used outside those tools. Use a Standard API key with the default endpoint (pay-as-you-go).
  • Since 2026-10-16 Standard and Coding Plan keys are separate; a Standard key bills your account balance.

FAQ

How do I use GLM in Continue?

Continue's docs document a built-in zAI provider in config.yaml, defaulting to Z.ai's standard API base https://api.z.ai/api/paas/v4/, with an optional apiBase override for the Coding Plan endpoint.

Which GLM model ids work in Continue?

The official docs read for this guide list glm-5.3, glm-5.3-flash, glm-5 and glm-4.7. Requests go to https://api.z.ai/api/paas/v4/.

Is this an official GLM and Continue setup?

Continue documents this setup in its own docs. It was last checked against 5 official pages on October 17, 2026.

Sources

Last verified against 5 official pages.

Newsletter

New models, set up the day they ship

One email per week. New model releases, the coding tools that support them and how to wire them up.