Novelcrafter

LM Studio

Connect to LM Studio to run your AI models locally.

2 min read Last updated Jan 28, 2026

If you want to run your AI models locally, LM Studio is a popular solution. If you need help installing the app, please consult the LM Studio documentation first.

Connecting to LM Studio from Novelcrafter can be done two ways:

  • Same Device: Both, Novelcrafter and LM Studio run on the same computer.
  • Local Network: Novelcrafter and LM Studio run on separate computers, both within the same WiFi/LAN.

Configure LM Studio

Before connecting, you need to turn on LM Studio’s server mode:

LM Studio Server settings

  1. Open the Developer Settings tab on the left side of LM Studio.
  2. Open the Server Settings.
  3. Enable Enable CORS. This is required for your browser to talk to LM Studio.
  4. Enable Just-in-Time Model Loading. This ensures Novelcrafter can see all your downloaded models, even if you haven’t loaded one yet.
  5. Click the toggle next to Status so the Status is Running. This starts the LM Studio server.

Connect Novelcrafter

Once the LM Studio server is running, head over to Novelcrafter:

  1. Click on your profile icon and select AI Connections .

    AI Connections dialog

  2. Find LM Studio in the new connection list and click Add .

    Add connection

  3. If your browser asks for permission to access local devices, click Allow.

  4. On your new connection, check its settings. The defaults usually work, but verify the following:

    • Host: Should match the address in the “Reachable at” label in LM Studio (usually localhost or 127.0.0.1), which you find in the top right of the LM Studio Developer Settings tab.

    • Port: Should match the number after the colon (e.g., for http://127.0.0.1:1234 the port is 1234).

    LM Studio connection settings

  5. Click Refresh to test the connection.

If the connection is successful, you will see your available models listed under Supported Models. LM Studio supported models

Model Collections

Locally hosted models aren’t listed in Novelcrafter’s default Model Collection. If your models appear greyed out in the model selection list, you need to create a custom Model Collection.

View Guide

Known Browser Issues

Depending on your web browser, you may need to take extra steps:

  • Safari: Safari currently blocks local connections that aren’t encrypted (HTTPS). Since LM Studio runs on HTTP, you cannot use Safari for this setup.

  • Brave: “Brave Shields” may block local connections. If the connection fails, try disabling Shields for Novelcrafter.

    Brave Shields disabled

Troubleshooting

Error running prompt ‘user/assistant/user/assistant’ while running a prompt

Some models, for example the Google Gemma family, do not allow a system message to be sent, only user messages. This setting can be changed in the Model settings under the Advanced Settings .

Disable the option System msg. for the model you are using/getting this error with.

I downloaded a new model and it’s not showing up

If you just downloaded a new model in LM Studio, and it’s not showing up in Novelcrafter, the following steps might help:

  1. Please make sure the “Just-in-time” option is enabled (see above).
  2. Remember that new models need to be added to your model collections before being able to use them in Novelcrafter.
  3. If your model is still not showing up, open the LM Studio connection in Novelcrafter, and hit Refresh to grab a new model list from LM Studio.