New Tool Radar

Local AI

How to Start LM Studio’s Local Server

Start LM Studio's local server with one command, confirm it answers on localhost:1234, and note that it needs no login by default.

Schematic diagram with three steps: get the model with lms get ibm/granite-4-micro, start the server with lms server start, and confirm localhost:1234 answers.

To start LM Studio’s local server, run lms server start in a terminal. LM Studio’s API quickstart says the server then runs at http://localhost:1234 by default, and that the server does not require authentication by default. No account and no login step stand between you and your own model.

Start the server in two commands

LM Studio’s quickstart gives the sequence. First download a model, using the quickstart’s own example:

lms get ibm/granite-4-micro

Then start the server:

lms server start

The quickstart says the server runs at http://localhost:1234 by default and does not require authentication by default. By default it listens only on 127.0.0.1 (localhost), so only this computer can reach it. You can turn on authentication in the Developer page > Server Settings; only then must requests include an Authorization: Bearer $LM_API_TOKEN header. Generating a token alone does nothing unless that switch is on, and a token is not a reason to expose the server beyond this computer.

Try it: start it and ask for the model list

After starting the server, check that it answers. The quickstart’s chat example posts to /api/v1/chat, which it describes as stateful, and its download example posts to /api/v1/models/download and returns a job_id. A simple first check is to open http://localhost:1234 in a browser or ask the server for its model list and confirm the model you downloaded is there.

Step Command or address What you should see
1. Get a model lms get ibm/granite-4-micro The model downloads
2. Start the server lms server start The server starts
3. Confirm Open http://localhost:1234 The server answers on your own computer

Expected result. We checked the LM Studio API quickstart. We did not run lms server start on this machine.

Limits

The server needs no login by default. That is convenient on your own computer, but anyone who can reach port 1234 on your machine can use it. Keep the server on localhost (127.0.0.1) and do not expose it to a network or the internet: the server speaks plain HTTP, and an API token only checks who may call it — it does not encrypt traffic and does not make an exposed server safe. The lms command line is part of LM Studio, so the commands above work only where LM Studio is installed. We did not run the server, so no response text here is a recorded result.

Sources

See all