1. Docs
  2. Local models
  3. LM Studio and local servers

Local models

LM Studio and other local servers

Connect models you already run in LM Studio or another OpenAI-compatible server on your PC, and use them in Codevalanche conversations.

2 min read · Codevalanche 1.1.77 · Windows

If you already run models in LM Studio or another OpenAI-compatible server on your computer, Codevalanche can use them directly.

Connect a local server

  1. Start the server in LM Studio (or your other server) and load a model.
  2. Open Your AIs. Codevalanche looks for Local servers on this computer. Use Refresh local servers to look again.
  3. Or enter the address. Type the server’s address in Local server address.
  4. Pick its model in the model picker of a conversation.

When it does not work

MessageWhat to do
The local server’s address is not valid.Check the address under Your AIs, then try again.
This local server can’t be used with this AI app.Choose another server or model.
Couldn’t check for local serversMake sure the server is running, then refresh.

A server you left enabled but did not start is reported as unavailable; start it and send again.

OpenAI-compatible cloud APIs

A cloud endpoint is different: it is added as OpenAI-compatible cloud API with your own key. It must be a public HTTPS address; local and private addresses are not accepted there. See API keys.