name: Aliyun Bailian
client_type: openai-completions
icon: qwen-color
base_url: https://dashscope.aliyuncs.com/compatible-mode/v1

models:
  - model_id: kimi-k2.5
    name: Kimi K2.5
    type: chat
    config:
      compatibilities: [vision, tool-call, reasoning]
      context_window: 262144

  - model_id: MiniMax-M2.5
    name: MiniMax-M2.5
    type: chat
    config:
      compatibilities: [tool-call, reasoning]
      context_window: 204800

  - model_id: MiniMax-M2.1
    name: MiniMax-M2.1
    type: chat
    config:
      compatibilities: [tool-call, reasoning]
      context_window: 204800

  - model_id: qwen3-vl-plus
    name: Qwen3 VL Plus
    type: chat
    config:
      compatibilities: [vision, reasoning]
      context_window: 262144

  - model_id: qwen3-vl-flash
    name: Qwen3 VL Flash
    type: chat
    config:
      compatibilities: [vision, reasoning]
      context_window: 262144

  - model_id: deepseek-v3.2
    name: DeepSeek V3.2
    type: chat
    config:
      compatibilities: [tool-call, reasoning]
      context_window: 131072

  - model_id: deepseek-v3.2-exp
    name: DeepSeek V3.2 Exp
    type: chat
    config:
      compatibilities: [tool-call, reasoning]
      context_window: 131072

  - model_id: deepseek-v3.1
    name: DeepSeek V3.1
    type: chat
    config:
      compatibilities: [tool-call, reasoning]
      context_window: 131072

  - model_id: kimi-k2-thinking
    name: Kimi K2 Thinking
    type: chat
    config:
      compatibilities: [tool-call, reasoning]
      context_window: 262144

  - model_id: Moonshot-Kimi-K2-Instruct
    name: Kimi K2 Instruct
    type: chat
    config:
      compatibilities: [tool-call]
      context_window: 131072

  - model_id: glm-5
    name: GLM-5
    type: chat
    config:
      compatibilities: [tool-call, reasoning]
      context_window: 202752

  - model_id: glm-4.7
    name: GLM-4.7
    type: chat
    config:
      compatibilities: [tool-call, reasoning]
      context_window: 202752

  - model_id: glm-4.6
    name: GLM-4.6
    type: chat
    config:
      compatibilities: [tool-call, reasoning]
      context_window: 202752

  - model_id: glm-4.5
    name: GLM-4.5
    type: chat
    config:
      compatibilities: [tool-call, reasoning]
      context_window: 131072

  - model_id: glm-4.5-air
    name: GLM-4.5-Air
    type: chat
    config:
      compatibilities: [tool-call, reasoning]
      context_window: 131072

  - model_id: qwen3-coder-next
    name: Qwen3 Coder Next
    type: chat
    config:
      compatibilities: [tool-call]
      context_window: 262144

  - model_id: qwen3-coder-plus
    name: Qwen3 Coder Plus
    type: chat
    config:
      compatibilities: [tool-call]
      context_window: 1000000

  - model_id: qwen3-coder-flash
    name: Qwen3 Coder Flash
    type: chat
    config:
      compatibilities: [tool-call]
      context_window: 1000000

  - model_id: qwen3-coder-480b-a35b-instruct
    name: Qwen3 Coder 480B A35B
    type: chat
    config:
      compatibilities: [tool-call]
      context_window: 262144

  - model_id: qwen3-coder-30b-a3b-instruct
    name: Qwen3 Coder 30B A3B
    type: chat
    config:
      compatibilities: [tool-call]
      context_window: 262144

  - model_id: qwen3.5-397b-a17b
    name: Qwen3.5-397B-A17B
    type: chat
    config:
      compatibilities: [vision, tool-call, reasoning]
      context_window: 262144

  - model_id: qwen3.5-122b-a10b
    name: Qwen3.5-122B-A10B
    type: chat
    config:
      compatibilities: [vision, tool-call, reasoning]
      context_window: 262144

  - model_id: qwen3.5-27b
    name: Qwen3.5-27B
    type: chat
    config:
      compatibilities: [vision, tool-call, reasoning]
      context_window: 262144

  - model_id: qwen3.5-35b-a3b
    name: Qwen3.5-35B-A3B
    type: chat
    config:
      compatibilities: [vision, tool-call, reasoning]
      context_window: 262144

  - model_id: qwen3-235b-a22b-thinking-2507
    name: Qwen3 235B A22B Thinking 2507
    type: chat
    config:
      compatibilities: [tool-call, reasoning]
      context_window: 131072

  - model_id: qwen3-235b-a22b-instruct-2507
    name: Qwen3 235B A22B Instruct 2507
    type: chat
    config:
      compatibilities: [tool-call]
      context_window: 131072

  - model_id: qwen3-30b-a3b-thinking-2507
    name: Qwen3 30B A3B Thinking 2507
    type: chat
    config:
      compatibilities: [tool-call, reasoning]
      context_window: 131072

  - model_id: qwen3-30b-a3b-instruct-2507
    name: Qwen3 30B A3B Instruct 2507
    type: chat
    config:
      compatibilities: [tool-call]
      context_window: 131072

  - model_id: qwen3-next-80b-a3b-thinking
    name: Qwen3 Next 80B A3B Thinking
    type: chat
    config:
      compatibilities: [tool-call, reasoning]
      context_window: 131072

  - model_id: qwen3-next-80b-a3b-instruct
    name: Qwen3 Next 80B A3B Instruct
    type: chat
    config:
      compatibilities: [tool-call]
      context_window: 131072

  - model_id: qwen3-235b-a22b
    name: Qwen3 235B A22B
    type: chat
    config:
      compatibilities: [tool-call, reasoning]
      context_window: 131072

  - model_id: qwen3-32b
    name: Qwen3 32B
    type: chat
    config:
      compatibilities: [tool-call, reasoning]
      context_window: 131072

  - model_id: qwen3-30b-a3b
    name: Qwen3 30B A3B
    type: chat
    config:
      compatibilities: [tool-call, reasoning]
      context_window: 131072

  - model_id: qwen3-14b
    name: Qwen3 14B
    type: chat
    config:
      compatibilities: [tool-call, reasoning]
      context_window: 131072

  - model_id: qwen3-8b
    name: Qwen3 8B
    type: chat
    config:
      compatibilities: [tool-call, reasoning]
      context_window: 131072

  - model_id: qwen3-4b
    name: Qwen3 4B
    type: chat
    config:
      compatibilities: [tool-call, reasoning]
      context_window: 131072

  - model_id: qwen3-1.7b
    name: Qwen3 1.7B
    type: chat
    config:
      compatibilities: [tool-call, reasoning]
      context_window: 32768

  - model_id: qwen3-0.6b
    name: Qwen3 0.6B
    type: chat
    config:
      compatibilities: [tool-call, reasoning]
      context_window: 32768

  - model_id: qwq-plus
    name: QwQ Plus
    type: chat
    config:
      compatibilities: [tool-call, reasoning]
      context_window: 131072

  - model_id: qwen3.5-flash
    name: Qwen3.5 Flash
    type: chat
    config:
      compatibilities: [vision, tool-call, reasoning]
      context_window: 1000000

  - model_id: qwen-flash
    name: Qwen Flash
    type: chat
    config:
      compatibilities: [tool-call, reasoning]
      context_window: 1000000

  - model_id: qwen-turbo
    name: Qwen Turbo
    type: chat
    config:
      compatibilities: [tool-call, reasoning]
      context_window: 1000000

  - model_id: qwen3.5-plus
    name: Qwen3.5 Plus
    type: chat
    config:
      compatibilities: [vision, tool-call, reasoning]
      context_window: 1000000

  - model_id: qwen-plus
    name: Qwen Plus
    type: chat
    config:
      compatibilities: [tool-call, reasoning]
      context_window: 1000000

  - model_id: qwen3-max
    name: Qwen3 Max
    type: chat
    config:
      compatibilities: [tool-call, reasoning]
      context_window: 262144

  - model_id: qwen3-max-preview
    name: Qwen3 Max Preview
    type: chat
    config:
      compatibilities: [tool-call, reasoning]
      context_window: 262144

  - model_id: qwen-max
    name: Qwen Max
    type: chat
    config:
      compatibilities: [tool-call]
      context_window: 131072

  - model_id: qwen-long
    name: Qwen Long
    type: chat
    config:
      compatibilities: [tool-call]
      context_window: 10000000

  - model_id: qwen3-omni-flash
    name: Qwen3 Omni Flash
    type: chat
    config:
      compatibilities: [vision, reasoning]
      context_window: 65536

  - model_id: qwen-omni-turbo
    name: Qwen Omni Turbo
    type: chat
    config:
      compatibilities: [vision]
      context_window: 32768

  - model_id: qwen2.5-omni-7b
    name: Qwen2.5 Omni 7B
    type: chat
    config:
      compatibilities: [vision]
      context_window: 32768

  - model_id: qwen-vl-plus
    name: Qwen VL Plus
    type: chat
    config:
      compatibilities: [vision]
      context_window: 131072

  - model_id: qwen-vl-max
    name: Qwen VL Max
    type: chat
    config:
      compatibilities: [vision]
      context_window: 131072

  - model_id: qwen-vl-ocr
    name: Qwen VL OCR
    type: chat
    config:
      compatibilities: [vision]
      context_window: 34096

  - model_id: qwen3-vl-30b-a3b-thinking
    name: Qwen3 VL 30B A3B Thinking
    type: chat
    config:
      compatibilities: [vision, reasoning]
      context_window: 131072

  - model_id: qwen3-vl-30b-a3b-instruct
    name: Qwen3 VL 30B A3B Instruct
    type: chat
    config:
      compatibilities: [vision]
      context_window: 131072

  - model_id: qwen3-vl-8b-thinking
    name: Qwen3 VL 8B Thinking
    type: chat
    config:
      compatibilities: [vision, reasoning]
      context_window: 131072

  - model_id: qwen3-vl-8b-instruct
    name: Qwen3 VL 8B Instruct
    type: chat
    config:
      compatibilities: [vision]
      context_window: 131072

  - model_id: qwen3-vl-235b-a22b-thinking
    name: Qwen3 VL 235B A22B Thinking
    type: chat
    config:
      compatibilities: [vision, reasoning]
      context_window: 131072

  - model_id: qwen3-vl-235b-a22b-instruct
    name: Qwen3 VL 235B A22B Instruct
    type: chat
    config:
      compatibilities: [vision]
      context_window: 131072

  - model_id: qwen3-vl-32b-thinking
    name: Qwen3 VL 32B Thinking
    type: chat
    config:
      compatibilities: [vision, reasoning]
      context_window: 131072

  - model_id: qwen3-vl-32b-instruct
    name: Qwen3 VL 32B Instruct
    type: chat
    config:
      compatibilities: [vision]
      context_window: 131072

  - model_id: qwen-math-turbo
    name: Qwen Math Turbo
    type: chat
    config:
      context_window: 4096

  - model_id: qwen-math-plus
    name: Qwen Math Plus
    type: chat
    config:
      context_window: 4096

  - model_id: qwen-coder-turbo
    name: Qwen Coder Turbo
    type: chat
    config:
      context_window: 131072

  - model_id: qwen-coder-plus
    name: Qwen Coder Plus
    type: chat
    config:
      context_window: 131072

  - model_id: qwq-32b
    name: QwQ 32B
    type: chat
    config:
      compatibilities: [reasoning]
      context_window: 131072

  - model_id: qwq-32b-preview
    name: QwQ 32B Preview
    type: chat
    config:
      compatibilities: [reasoning]
      context_window: 32768

  - model_id: qvq-max
    name: QVQ Max
    type: chat
    config:
      compatibilities: [vision, reasoning]
      context_window: 131072

  - model_id: qvq-plus
    name: QVQ Plus
    type: chat
    config:
      compatibilities: [vision, reasoning]
      context_window: 131072

  - model_id: qvq-72b-preview
    name: QVQ 72B Preview
    type: chat
    config:
      compatibilities: [vision, reasoning]
      context_window: 32768

  - model_id: qwen2.5-7b-instruct
    name: Qwen2.5 7B
    type: chat
    config:
      compatibilities: [tool-call]
      context_window: 131072

  - model_id: qwen2.5-14b-instruct
    name: Qwen2.5 14B
    type: chat
    config:
      compatibilities: [tool-call]
      context_window: 131072

  - model_id: qwen2.5-32b-instruct
    name: Qwen2.5 32B
    type: chat
    config:
      compatibilities: [tool-call]
      context_window: 131072

  - model_id: qwen2.5-72b-instruct
    name: Qwen2.5 72B
    type: chat
    config:
      compatibilities: [tool-call]
      context_window: 131072

  - model_id: qwen2.5-14b-instruct-1m
    name: Qwen2.5 14B 1M
    type: chat
    config:
      compatibilities: [tool-call]
      context_window: 1000000

  - model_id: qwen2.5-math-7b-instruct
    name: Qwen2.5 Math 7B
    type: chat
    config:
      context_window: 4096

  - model_id: qwen2.5-math-72b-instruct
    name: Qwen2.5 Math 72B
    type: chat
    config:
      context_window: 4096

  - model_id: qwen2.5-coder-7b-instruct
    name: Qwen2.5 Coder 7B
    type: chat
    config:
      context_window: 131072

  - model_id: qwen2.5-coder-14b-instruct
    name: Qwen2.5 Coder 14B
    type: chat
    config:
      context_window: 131072

  - model_id: qwen2.5-coder-32b-instruct
    name: Qwen2.5 Coder 32B
    type: chat
    config:
      context_window: 131072

  - model_id: qwen2.5-vl-72b-instruct
    name: Qwen2.5 VL 72B
    type: chat
    config:
      compatibilities: [vision]
      context_window: 131072

  - model_id: qwen2.5-vl-32b-instruct
    name: Qwen2.5 VL 32B
    type: chat
    config:
      compatibilities: [vision]
      context_window: 131072

  - model_id: qwen2.5-vl-7b-instruct
    name: Qwen2.5 VL 7B
    type: chat
    config:
      compatibilities: [vision]
      context_window: 131072

  - model_id: deepseek-r1-0528
    name: DeepSeek R1 0528
    type: chat
    config:
      compatibilities: [tool-call, reasoning]
      context_window: 131072

  - model_id: deepseek-v3
    name: DeepSeek V3
    type: chat
    config:
      compatibilities: [tool-call]
      context_window: 65536

  - model_id: deepseek-r1-distill-qwen-1.5b
    name: DeepSeek R1 Distill Qwen 1.5B
    type: chat
    config:
      compatibilities: [reasoning]
      context_window: 32768

  - model_id: deepseek-r1-distill-qwen-7b
    name: DeepSeek R1 Distill Qwen 7B
    type: chat
    config:
      compatibilities: [reasoning]
      context_window: 32768

  - model_id: deepseek-r1-distill-qwen-14b
    name: DeepSeek R1 Distill Qwen 14B
    type: chat
    config:
      compatibilities: [reasoning]
      context_window: 32768

  - model_id: deepseek-r1-distill-qwen-32b
    name: DeepSeek R1 Distill Qwen 32B
    type: chat
    config:
      compatibilities: [reasoning]
      context_window: 32768

  - model_id: deepseek-r1-distill-llama-8b
    name: DeepSeek R1 Distill Llama 8B
    type: chat
    config:
      compatibilities: [reasoning]
      context_window: 32768

  - model_id: deepseek-r1-distill-llama-70b
    name: DeepSeek R1 Distill Llama 70B
    type: chat
    config:
      compatibilities: [reasoning]
      context_window: 32768
