Guides · 4 min read

Use your local model from other apps (the local API)

Most local apps can pose as an OpenAI-style server on your own machine. Here is how to point tools at it.

Most local apps can run a small web server on your own computer that accepts the same requests as OpenAI’s API. Anything built to talk to that API (editors, note apps, scripts, agents) can then use your local model by changing two settings: the base URL and the model name.

AppDefault addressHow to start it
Ollamahttp://localhost:11434/v1Runs in the background once installed.
LM Studiohttp://localhost:1234/v1Start the local server from the Developer tab.
llama.cpphttp://localhost:8080/v1llama-server -m model.gguf

Ports are the defaults at the time of writing and can be changed in each app.

Pointing a tool at it

  1. Load or pull the model in the app and start its server.
  2. In the other tool, choose an OpenAI-compatible or “custom” provider.
  3. Set the base URL to the address above. Use the model name exactly as the app lists it.
  4. For the API key, enter any placeholder text if the tool insists on one. Local servers normally ignore it.

Things worth knowing

Pick an app on the apps page or read which app to use.

Estimates come from published hardware specs and our open formulas, not from running the model on your machine. Real speed varies with runtime, drivers and settings. Numbers marked “Measured” come from a linked benchmark.