Remote Connectors
Connect an LLM endpoint running in a private network, VPC, Kubernetes cluster, or on your laptop to the QuilrAI LLM Gateway. The connector opens an outbound WebSocket tunnel (wss://), so the model endpoint does not need public ingress or inbound firewall rules.
The process is the same as MCP Gateway remote connectors, using the same quilr-connector binaries and container image.
1. Create a connector
- Go to Settings > AI Gateway > LLM Gateway and open Remote Connectors.
- Create a remote connector and give it a name, such as
private-models. - Copy the generated
qrc_...token.
The token is shown once. Save it in your secret manager or environment configuration. It includes the gateway address, so no separate gateway URL is needed.
2. Download and run the connector
Run the connector somewhere that can reach your model endpoint and make an outbound connection to the gateway. Choose a binary, Docker, or Kubernetes deployment.
Binaries
Download and extract the archive for your platform from GitHub Releases. These are the same downloads used for MCP Gateway:
On macOS or Linux:
./quilr-connector --token qrc_your_token_here
On Windows (PowerShell):
.\quilr-connector.exe --token qrc_your_token_here
Docker
Use the shared container image, available for linux/amd64 and linux/arm64:
docker run -d \
--name quilr-llm-connector \
--restart unless-stopped \
-e QUILR_CONNECTOR_TOKEN="qrc_your_token_here" \
ghcr.io/quilrai/quilr-connector:latest
If the model runs on the Docker host, use http://host.docker.internal:<port>/v1 as its base URL on macOS or Windows. On Linux, add --network host to the command and use http://127.0.0.1:<port>/v1. Adjust the port and path for your model server.
Kubernetes
Deploy the connector in a cluster that can reach the model service. Save the following as quilr-llm-connector.yaml, replacing the placeholder token:
apiVersion: v1
kind: Secret
metadata:
name: quilr-llm-connector-token
type: Opaque
stringData:
QUILR_CONNECTOR_TOKEN: "qrc_your_token_here"
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: quilr-llm-connector
spec:
replicas: 1
selector:
matchLabels:
app: quilr-llm-connector
template:
metadata:
labels:
app: quilr-llm-connector
spec:
containers:
- name: quilr-connector
image: ghcr.io/quilrai/quilr-connector:latest
env:
- name: QUILR_CONNECTOR_TOKEN
valueFrom:
secretKeyRef:
name: quilr-llm-connector-token
key: QUILR_CONNECTOR_TOKEN
Apply it in your chosen namespace:
kubectl apply -n <namespace> -f quilr-llm-connector.yaml
Use your normal secret management process for the token in production.
3. Route a provider through the connector
Once the connector shows Connected in the console:
- Open Provider configuration in LLM Gateway and add or configure the provider for your model endpoint. For an OpenAI-compatible model server, use Custom endpoint with Chat completions. See Providers and Models.
- Enter the model endpoint's private Base URL, credentials, and model IDs.
- Under Connection route, select Via Remote Connector and choose your connector.
- Save the provider and link it to an app.
The base URL must be reachable from the connector. For example:
Your application continues to call the LLM Gateway with its Quilr key. Send a test request using the Quick Start, then check the app's logs to confirm the request succeeds.
Related
- Providers and Models - configure providers and link them to apps.
- Provider Support - choose the provider type and credentials for your endpoint.
- MCP Gateway remote connectors - the equivalent setup for private MCP servers and APIs.