Sociaro Docs
View Markdown

dashscope/glm-5.2

GLM-5.2 (Z.ai): 1M-token context at one rate, text in and out, tools.

THINKING IS ON BY DEFAULT and thinking tokens bill as OUTPUT; send enable_thinking: false to turn it off.

While thinking is on, tool_choice cannot force a tool: use auto or none.

Slugdashscope/glm-5.2
Kindchat
Vendorzai
EndpointPOST /v1/chat/completions

View pricing and billing conditions

Example request

curl https://api.sociaro.com/v1/chat/completions \
  -H "Authorization: Bearer $SOCIARO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
        "model": "dashscope/glm-5.2",
        "messages": [{"role": "user", "content": "hello"}]
      }'

Parameters

  • messages
  • temperature
  • top_p
  • max_tokens
  • max_completion_tokens
  • stream
  • stream_options
  • tools
  • tool_choice
  • parallel_tool_calls
  • enable_thinking
  • thinking_budget
  • seed
  • stop
  • presence_penalty
  • top_k
  • repetition_penalty

Pricing

Billable unit and optionsRate (USD)
per 1M input tokens$1.68
per 1M output tokens$5.28
per 1M cached input tokens$0.336

View this model in the pricing catalogue. Your billing logs show the actual charge for each request.