Default temperature, top_p, clear_thinking settings for Zai-GLM-4.7

Hello 👋! Are you also a Zai-GLM-4.7 user?

You'd be surprised to know that tweaking the values of the temperature (= 0.9), top_p (= 0.95) and clear_thinking (= false) flags significantly improves GLM-4.7 performance on coding tasks!

Try it out for yourself!

(Hat-tip: Jan M Feddersen)

Quote Post

As a Pi user, I was a bit disappointed that I couldn't configure the temperature, top_p, clear_thinking values when calling GLM-4.7.

But, turns out, its really easy to write your own custom provider for Pi! Now I have my Pi harness chugging along at full speed on Cerebras wafers!

Published On: Wed, 11 Feb 2026.