L Loach Docs
Ctrl K

Providers

Loach doesn't ship with built-in models. It connects to a provider you choose — local or remote. Both kinds are available side-by-side; switch from the chat header.

Ollama (local)

Ollama is the easiest way to run open-weight models on your machine. Loach probes http://localhost:11434 on launch; any models you've pulled appear in the chat header automatically.

Setup

  1. Install Ollama from ollama.com/download.
  2. Start the server: ollama serve (or just open the Ollama app — it runs in the background).
  3. Pull at least one model: ollama pull gemma3:4b.
  4. Open Loach. The model appears in the chat-header dropdown.

The Models library

The Models tab inside Loach is a full UI on top of the Ollama HTTP API. From there you can:

Pointing at a remote Ollama

If Ollama is running on another machine on your network, change the base URL in Settings → Providers → Ollama. Make sure the remote server is reachable from your machine and listening on a routable interface.

OpenAI-compatible endpoints

Anything that speaks the OpenAI Chat Completions protocol works. Configure it in Settings → Providers:

  1. Paste the API key (stored in your OS credential manager — never in plain text on disk).
  2. Set the base URL for the endpoint.
  3. Save. The provider becomes selectable from the chat header.

Common base URLs

ProviderBase URL
OpenAIhttps://api.openai.com/v1 (default)
vLLMhttp://localhost:8000/v1
LM Studiohttp://localhost:1234/v1
LiteLLMhttp://localhost:4000/v1
llama.cpp llama-serverhttp://localhost:8080/v1
Groqhttps://api.groq.com/openai/v1
OpenRouterhttps://openrouter.ai/api/v1
Togetherhttps://api.together.xyz/v1
Fireworkshttps://api.fireworks.ai/inference/v1
Mistralhttps://api.mistral.ai/v1
One endpoint at a time

Only one OpenAI-compatible endpoint is active at a time. To switch providers (say, from Groq to OpenRouter) change the base URL and key in Settings — your chats with the previous endpoint are preserved.

Default model

Pick the model new chats should open with — independently for each provider. New conversations honour the default; you can still change the model per-chat from the header.

Preloading and Low VRAM

Two settings worth knowing about for local providers: