Claude Code model router

GLMproxy

Cross platform GLM proxy for AutoClaw's Zhipu AI models. Provides OpenAI-compatible Chat Completions and Anthropic Messages APIs for Claude Code, Cursor, Continue, OpenCode, and SDKs

Install

Install
npm i -g glmproxy

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/eequaled/GLMproxy.git

From the README

GLM Proxy for AutoClaw

GLM Proxy (glmproxy) is a local Node.js API proxy for AutoClaw's Zhipu AI GLM models. It exposes OpenAI-compatible Chat Completions and Anthropic Messages APIs, so you can use AutoClaw models with Claude Code, Cursor, Continue, OpenCode, LiteLLM, and OpenAI or Anthropic SDKs on Windows, macOS, and Linux.

  =18">

v3.3.0. One CLI, two API formats, zero npm dependencies.

Quick Start

That's it, an interactive menu walks you through format, port, and key. Prefer flags?

Then point any OpenAI-compatible tool at http://127.0.0.1:18791/v1, or any Anthropic-compatible tool at http://127.0.0.1:18792. Default key is mewmew (see Integrations below for exact per-tool setup).

You need: AutoClaw installed, running, and logged in:
- Windows / macOS / Linux: AutoClaw 1.x reads the plaintext request-headers.json; AutoClaw 2.x (Electron) writes an encrypted vault and the proxy decrypts it itself — Windows via DPAPI, macOS via the login Keychain, Linux via the Secret Service / GNOME Keyring. Either way auth is automatic — no manual token copying. Node.js 18+ required on all platforms.
- Linux: For Linux TLS compatibility matching AutoClaw's Electron fingerprint, ensure curl_cffi is installed (pip install curl_cffi).

Integrations

Claude Code CLI & Anthropic API

Add to ~/.claude/settings.json:

Or let the proxy do it for you: run glmproxy, pick Anthropic format, and choose Launch Claude Code with \. The launcher writes a settings file into the proxy's state dir, passes it through claude --settings (feature-detected — older clients fall back to environment-only routing), waits for the gateway to answer /healthz, and then hands your terminal to the interactive client. The gateway stays up when Claude Code exits; GLMP_CLAUDE_BIN points the launcher at a…
Read the full README on GitHub

Details

Language
JavaScript
License
MIT
Last updated
17 October 2026
Topics
ai-codinganthropicapi-proxyautoclawclaude-apiclaude-codecontinuecursorglmglm-5-3glm-5-3-flashglm-proxy

FAQ

What is GLMproxy?

Cross platform GLM proxy for AutoClaw's Zhipu AI models. Provides OpenAI-compatible Chat Completions and Anthropic Messages APIs for Claude Code, Cursor, Continue, OpenCode, and SDKs It is a model router for Claude Code, from eequaled/GLMproxy on GitHub.

How do I install GLMproxy?

Run npm i -g glmproxy, then follow the setup in the README.

Is GLMproxy popular?

eequaled/GLMproxy has 40 GitHub stars and 6 forks. It was last updated on 17 October 2026.

More model routers & proxies

Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.