Skip to main content
Use /connect to add models from an OpenAI-compatible endpoint. Embedder supports Ollama, LM Studio, vLLM, llama.cpp, and other compatible servers.
If Local models is missing from /connect, ask your Embedder administrator to enable Local models.

Connect a local endpoint

Start the model server

Use http://localhost:11434/v1 as the base URL.

Add the endpoint

Run /connect, choose Local models, and fill in: Save the endpoint, use Test to check the connection, then choose the model in /model.

Set the context window

Match the context window to the server configuration. Setting it too high can cause the server to discard older messages before Embedder expects it. For Ollama, also set OLLAMA_CONTEXT_LENGTH before starting ollama serve.

Advanced configuration

/connect stores endpoints in ~/.embedder/local-endpoints.json. Edit this file when you need custom headers, multiple declared models, or other options not shown in the form.
~/.embedder/local-endpoints.json

Keep secrets out of the file

Endpoint values support ${NAME} and ${NAME:-fallback} environment-variable references:
Typing a key directly stores it as plain text. If a referenced variable is missing, Embedder skips that endpoint.

Pin a local model

An endpoint named ollama with a model named qwen3:32b appears in /model as ollama/qwen3:32b. To select it automatically for a project:
.embedder/models.json
Project settings override ~/.embedder/models.json. A valid main pin is selected when the project opens. To show only local and subscription models, hide Embedder-hosted models.

Data and privacy

Prompts and responses travel directly between Embedder and your endpoint. The endpoint URL, API key, and custom headers remain in local configuration. Some features still use Embedder cloud services:
  • Account, team, and project information
  • System prompts and capabilities such as web search
  • Billing and usage information
  • Telemetry unless disabled by policy or EMBEDDER_NO_TELEMETRY=1

Troubleshooting

Ask an Embedder administrator to enable Local models, then restart the session.
Make sure the server is running, then check the base URL, HTTP or HTTPS setting, and API key.
If the server does not support model discovery, enter the exact model ID in the Model field. Then open /model and select it.
Reduce the declared context window to the value enforced by the server. For Ollama, also set OLLAMA_CONTEXT_LENGTH before starting the server.
Add the field name to dropParams in local-endpoints.json.

Connect subscriptions

Connect GitHub Copilot or ChatGPT Codex for inference.
Last modified on August 26, 2026