Files
cfal 51f2c91c8b feat(alibaba): add deepseek-v4-flash-0731 and glm-5.2 (#4365)
* feat(alibaba): add deepseek-v4-flash-0731 and glm-5.2

Both models are served pay-as-you-go on the international Model Studio
endpoint (dashscope-intl.aliyuncs.com/compatible-mode/v1), but until now
only existed under the plan providers, so callers using DASHSCOPE_API_KEY
directly could not resolve them.

Pricing is the Singapore list in USD/MTok:
  deepseek-v4-flash-0731  0.20 in / 0.40 out / 0.04 implicit cache
  glm-5.2                 1.40 in / 4.40 out / 0.28 implicit cache

reasoning_options follow the same-host siblings: Alibaba exposes
reasoning_effort high|max only (low/medium map to high, xhigh to max) plus
an enable_thinking toggle, and returns reasoning_content.

Sources:
https://www.alibabacloud.com/help/en/model-studio/deepseek-api
https://www.alibabacloud.com/help/en/model-studio/glm
https://www.alibabacloud.com/help/en/model-studio/model-pricing
https://www.qwencloud.com/models/deepseek-v4-flash-0731
https://www.qwencloud.com/models/glm-5.2

* fix(alibaba): expose GLM 5.2 reasoning efforts

---------

Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-08-08 20:58:10 -05:00
..
2025-12-21 22:08:18 +01:00