mixrouter
  1. qwen
mixrouter
  • mixrouter接口说明
  • 已支持的模型列表
  • 大模型官方文档
  • gemini
    • openai格式
      • openai格式
      • gemini-开启thinking
    • google原生格式
      • google格式
  • anthropic
    • openai格式
      POST
    • anthropic格式
      POST
  • openai
    • chat/completions
      POST
    • 流式/chat/completions
      POST
    • responses
      POST
  • deepseek
    • chat/completions
      POST
  • qwen
    • chat/completions(开启thinking)
      POST
    • chat/completions
      POST
  • 豆包
    • chat/completions
      POST
    • 提交视频生成任务
      POST
    • 获取视频生成任务结果
      GET
  1. qwen

chat/completions(开启thinking)

POST
https://api.mixrouter.com/v1/chat/completions
qwen并不是所有的模型,都支持开启/关闭thinking,需要参考官方文档。
https://help.aliyun.com/zh/model-studio/models?spm=a2c4g.11186623.0.0.36bd590bX60mZu

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/jsonRequired

Example
{
    "model": "qwen3-max",
    "enable_thinking": true,
    "messages": [
        {
            "role": "user",
            "content": [
                {
                    "type": "text",
                    "text": "1+2+3+。。。。+100=?"
                }
            ]
        }
    ]
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.mixrouter.com/v1/chat/completions' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "model": "qwen3-max",
    "enable_thinking": true,
    "messages": [
        {
            "role": "user",
            "content": [
                {
                    "type": "text",
                    "text": "1+2+3+。。。。+100=?"
                }
            ]
        }
    ]
}'

Responses

🟢200Success
application/json
Body

Example
{}
Modified at 2025-12-15 06:08:24
Previous
chat/completions
Next
chat/completions
Built with