Methods for Using the GLM Coding Plan in Claude Code
If prompted with “Do you want to use this API key,” select “Yes.”After launching, grant Claude Code permission to access files in your folder as shown below:
ANTHROPIC_MODEL
: Uses GLM-4.5
(recommended for dialogue, planning, coding, and complex reasoning).ANTHROPIC_SMALL_FAST_MODEL
: Uses GLM-4.5-Air
(recommended for file search, syntax checking, and other auxiliary tasks).GLM-4.5-X
, GLM-4.5-AirX
, GLM-4.5-Flash
) are not supported at this time.Currently, switching to other models is not supported.
~/.claude/settings.json
with the following content:claude
to start Claude Code./status
to check the current model status.~/.claude/settings.json
as follows: