/connect to connect it. Embedder switches to the new provider’s first model, and you can choose another one at any time.
/connect (also /providers) opens Connect Provider in VS Code and in the terminal. Provider credentials stay on your machine, and your prompts go straight to the provider.
For a model server you run yourself, see Local models. If your organization uses its own OpenAI, Anthropic, or Google API keys with Embedder’s hosted models, see Use organization API keys.
Connect GitHub Copilot
- Run
/connect. - Select Login with GitHub next to GitHub Copilot in VS Code, or select GitHub Copilot in the terminal.
- Copy the one-time code that Embedder shows. Embedder opens the GitHub verification page.
- Enter the code on that page and approve access.
- Wait for Connected.
Connect ChatGPT
- Run
/connect. - Select Connect next to ChatGPT Pro/Plus in VS Code, or select ChatGPT Pro/Plus in the terminal.
- Choose a sign-in method:
- Browser opens a browser window on this machine.
- Device code shows a code to enter on any device. Use it when the editor has no browser of its own, such as on a remote host, in a container, or over SSH.
- Complete sign-in and wait for Connected.
Choose a model
After you connect a provider, Embedder switches the chat to that provider’s first model. To choose a different model:- VS Code: select the model control in the chat composer (Choose model). Models from connected providers and local endpoints are listed under Custom. You can also run
/modelor the Embedder: Switch Model command, which list each model by its ID with the provider ID beside it. - Terminal: run
/modelto open Select Model. A connected model shows its source after the name, such as GPT-5.5 (ChatGPT), (Copilot), or the local endpoint’s name, followed by the provider ID.
/model appears when more than one model is available.
Disconnect a provider
- Run
/connect. - Select Disconnect next to the provider in VS Code, or select the connected provider in the terminal.
- Confirm.
/connect and check that the provider still shows as connected. Reconnect it if needed.
Use only your own models
Turn off Embedder’s hosted models when prompts must go only to the providers and local endpoints you connected.- In VS Code, run
/connectand turn off Use Embedder’s hosted models. - In the terminal, run
/connect, select Embedder’s own models, and pressSpaceorEnterto switch it off.
- The model list shows only your connected and local models.
- Subagents and background work, such as conversation compression, use the model you selected.
- If no provider or local endpoint responds, you have no model to chat with until you connect one.
models.json.
This switch controls which models receive your prompts. It does not disconnect Embedder entirely: sign-in, telemetry, and the web and document search tools still reach Embedder. Turn the switch back on to use hosted models again.
Set a default model for a project
To select a particular model whenever a project opens, create.embedder/models.json in the project root:
.embedder/models.json
provider/model-id:
Use the provider’s exact model ID, such as
gpt-5.5, not a display name such as GPT-5.5 (ChatGPT). In VS Code, /model lists models by ID. If you don’t know the exact ID, choose the model with /model and leave main unset.
To choose models for subagents, add subagents with a subagent type, or default for every type you don’t list:
.embedder/models.json
inherit makes that subagent type use Embedder’s usual choice.
To apply the same defaults to every project, put the file in ~/.embedder/models.json. The project file takes precedence for each setting it includes. In a project file, set main to "inherit" to ignore a global default and use ordinary model selection. Removing main from the project file falls back to the global file, if there is one.
A default does not make a model available. If the pinned model is not available to you, Embedder ignores it and selects a model as usual. A pinned main model applies each time the project opens, so a model you choose with /model lasts until the next start.
Reopen the project after you change the file, then check the selected model. If the expected model is not selected, check the JSON syntax, that the provider is connected, and the exact model ID. Embedder ignores a file with invalid JSON or an invalid value.
Use organization API keys
Your organization can have Embedder’s hosted OpenAI, Anthropic, and Google models use its own provider API keys. Embedder enables this for your organization. If you don’t see API Keys in the Embedder app, ask your Embedder administrator. Organization owners and admins manage the keys:- In the Embedder app, choose API Keys in the sidebar.
- Under Provider Keys, select Add Key next to OpenAI, Anthropic, or Google.
- Paste the key, optionally enter a Label, and select Save.
- Select Test to check the key. Embedder reports Key is valid or Key is invalid.