Skip to main content
Configuration and security

Custom Models

Connect supported third-party models through the BYOK wizard in Qoder CLI CN

Qoder CLI CN supports BYOK (Bring Your Own Key). You can use an API key obtained from a model provider to call models included in the corresponding subscription plan. Add and manage custom models from the Custom tab in /model.
Available edition: Personal EditionSupported providers: Refer to the live catalog displayed by the Custom wizard.

Add a custom model

  1. Enter /model in Qoder CLI CN.
  2. Switch to the Custom tab.
  3. Select Add custom model... and press Enter.
  4. Follow the wizard to select Provider → model type → model.
  5. Enter the API key and any other information requested by the wizard.
  6. After validation succeeds, the configuration is saved automatically and the model is immediately available for selection.
Configure BYOK through the Custom wizard in /model. Do not configure BYOK manually in settings.json. The available providers, models, and credential fields are determined by the BYOK catalog available to the current account.

Select a custom model

  1. Enter /model to open the model selector.
  2. Switch to the Custom tab.
  3. Select an added model and press Enter.
After switching, you can use the model in the current session. For Default, New Models, and model parameters, see Models and Reasoning Effort.

Delete a custom model

In the Custom tab of /model, select the model and press d to delete it.

Troubleshooting

  • The Custom tab or add entry is missing: Confirm that BYOK is available for the current account and edition.
  • A provider or model is missing: The options shown by the Custom wizard are the source of truth for the currently available catalog.
  • API key validation fails: Check that the key is valid and that its subscription plan grants access to the selected model.