Skip to main content

BytePlus Coding

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

At A Glance

FieldValue
Built-in kindbyteplus_coding
Provider groupCoding-Specialized Providers
Protocol familyopenai_chat_completions
Feature familyvolcengine
Auth schemebearer
Credential envsBYTEPLUS_API_KEY, ARK_API_KEY
Aliasesbyteplus_coding_compatible
Default base URLhttps://ark.ap-southeast.bytepluses.com/api/coding/v3
Request endpointhttps://ark.ap-southeast.bytepluses.com/api/coding/v3/chat/completions
Models endpointhttps://ark.ap-southeast.bytepluses.com/api/coding/v3/models

Minimal Config

active_provider = "byteplus_coding"

[providers.byteplus_coding]
kind = "byteplus_coding"
api_key = { env = "BYTEPLUS_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 envBYTEPLUS_API_KEY
OAuth envnone
Primary request routehttps://ark.ap-southeast.bytepluses.com/api/coding/v3/chat/completions
Primary model-catalog routehttps://ark.ap-southeast.bytepluses.com/api/coding/v3/models

Operator Notes

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