How to run GLM-5.2 in any harness
Jun 25, 2026
Summary
This post details the integration of the GLM-5.2 model into three popular developer harnesses: Claude Code, Codex, and Deep Agents CLI (LangChain). It provides concrete configuration steps, including setting API keys and base URLs for Baseten's inference endpoint (`https://inference.baseten.co` and `https://inference.baseten.co/v1`), and specifying the model identifier (`zai-org/GLM-5.2`). The post highlights the ability to generalize this setup to other harnesses by providing the API key and endpoint.
More from the Baseten AI Model Deployment and Serving Platform trail
- LangChain trains custom models for LangSmith Engine with Baseten Loops
- DeepSeek-V4.1-Flash: more efficient prefill for coding agents
- Blaxel is joining Baseten to build the future of agentic infrastructure
- How Baseten makes pyannote’s diarization models 9.6x faster
- Optimizing delta weight syncs for managed rollouts