client
used in these examples.
These are API capabilities. Individual harnesses may not expose every control in their user interface.
Use authenticated GET /v1/models with the same API key for the exact
capability flags available to that key.
Compatibility at a glance
Tool calling
Pass standard OpenAI function tools. Setparallel_tool_calls=False when your application must execute one action at a time.
tool message whose tool_call_id matches the call ID. Send the updated message list in the next request.
Structured output
Use strict JSON Schema when your application needs a predictable response shape. Include the wordJSON in the request message.
Reasoning and output limits
Usereasoning.enabled to turn model reasoning on or off. Both max_tokens and max_completion_tokens are accepted; do not send conflicting values for both fields.
Streamed usage
Setinclude_usage to receive token usage in the final stream chunk. That chunk can contain an empty choices array.
Vision and log probabilities
Vision support currently covers base64-encoded images inimage_url content parts.
Additional models are available only when returned by authenticated
GET /v1/models for the same key:
Keep reasoning enabled when you use
qwen-3.8-max.
For a model that supports log probabilities, use the standard OpenAI fields:

