~z
Z.ai: GLM Latest
~z-ai/glm-latest
Available~z-aitext intext out
This model always redirects to the latest GLM model from Z.ai.
Context
1.0M
tokens in
Max output
944K
tokens out
Price
$0.070 / $1.40
per 1M in / out
Quick start
curl https://api.token265.com/v1/chat/completions \
-H "Authorization: Bearer ${OPENROUTER_KEY}" \
-H "Content-Type: application/json" \
-d '{
"model": "~z-ai/glm-latest",
"messages": [{"role": "user", "content": "hello"}]
}'from openai import OpenAI
client = OpenAI(base_url="https://api.token265.com/v1", api_key="sk-...")
client.chat.completions.create(
model="~z-ai/glm-latest",
messages=[{"role": "user", "content": "hello"}],
)Supported parameters
frequency_penaltyinclude_reasoninglogit_biaslogprobsmax_tokensmin_pparallel_tool_callspresence_penaltyreasoningreasoning_effortrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p