Skip to content

Instantly share code, notes, and snippets.

@steebchen
Created January 25, 2026 19:21
Show Gist options
  • Select an option

  • Save steebchen/ddeb205cec920322af73c24b9df28dd0 to your computer and use it in GitHub Desktop.

Select an option

Save steebchen/ddeb205cec920322af73c24b9df28dd0 to your computer and use it in GitHub Desktop.
GLM-4.7 with Claude Code via LLM Gateway

GLM-4.7 with Claude Code via LLM Gateway

Model Overview

  • Model ID: glm-4-plus
  • Provider: Zhipu AI
  • Strengths: Strong multilingual support, competitive reasoning, Chinese language excellence
  • Context: 128K tokens

Configuration

export ANTHROPIC_BASE_URL="https://api.llmgateway.io/v1"
export ANTHROPIC_API_KEY="your-llmgateway-api-key"

Usage

# Use GLM-4.7
claude --model glm-4-plus

# Set in ~/.claude/settings.json
{
  "model": "glm-4-plus"
}

Best Use Cases

  • Multilingual codebases
  • Chinese documentation and comments
  • Cross-cultural development teams
  • General coding assistance
  • Code explanation in multiple languages

Pricing Tier

Mid-tier - good balance for multilingual projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment