GLM 4.6 is good. These would like a word anyway.
GLM 4.6 is good. These would like a word anyway.
GLM 4.6 expands the GLM family with a 200K-token context window, stronger coding benchmarks, and more reliable multi-step reasoning. It integrates deeply with agent frameworks to orchestrate tool use and produces more natural writing for long-form chat.
fromimport openai OpenAI
client = OpenAI(
"https://openrouter.ai/api/v1" base_url=,
"$OPENROUTER_API_KEY" api_key=,
)
response = client.chat.completions.create(
"z-ai/glm-4.6" model=,
"role""user""content""Hello!" messages=[{: , : }],
)
print(response.choices[0].message.content)Set OPENROUTER_API_KEY with your OpenRouter API key from openrouter.ai/keys.
The upgrade that learned to edit. Tighter than 4.5, actually commits to scenes, lets dialogue breathe. Still names AIs "Kaiyo" but at least the office now has "worn leather chairs."
Satire headlines are single sentences now instead of five options with analysis. Stand-up about self-checkout machines is genuinely relatable. Best GLM for creative tasks that require restraint.
Taste is judged on an uncapped scale, originality first. The space past 100 is craft today's models rarely reach.
Unique words vs. total words. Higher = richer vocabulary.
Average words per sentence.
"Might", "perhaps", "arguably" per 100 words.
**Bold** markers per 1,000 characters.
Bullet and numbered list items per 1,000 characters.
Markdown headings per 1,000 characters.
Emoji per 1,000 characters.
"However", "moreover", "furthermore" per 100 words.
54 outputs · $0.11 tracked across 11 receipts
GLM 4.6 expands the GLM family with a 200K-token context window, stronger coding benchmarks, and more reliable multi-step reasoning. It integrates deeply with agent frameworks to orchestrate tool use and produces more natural writing for long-form chat.
fromimport openai OpenAI
client = OpenAI(
"https://openrouter.ai/api/v1" base_url=,
"$OPENROUTER_API_KEY" api_key=,
)
response = client.chat.completions.create(
"z-ai/glm-4.6" model=,
"role""user""content""Hello!" messages=[{: , : }],
)
print(response.choices[0].message.content)Set OPENROUTER_API_KEY with your OpenRouter API key from openrouter.ai/keys.
The upgrade that learned to edit. Tighter than 4.5, actually commits to scenes, lets dialogue breathe. Still names AIs "Kaiyo" but at least the office now has "worn leather chairs."
Satire headlines are single sentences now instead of five options with analysis. Stand-up about self-checkout machines is genuinely relatable. Best GLM for creative tasks that require restraint.
Taste is judged on an uncapped scale, originality first. The space past 100 is craft today's models rarely reach.
Unique words vs. total words. Higher = richer vocabulary.
Average words per sentence.
"Might", "perhaps", "arguably" per 100 words.
**Bold** markers per 1,000 characters.
Bullet and numbered list items per 1,000 characters.
Markdown headings per 1,000 characters.
Emoji per 1,000 characters.
"However", "moreover", "furthermore" per 100 words.
54 outputs · $0.11 tracked across 11 receipts