New Tool Radar

Local AI

How to Fix LM Studio Server 404 Model Not Found

Fix the LM Studio server 404 by loading the model first and using its exact identifier.

Schematic illustration with three step boxes: Check the server; Load the model; Use the exact identifier.

LM Studio’s local server answers on port 1234, and a 404 for a model usually means the model is not loaded, or the request names a model the server does not know. The fix is to load the model in the app and use its exact identifier in the request. This guide does that and checks the model list.

Before you start

  • LM Studio installed, with a model already downloaded.
  • A terminal with curl, and a client that calls the server.
  • The model identifier as shown in LM Studio.

Check the server is up

Ask the server for its model list:

curl http://localhost:1234/v1/models

If the command is refused, the server is not running: start it from the Developer view in LM Studio. If it answers with a list, note the exact identifier of each model in the list.

Load the model in the app

Open LM Studio, pick the model in the chat view, and load it. Then run the curl command again: the loaded model should now appear in the list with its identifier. A model that is downloaded but not loaded does not appear, and a request for it returns 404.

Use the exact identifier

Send the request with the identifier exactly as the list shows it, including any suffix such as the quantization or the provider prefix. A request that uses the display name or a shortened name will 404 even when the model is loaded.

Worked example

Worked example: a request for “qwen3” returns 404. The model list shows the identifier “qwen3-8b” for the loaded model. Send the request again with “qwen3-8b” and it should be answered; if the list is empty, load the model in the app first and check the list again.

Expected result

UNTESTED in this guide: no server was run while writing it. The expected result is that the model list shows the loaded model, and a request with its exact identifier is answered.

Limitations

The server only serves models that are loaded in the app, not every downloaded model. If the model unloads after idle time, the next request will 404 again until it is reloaded.

Sources

See all