GLM-5.1
z-ai/glm-5.1TextReasoningThinks before it answers, for problems with several steps.
Input · 1M€1.45tokens you send
Output · 1M€4.54tokens you get back
Context1Mtokens per request
First token––
Uptime · 30 days99.90%
Measured on our own gateway, per day.
Good fit for
- Chat, summaries and extraction
- Long, careful reasoning and analysis
import osfrom openai import OpenAI client = OpenAI( base_url="https://api.nexrouting.com/v1", api_key=os.environ["NEXROUTING_API_KEY"],) reply = client.chat.completions.create( model="z-ai/glm-5.1", messages=[{"role": "user", "content": "Hello"}],)