GLM 5 Turbo

API identifier: glm-5-turbo

Prices per 1M tokens

Input tokens
₽11.42
Output tokens
₽11.42

Limits

Context
203K tokens
Max response
131K tokens

Capabilities

Tool calling
Yes
Reasoning level
No

Supported parameters

  • max_tokens
  • max_completion_tokens
  • temperature
  • top_p
  • presence_penalty
  • frequency_penalty
  • seed
  • user
  • tools
  • tool_choice
  • parallel_tool_calls

Example request

Example calculation

A request with 2,000 input and 500 output tokens costs ₽0.0285.

Caching not included. The actual cost comes back in the API response in the usage.cost field.

shell
curl https://llm.liho.dev/v1/chat/completions \
  -H "Authorization: Bearer $LIHO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "glm-5-turbo",
    "max_tokens": 512,
    "messages": [
      {"role": "user", "content": "Explain what an API gateway is in two sentences."}
    ]
  }'