Skip to main content

Volcengine Coding

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

At A Glance

FieldValue
Built-in kindvolcengine_coding
Provider groupCoding-Specialized Providers
Protocol familyopenai_chat_completions
Feature familyvolcengine
Auth schemebearer
Credential envsARK_API_KEY
Aliasesvolcengine_coding_compatible
Default base URLhttps://ark.cn-beijing.volces.com/api/coding/v3
Request endpointhttps://ark.cn-beijing.volces.com/api/coding/v3/chat/completions
Models endpointhttps://ark.cn-beijing.volces.com/api/coding/v3/models

Minimal Config

active_provider = "volcengine_coding"

[providers.volcengine_coding]
kind = "volcengine_coding"
api_key = { env = "ARK_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 envARK_API_KEY
OAuth envnone
Primary request routehttps://ark.cn-beijing.volces.com/api/coding/v3/chat/completions
Primary model-catalog routehttps://ark.cn-beijing.volces.com/api/coding/v3/models

Operator Notes

  • Loong’s Volcengine OpenAI-compatible path uses provider.api_key / ARK_API_KEY and sends Authorization: Bearer <ARK_API_KEY>; AK/SK request signing is not used on this path.
  • Keep this lane separate from the general volcengine lane so coding pricing and route ownership do not drift into the normal hosted profile by accident.