# Where else can I use a local model?

> Anywhere an app has a custom OpenAI endpoint field. Notes apps, browser extensions, home automation and the terminal all qualify.

Any app that lets you set a custom OpenAI endpoint can use your local model. That one field covers most notes apps, browser extensions, home automation and command-line tools.

## The pattern

Local runtimes speak the same API as OpenAI. An app that calls OpenAI sends a request to a base URL with a key and a model name. Change the base URL to your machine and the app talks to your model instead.

Every integration needs the same three values.

| Field | What to enter | Example |
| --- | --- | --- |
| Base URL | Your runtime's address, ending in `/v1` | `http://localhost:11434/v1` for Ollama |
| API key | Any non-empty text. Local servers ignore it | `local` |
| Model | The exact model name your runtime lists | Whatever `ollama list` shows |

The default address depends on the runtime.

| Runtime | Port |
| --- | --- |
| Ollama | 11434 |
| LM Studio | 1234 |
| llama.cpp (llama-server) | 8080 |
| vLLM | 8000 |
| SGLang | 30000 |
| BaseRT | – |
| Superfluid | 8453 |

**Rule of thumb.** 
If the settings screen has a field called "base URL", "API host", "endpoint" or "OpenAI-compatible", it works with a local model.

**Try it.** 
Check the endpoint answers before you paste it into any app. This lists the models your runtime is serving.

```bash
curl http://localhost:11434/v1/models
```

Change the port for your runtime. If you get JSON back with your model names, the endpoint is ready. [How do I call a local model from code?](https://localagi.co/local-api) covers requests from code.

## Notes, browsers, home automation, terminal

### Notes apps

Obsidian has several community plugins that talk to Ollama or any OpenAI-compatible endpoint. They summarise notes, answer questions across your vault and draft text in place. Your notes stay on disk, which is the point of using Obsidian in the first place.

Other notes and writing apps vary. Look for a provider setting that offers Ollama, LM Studio or a custom endpoint. If the app only offers cloud providers by name, it does not support local models yet.

### Browser extensions

Page Assist is an open-source extension for Chrome and Firefox that adds a sidebar chat backed by Ollama. It can summarise the current page or answer questions about it. Several other extensions offer the same with a custom endpoint field.

**The catch.** 
Browsers block requests from extensions to local servers unless the server allows them. Ollama checks the origin of each request, so an extension may fail with a vague error. Set `OLLAMA_ORIGINS` to allow the extension's origin, as given in the extension's docs, then restart Ollama.

### Home automation

Home Assistant has an official Ollama integration. Add it from the integrations page, give it your Ollama address, and you can use the model as a conversation agent for its voice assistant. With control enabled, the model can switch lights and read sensors through Home Assistant's own tools.

Home Assistant often runs on a small box, so the model usually lives on another machine. That machine's runtime must accept connections from the network, which [How do I share one model with my household or office?](https://localagi.co/sharing-a-model) explains.

**The catch.** 
Controlling devices is tool use, and small models get it wrong. A 4B model may turn on the wrong light or claim it did something it did not. Use a [mid-class](https://localagi.co/model-classes) model for control, and keep locks and alarms out of its reach. [How do tools and MCP work with local models?](https://localagi.co/tools-and-mcp) covers why.

### The terminal

`llm` is a command-line tool by Simon Willison that runs prompts from the shell. With its Ollama plugin it uses your local models.

```bash
pipx install llm
llm install llm-ollama
cat error.log | llm -m your-model "What is the most likely cause of this error?"
```

The pipe is what makes it useful. Any command's output becomes the model's input, so you can explain logs, summarise diffs or draft commit messages without leaving the shell.

Coding agents also live in the terminal. [Can I run a coding agent on a local model?](https://localagi.co/coding-agents) covers those, and [Can a local model autocomplete my code?](https://localagi.co/coding-autocomplete) covers your editor.

## Go deeper

### Apps that hard-code the model list

Some apps accept a custom base URL but only let you pick from OpenAI's model names. Some runtimes let you load a model under an alias, so you can name it what the app expects. Or put a small proxy in front of the runtime that rewrites the model name.

Both are fiddly, and an app that needs them is not designed for local use.

### HTTPS and mixed content

Web apps served over HTTPS often refuse to call a plain `http://` address. Desktop apps and extensions usually do not have this problem. If a web app refuses, run the integration from a desktop client, or put the runtime behind a local reverse proxy with a certificate.

### Pointing many apps at one server

Every app pointed at the same runtime shares one loaded model. That saves memory compared with apps that each load their own. It also means a long request from one app makes the others wait, unless the runtime handles several requests at once. [What changes when many people use one model?](https://localagi.co/one-user-to-many) explains how runtimes share a model between requests.
