CDNShark Documentation

Private LLM Gateway

← Back to Documentation

Change the Model Server

Each gateway publishes one model server. To point it at a different one, for example after moving from Ollama to LM Studio, or after changing the port:

  1. Open your gateway page and find the Model server box.
  2. Set the scheme, host and port as seen from the machine running the connector:
    • localhost if the model runs on the same machine as the connector.
    • A LAN address, such as 192.168.1.20, if it runs on another machine on your network.
  3. Click Save. The connector picks up the change within a minute, with no restart and no new key.

Model server tips

Model serverDefault portNotes
Ollama11434Runs in the background once installed. On another machine, it must listen on the network, not only on localhost.
LM Studio1234Start its local server in LM Studio first.
vLLM8000Started with vllm serve.
llama.cpp server8080Started with llama-server.

Two model servers?

Create a second gateway. Each one has its own address and key.