Configure Qoder CLI CN to reach services through your organization's dedicated VPC endpoint.
VPC mode applies only to Qoder CLI CN. Once configured, the CLI's sign-in, account APIs, and model requests all use your organization's dedicated VPC endpoint.
Obtain the VPC endpoint from your organization administrator. This page uses
Run the following command to set the VPC endpoint:
The configuration is saved to the user-level
Expected output:
Setting or changing the VPC endpoint clears the existing login state. Restart the CLI and sign in when prompted:
After startup, the top of the TUI shows the current endpoint, for example
To change instances, run
To disable the VPC endpoint, run:
Whether you set or change the endpoint with
Confirm that your current network can resolve and reach the instance's base domain, OpenAPI domain, and gateway domain over HTTPS. VPC mode uses fixed per-instance domains, so your network proxy, firewall, and DNS all need to allow these addresses.
Before you start
Obtain the VPC endpoint from your organization administrator. This page uses acme.vpc.qoder.com.cn as the example, where acme is the organization's VPC instance name.
Confirm that your current network and DNS can reach that domain. You only need to configure this one domain; the CLI handles the remaining request addresses automatically.
Configuring the VPC endpoint
Run the following command to set the VPC endpoint:
~/.qoder-cn/settings.json and applies to Qoder CLI CN sessions this user starts afterwards.
Use the following command to check the saved configuration:
Endpoint: acme.vpc.qoder.com.cn. Once signed in, send a simple task to confirm that model requests return normally.
Changing or disabling the VPC endpoint
To change instances, run config set again with the new full domain:
config set or disable it with config unset, the CLI clears the existing login state automatically. Restart the CLI and sign in again once you are done.
FAQ
The VPC endpoint is reported as invalid
config set requires a full domain under vpc.qoder.com.cn, for example acme.vpc.qoder.com.cn. Do not use a bare instance name, an IP address, or any other domain.

