How to integrated GLM 5.2 in Visual Studio Code

To use z.ai (Zhipu AI / GLM models) as a coding agent in Visual Studio Code, you have two main options.