Skip to content

docs: Z.AI GLM Coding Plan setup for Claude providers - #8581

Closed
FelipeMayerDev wants to merge 1 commit into
pingdotgg:mainfrom
FelipeMayerDev:docs-zai-glm
Closed

docs: Z.AI GLM Coding Plan setup for Claude providers#8581
FelipeMayerDev wants to merge 1 commit into
pingdotgg:mainfrom
FelipeMayerDev:docs-zai-glm

Conversation

@FelipeMayerDev

@FelipeMayerDev FelipeMayerDev commented Aug 28, 2026

Copy link
Copy Markdown

Adds a Z.AI section to the Claude providers guide, mirroring the existing OpenRouter walkthrough.

Z.AI's GLM Coding Plan exposes a Claude-compatible endpoint, so it is the same mechanism the guide already documents: a Claude provider instance with environment variables (ANTHROPIC_BASE_URL=https://api.z.ai/api/anthropic, ANTHROPIC_AUTH_TOKEN, API_TIMEOUT_MS), plus optional GLM model-role mapping and common mistakes.

Docs-only; no code.


Note

Low Risk
Documentation-only change with no runtime, auth, or data-handling impact.

Overview
Adds user documentation for routing Claude Code through Z.AI's GLM Coding Plan via a dedicated Claude provider (same pattern as the existing OpenRouter section).

The new section in providers-claude.md covers provider settings (CLAUDE_CONFIG_DIR, display name), required env vars (ANTHROPIC_BASE_URL, ANTHROPIC_AUTH_TOKEN, API_TIMEOUT_MS), optional GLM model-role mappings, /status verification, logout/isolation notes, and a common mistakes list with a link to Z.AI's upstream Claude Code guide.

Reviewed by Cursor Bugbot for commit b3660c7. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

Add Z.AI GLM Coding Plan setup guide to Claude provider docs

Adds a new 'I Want To Use Z.AI (GLM Coding Plan)' section to providers-claude.md. Covers environment variables (ANTHROPIC_BASE_URL, ANTHROPIC_AUTH_TOKEN, API_TIMEOUT_MS), separate Claude home directory setup, default model role mapping to GLM model IDs (glm-4.7 and glm-4.5-air), a common mistakes checklist, and a link to Z.AI's upstream guide.

Macroscope summarized b3660c7.

@coderabbitai

coderabbitai Bot commented Aug 28, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 652fee48-0357-4dfa-8855-80d5b8d3ea24

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added vouch:unvouched PR author is not yet trusted in the VOUCHED list. size:M 30-99 changed lines (additions + deletions). labels Aug 28, 2026
@macroscopeapp

macroscopeapp Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved at b3660c7

Macroscope's review found this PR approvable — This PR adds a self-contained Z.AI setup section to an existing Claude provider guide and changes no executable code, configuration, authentication handling, or production behavior. Its impact is limited to rendered documentation and user-directed setup instructions.

You can add or adjust custom eligibility rules. Learn more.

@FelipeMayerDev

Copy link
Copy Markdown
Author

Superseded by #8583 (combined PR).

@FelipeMayerDev
FelipeMayerDev deleted the docs-zai-glm branch August 28, 2026 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M 30-99 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant