Baseten

How to run GLM-5.2 in any harness

Jun 25, 2026
How to run GLM-5.2 in any harness
SummaryAI, from the source post

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