GLM-5.1 is Z-AI's next-generation flagship model for agentic engineering, with significantly stronger coding capabilities than its predecessor. It achieves state-of-the-art performance on SWE-Bench Pro and leads GLM-5 by a wide margin on NL2Repo (repo generation) and Terminal-Bench 2.0 (real-world terminal tasks).
function_callinghttps://api.deepinfra.com/v1/openai/v1/chat/completions/v1/models/deepinfra/zai-org/GLM-5.1