name = "Alibaba Coding Plan" env = ["ALIBABA_CODING_PLAN_API_KEY"] npm = "@ai-sdk/openai-compatible" # Reasoning HTTP format (accessed 2026-06-25): # OpenAI plan base https://coding-intl.dashscope.aliyuncs.com/v1 uses POST # /chat/completions with top-level `enable_thinking`: true or false. # Anthropic plan base https://coding-intl.dashscope.aliyuncs.com/apps/anthropic # uses POST /v1/messages with `thinking.type`: enabled or disabled and optional # integer `thinking.budget_tokens`. No plan-specific effort field is documented. # Sources: # https://www.alibabacloud.com/help/en/model-studio/coding-plan # https://www.alibabacloud.com/help/en/model-studio/deep-thinking # https://www.alibabacloud.com/help/en/model-studio/anthropic-api-messages doc = "https://www.alibabacloud.com/help/en/model-studio/coding-plan" api = "https://coding-intl.dashscope.aliyuncs.com/v1"