> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chorus.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Local Models

> Run Ollama and LMStudio models on Chorus

<img src="https://mintcdn.com/chorus/Z4zDLdWahI28tjZx/images/local-light.png?fit=max&auto=format&n=Z4zDLdWahI28tjZx&q=85&s=8e6dd4cf0ceb3073e9413af982e3088e" alt="Local models" className="block dark:hidden" width="1264" height="502" data-path="images/local-light.png" />

<img src="https://mintcdn.com/chorus/Z4zDLdWahI28tjZx/images/local-dark.png?fit=max&auto=format&n=Z4zDLdWahI28tjZx&q=85&s=254eb05ddff80edf92e29e0229221758" alt="Local models" className="hidden dark:block" width="1260" height="504" data-path="images/local-dark.png" />

Chorus supports local models running via Ollama or LMStudio.

## Ollama

First, set up [Ollama](https://ollama.com). Then run it:

```bash Run Ollama theme={null}
ollama serve
```

Next, open the model picker (<kbd>⌘</kbd> + <kbd>J</kbd>) and scroll to the `LOCAL` section. You may need to click the <Icon icon="arrows-rotate" /> refresh icon.

## LMStudio

Download [LMStudio](https://lmstudio.ai) and load your first model.

Next, go to the developer tab and start the LMStudio server. Make sure that CORS is enabled:

<img src="https://mintcdn.com/chorus/Z4zDLdWahI28tjZx/images/lmstudio-light.png?fit=max&auto=format&n=Z4zDLdWahI28tjZx&q=85&s=598a98aab60b57e807d1fdacac5a4c8c" alt="Local models" className="block dark:hidden" width="1299" height="902" data-path="images/lmstudio-light.png" />

<img src="https://mintcdn.com/chorus/Z4zDLdWahI28tjZx/images/lmstudio-dark.png?fit=max&auto=format&n=Z4zDLdWahI28tjZx&q=85&s=c60cb115b9f0207033f724108318c1e4" alt="Local models" className="hidden dark:block" width="1391" height="910" data-path="images/lmstudio-dark.png" />

Next, open the model picker (<kbd>⌘</kbd> + <kbd>J</kbd>) and scroll to the `LOCAL` section. You may need to click the <Icon icon="arrows-rotate" /> refresh icon.

### Base URL

To change the LMStudio base URL, go to `Settings` -> `API KEYS` -> Open the LMStudio settings at the bottom of the tab.
