Get Unlimited Claude Code for $3
- Published on
- Published on
- Reading time
- 1 min read
- Blog post views
- 29 Views

last week the chinese company z.ai released their flagship coding model glm-4.6. it has a context window of 200k and it’s currently on discount.
we can abuse that.
-
go to z.ai’s website and subscribe to a monthly coding plan. it’s currently on discount for $3.
-
obtain your z.ai api keys from here and download claude code —
npm install -g @anthropic-ai/claude-code. -
after installing claude code, set up environment variables using one of the following two methods:
a. using script, run a chmod +x (i prefer this)
curl -O "http://bigmodel-us3-prod-marketplace.cn-wlcb.ufileos.com/1753683755292-30b3431f487b4cc1863e57a81d78e289.sh?ufileattname=claude_code_prod_zai.sh"b. manual configuration
export ANTHROPIC_BASE_URL=https://api.z.ai/api/anthropic
export ANTHROPIC_AUTH_TOKEN=YOUR_API_KEYlowkey feels like their entire cli tool and website is vibe coded with their own coding model.


you’re done.
tips —
to get up to date document i use context7, login to context7 get your api key and add it to claude with claude mcp add --transport http context7 https://mcp.context7.com/mcp --header "CONTEXT7_API_KEY: $CONTEXT_API_KEY".
demo —
first i generated a CLAUDE.md then i gave it two simple tasks.
a. we have a hero section component generated with kombai. i will use claude code to create a shadcn registry for this component.
b. setup prettier and husky in this repository.

it created a mess with task 1 so i reverted it. it did install prettier though but that isn’t a big thing so prolly the model bad, or i’m bad with claude code. see the result here.