v1
latestOpenAPI 3.1.0MIT2026-07-2614271305.9 KBQwen3.8-Max-Preview Chat API (OpenAI-Compatible)
🚧 This model is not yet available, stay tuned
- Call Qwen3.8-Max-Preview using the OpenAI Chat Completions protocol
- Multi-turn conversation: supports single-turn or multi-turn contextual conversations
- System prompt: set the AI's role and behavior via a role=system message
- Multimodal input: pass a content part array in content, supporting text / image_url / input_audio / video_url
- Context caching: add cache_control on a content part to declare explicit caching; see usage.prompt_tokens_details in the response for hit details
- Thinking mode: enabled with enable_thinking=true, thinking content returned through reasoning_content
- Streaming output: when stream=true, returned chunk by chunk via SSE
post/v1/chat/completions
Request body
Example request
{
"model": "qwen3.8-max-preview"
}Response
Conversation generated successfully
Example response
{
"id": "chatcmpl-xxxxxxxx",
"object": "chat.completion",
"created": 1735120033,
"model": "qwen3.8-max-preview",
"choices": [
{
"message": {
"role": "assistant",
"content": "Hello! I am Tongyi Qwen3.8-Max-Preview."
},
"finish_reason": "stop"
}
],
"usage": {
"billing_rule": "per_call",
"credits_reserved": 5,
"user_group": "default"
}
}