v1
latestOpenAPI 3.1.0MIT2026-07-2614271305.9 KBQwen3.8-Max-Preview Responses API (OpenAI-Compatible)
🚧 This model is not yet available, stay tuned
- Call Qwen3.8-Max-Preview using the OpenAI Responses protocol
- Flexible input: input can be a string or a Chat-format message array (supporting multimodal input_text / input_image)
- Multi-turn conversation: pass previous_response_id to link to the previous response, and the server automatically assembles the context (the response id is valid for 7 days)
- Session caching: enable by adding x-dashscope-session-cache: enable to the request header (default disable); see usage.input_tokens_details.cached_tokens for hits
- Thinking effort: controlled via reasoning.effort
- Streaming output: when stream=true, returned as Responses events (response.output_text.delta / response.completed, etc.)
post/v1/responses
Headers
x-dashscope-session-cache'enable' | 'disable'
Session caching switch. When set to enable, the server automatically caches the conversation context to reduce multi-turn inference latency and cost.
Request body
Example request
{
"model": "qwen3.8-max-preview"
}Response
Generated successfully
Example response
{
"id": "resp_xxxxxxxx",
"object": "response",
"status": "completed",
"model": "qwen3.8-max-preview",
"usage": {
"billing_rule": "per_call",
"credits_reserved": 5,
"user_group": "default"
}
}