Custom
Use this when the real endpoint is OpenAI-compatible but does not map cleanly to one of Loong’s built-in provider families.At A Glance
Minimal Config
Verify It
runtime models list 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
Operator Notes
- custom requires tenant-scoped base_url configuration: replace
<openai-compatible-host>inprovider.base_urlwith your real OpenAI-compatible endpoint root such ashttps://api.example.com/v1; current template:https://<openai-compatible-host>/v1. - Alternative auth path: add
Authorization/X-API-Keyinprovider.headers. - Use
provider.headersonly when the upstream auth contract does not fit the default bearer-token path.
Related Docs
- Continue to Providers And Models when you still need the broader chooser page.
- Continue to Provider Guides for the full built-in provider matrix.
- Continue to Provider Recipes for representative rollout recipes.
- Continue to Configuration Patterns for the shared provider-profile shape.