Skip to main content

Bailian Coding

Dedicated coding lanes that keep coding quota, pricing, or route ownership separate from the general assistant lane. This page covers the built-in bailian_coding provider kind directly.

At A Glance

FieldValue
Built-in kindbailian_coding
Provider groupCoding-Specialized Providers
Protocol familyopenai_chat_completions
Feature familyopenai_compatible
Auth schemebearer
Credential envsBAILIAN_API_KEY
Aliasesbailian_coding_compatible
Default base URLhttps://coding.dashscope.aliyuncs.com/v1
Request endpointhttps://coding.dashscope.aliyuncs.com/v1/chat/completions
Models endpointhttps://coding.dashscope.aliyuncs.com/v1/models

Minimal Config

active_provider = "bailian_coding"

[providers.bailian_coding]
kind = "bailian_coding"
api_key = { env = "BAILIAN_API_KEY" }
model = "your-reviewed-coding-model"

Verify It

loong doctor
loong list-models
loong ask --message "Say hello and name the active provider."
If list-models is unreliable for this account or region, pin an explicit provider.model or add preferred_models instead of leaving recovery implicit.

Auth And Routing Contract

ContractValue
Auth optionalno
Model probe auth optionalno
Default API key envBAILIAN_API_KEY
OAuth envnone
Primary request routehttps://coding.dashscope.aliyuncs.com/v1/chat/completions
Primary model-catalog routehttps://coding.dashscope.aliyuncs.com/v1/models

Operator Notes

  • This provider kind sends the default user agent openclaw.