~z
Z.ai: GLM Flash Latest
~z-ai/glm-flash-latest
Available~z-aitext inimage invideo intext out
This model always redirects to the latest model in the GLM Flash family.
Context
1.0M
tokens in
Max output
131K
tokens out
Price
$0.036 / $0.081
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-flash-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-flash-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