Skip to content

Instantly share code, notes, and snippets.

@smakosh
Forked from steebchen/glm-4-7.md
Created January 25, 2026 20:20
Show Gist options
  • Select an option

  • Save smakosh/77701ecfbe8f64b8915132efa69d0f2c to your computer and use it in GitHub Desktop.

Select an option

Save smakosh/77701ecfbe8f64b8915132efa69d0f2c 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