@NielsRogge: Here's how to use Claude Code with GLM-5.2 via @huggingface Inference Providers: 1. Create a token at https://huggingfa…
Summary
Learn how to use Claude Code with GLM-5.2 via Hugging Face Inference Providers. GLM-5.2 is free for 6 hours on several providers like Together AI, Fireworks, and DeepInfra.
View Cached Full Text
Cached at: 06/21/26, 04:34 AM
Here’s how to use Claude Code with GLM-5.2 via @huggingface Inference Providers:
- Create a token at https://t.co/K7LA8W4aWh (fine-grained, enable “Make calls to Inference Providers”)
- Set the environment variables below
- ???
- Profit https://t.co/mnZmXWWsRP
Hugging Face – The AI community building the future.
Source: https://huggingface.co/login?next=%2Fsettings%2Ftokens
## Log In
With your Hugging Face Account
Username or Email addressPasswordForgot your password?
Don’t have an account?Sign Up
Unlock SSOwithTeam & Enterprise
Victor M (@victormustar): Open source MUST win 🔥
GLM-5.2 is free when used with Hugging Face Inference Providers and for every available provider for the next 6 hours (Zai, Together AI, Novita, Fireworks, DeepInfra) the cost is on us.
Set it up with Pi, opencode, Codex, Claude Code or any coding agent
Similar Articles
@zRdianjiao: GLM-5.2 is now selectable in Claude Code via Hugging Face Inference Providers + hf-claude. Open models are becoming eas…
GLM-5.2 is now selectable in Claude Code via Hugging Face Inference Providers and hf-claude, making it easier to integrate open models into developer workflows.
@_akhaliq: hf-claude works well with glm 5.2 hf extensions install hf-claude
hf-claude, a tool integrating Claude with HuggingFace, works well with GLM 5.2 and HF extensions.
Run Codex and Claude with any model including GLM 5.2. No settings file headaches.
A CLI tool called relay-ai acts as a proxy for Codex Desktop and Claude Code, enabling users to route requests to any model (including GLM 5.2) using their own API keys or OAuth subscriptions, with features to prevent crashes and manage context overflow.
GLM-5.2 inference is free on Hugging Face for the next 6 hours
GLM-5.2 inference is available for free on Hugging Face for the next 6 hours.
Someone added Z.ai's GLM-5.2 to an open-source Python rebuild of Claude Code
ClawCodex, an open-source Python rebuild of Claude Code, now supports Z.ai's GLM-5.2 as a first-class provider, with a demo showing it building a FIFA World Cup 2026 intro page in one shot.