Reasoning
Model family
Reasoning by default
How to turn on / off
Depth control
GLM (5.2, 5.1, 5-Turbo)
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://api.tensorx.ai/v1"
)
# Thinking off (direct answer, no reasoning_content)
response = client.chat.completions.create(
model="z-ai/glm-5.2",
messages=[{"role": "user", "content": "What is 15% of 240?"}],
extra_body={"chat_template_kwargs": {"enable_thinking": False}}
)DeepSeek V4 (Flash, Pro)
MiniMax M3
Kimi (K2.6, K2.7)
Last updated
Was this helpful?

