GLM Proxy 如何讓其他 SDK 使用 AutoClaw 的免費 GLM 模型
Using AutoClaws free GLM models usage from other sdks (opencode / claude code)
GLM Proxy 是開源本地代理工具,讓用戶透過支援 OpenAI 或 Anthropic API 的其他 SDK 使用 AutoClaw 提供的免費 GLM 模型。
ive been maintaining this small opensource project GLM Proxy (glmproxy on npm) for a while and its finally on the level where im happy to share it on reddit lmfao. it now works on windows/macos/Linux. thats been a big goal for me.
honestly seeing around 5k npm downloads this past month makes me really happy. people have also helped make the project better by opening issues and sending me feedback personally so thank you to everyone whos tried it and taken the time to reach out.
it lets you use the GLM models available through AutoClaw from any sdk you want. Claude Code, Cursor, Continue, OpenCode, and other clients that support OpenAI or Anthropic APIs.
if you want to try it: npm i -g glmproxy youll need Node.js and AutoClaw installed and logged in.
one thing to note: its an unofficial local proxy so requests still go to zhippus cloud. there are account and ban risks if you burn too much in a short period but not something id worry about, so id appreciate reading the safety notes first.
heres a screenshot of it working on three very different sdks
i finally decided to post about it so if you try it id love to hear how it goes and to maybe share it to your friends. if it helps you out that is (i myself use it a lot for my work and my friends do too so since i found it useful for me i thought why not share it) and star would mean a lot. hopefully i wont see ya on the issue page lol but if something breaks please let me know !
repo link: https://github.com/eequaled/GLMproxy!
來源:DEV Community · dev.to