Use it for balanced work
Research, coding, tool calls, structured answers, and tasks that do not need a specialist model.
Z.AI · GENERAL FOUNDATION MODEL
GLM-5 is a general purpose model for Hermes Agent. It is a practical starting point when a task needs reasoning, code, and tool calls but does not require a specialist visual or persistent workflow model.

Technical facts for Hermes
These facts show where GLM-5 fits inside Hermes and which details change the cost and review path.
Where to be careful
Before you let the Agent run
Start with the general model, then route by evidence.
Research, coding, tool calls, structured answers, and tasks that do not need a specialist model.
For visual coding, persistent OpenClaw tasks, or huge repositories, use the model built for that job.
Start with GLM-5 for bounded work. Route visual tasks to GLM-5V-Turbo, persistent tool chains to GLM-5-Turbo, and project scale coding to GLM-5.2 or GLM-5.3.
Good Hermes tasks
The same GLM family can play different roles. Use this table before you route a task.
Search approved sources, compare findings, and return a clear answer with evidence.
Implement a bounded change, run checks, and explain the result.
Classify requests, call a tool, and return JSON for the next workflow step.
Read the task and decide whether a specialist model should handle the next step.
It can research, explain, and return a structured answer.
Keep the tool list short so the Agent can verify each result.
A specialist model will see more of the required state.
Hermes workflow
Hermes can begin with GLM-5, measure what the task needs, and route visual, long context, or persistent work to a specialist model.
Read the request and identify the goal, data, tools, and risk.
Complete the bounded task with the available tools.
Return structured output, tests, sources, or uncertainty.
Move the next step to a more specialized model if needed.


Practical case
Hermes receives customer requests from several channels. GLM-5 classifies each request, extracts the product and urgency, checks the internal help tool, and returns a structured record. Requests that require a screenshot go to GLM-5V-Turbo. Requests that require a large repository change go to GLM-5.2. Hermes keeps the first model as the low friction entry point and routes only the work that needs more capability.
Hermes receives a support request and the customer record.
GLM-5 extracts the product, urgency, language, and missing facts.
Hermes calls the approved help-center and account tools.
Visual bugs go to GLM-5V-Turbo; repository changes go to GLM-5.2.
The team keeps GLM-5 as the low-friction first step and pays for specialist models only when the request needs them.
Human checkA person checks refunds, account changes, policy exceptions, and any reply that could create a legal or financial commitment.
Cost decision
A general model is useful when the task shape is not known yet. Once Hermes sees repeated patterns, route those patterns to a cheaper or more specialized model.
For a short support request, keep the prompt small and use GLM-5 once. If the same request pattern repeats, move extraction to a lower-cost model and keep GLM-5 for the uncertain cases.
Use GLM-5 in Hermes
Select glm-5, define the output format, and give Hermes a clear rule for when to route the next step to another model.
curl https://api.hermes-ai.net/api/v1/chat/completions \
-H "Authorization: Bearer $HERMES_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-5",
"messages": [{"role":"user","content":"Run the approved task and return a short verification report."}]
}'FAQ
It is a balanced starting point for research, coding, structured output, and tool calls. Move repeated or specialist work to a model that is cheaper or better matched.
Yes, but Hermes should expose only the tools needed for the request and require a verification result before accepting side effects.
GLM-5 is the general starting point. GLM-5.1 is better for long execution loops, while GLM-5.2 is better when many files and project decisions must stay aligned.
It can handle a bounded run, but longer work benefits from GLM-5.1 or GLM-5.2 plus explicit checkpoints, tests, and stop conditions.
Use a smaller model for simple extraction, classification, and short answers. Keep GLM-5 for tasks where reasoning or tool selection changes the result.
HERMES API · GLM-5
Select glm-5, define the output format, and give Hermes a clear rule for when to route the next step to another model.