Connect local AI

Local AI runs on your own computer. Your text never leaves it, it works without internet and it costs nothing per word.

What you will get

A working AI chat powered by your own computer.

Careful

Local AI runs on a computer. On a phone it is not available yet. NovelForge shows a note there and you can use cloud AI instead.

How it works, in plain words

You need two things: a small helper app that runs AI models, and a model (the AI itself, a big file you download once). NovelForge then talks to the helper app.

Will my computer manage?

  • Small models need about 8 to 12 GB of memory (RAM).
  • Medium ones need about 16 GB.
  • Large ones need 48 GB or more.

Not sure how much memory you have? On Windows press Ctrl + Shift + Esc, open the Performance tab and look at Memory.

The steps

  1. Install a helper app. The simplest is Ollama. LM Studio also works.
  2. Download a model. NovelForge has a table of models that suit writers: see Pick a model.
  3. In NovelForge open Settings, choose AI Settings, and in the AI Provider section choose Local LLM.
  4. Press Find AI on this computer. NovelForge looks for the helper app and shows what it found, for example the word Ready, the program name and how many models it found.
  5. If several programs are found, pick the one you want to use.
  6. Choose the model, then press Test connection. When it turns green, you are ready.
Example

You install Ollama, press Download next to Gemma 12B in NovelForge's table, wait for it to finish, press Find AI on this computer and see that Ollama is ready with one model. In the editor you ask: "Make this paragraph more tense." and the answer appears from your own computer.

When you forget to turn it on

If the helper app is not running when you write in the chat, NovelForge asks "AI on this computer is off. Turn it on?" with Yes, turn it on and No. Press Yes and it starts the last program you used and sends your message. If it cannot start it for you, it tells you what to open.

Good to know

  • The first answer can be slow. The model has to load into memory first. A big model can take a minute or two. NovelForge shows a message while it waits and does not give up for about three minutes.
  • Start automatically. Tick Start Local LLM automatically when NovelForge opens if you want that.
  • Memory for the conversation. NovelForge asks the AI to remember about 16,000 tokens, roughly 50 pages. That is enough for most chats.
  • These settings are for this computer only. They are not copied to your other devices.

Something not working? See If local AI does not work.