Skip to content

How-ToGPU

How to Run Mantella AI NPCs in Skyrim With a Local LLM on Your Own PC

Mantella lets you talk to Skyrim and Fallout 4 NPCs out loud using AI. We walk through installing it for Skyrim, checking your PC has memory to spare, connecting a local model through Ollama, LM Studio or KoboldCpp, keeping speech local, and fixing common problems.

By , Systems & Technical Editor

7 min read

How to Run Mantella AI NPCs in Skyrim With a Local LLM on Your Own PC

Mantella is a free, open-source mod for Skyrim and Fallout 4 that lets you talk to NPCs out loud: your voice is turned into text, a large language model (LLM) writes the NPC's reply, and a text-to-speech engine speaks it in game. Its quick start uses a free cloud model through OpenRouter, but the Mantella documentation also covers running the language model on your own PC with Ollama, LM Studio, KoboldCpp or text-generation-webui. This guide walks through the Skyrim install and the switch to a local model.

What Mantella does and what runs where

Mantella's documentation describes three services working together:

  • Speech-to-text - by default Mantella comes packaged with a local engine called Moonshine, which only supports English. You can switch to Whisper for other languages, locally or via an API.

  • Language model - writes each NPC's reply. This is the part you can move from the cloud to your own graphics card.

  • Text-to-speech - by default Mantella ships with Piper, a fast local engine that only supports English. xVASynth and XTTS are alternatives for more natural voices.

Mantella also stores a summary of each conversation for every NPC involved and loads it next time, so NPCs remember past chats. The project says it works with more than 3,000 NPCs, each with their own background, and that NPCs can perform more than 20 actions, such as following you, attacking, trading or travelling to locations.

The current release on GitHub is v0.14, published on 21 April 2026, and the project is licensed under the AGPL-3.0.

Before you start: requirements

The Mantella documentation lists these requirements for Skyrim:

  • Windows 10 or 11. The docs say it is unconfirmed whether it works on Windows 7.

  • Skyrim installed outside Program Files. Mantella reads and writes files in your Skyrim folder and is "unlikely to work correctly" if the game lives in Program Files or Program Files (x86). The docs suggest a folder such as C:\Games\Steam.

  • Required mods: SKSE (launch the game through SKSE afterwards), Address Library for SKSE Plugins (or the VR version), FonixData File for lip sync, UIExtensions if you want to type instead of speak, SkyUI to reach Mantella's MCM menu, and the Microsoft Visual C++ Redistributable 2015-2022.

  • The right mod versions for your game. The docs call downloading the wrong version of each mod "the #1 reason for installation problems". Check your Skyrim version by right-clicking its exe, then Properties > Details > File version.

Two optional mods are recommended: No NPC Greetings, so vanilla voice lines don't interrupt Mantella, and World Encounter Hostility Fix - Performance Version, which stops some NPCs turning hostile when you cast the Mantella spell (this needs the Unofficial Skyrim Special Edition Patch, and Mantella must load after USSEP).

If you're not sure which mod manager to use, see our Vortex vs Mod Organizer 2 comparison.

Step 1: Install Mantella and find its folder

  1. Install the required mods, then Mantella itself, with your mod manager.

  2. Find the Mantella folder. In Mod Organizer 2, right-click the Mantella mod and choose Open in Explorer. With Vortex, it is in \Data\Mantella inside your Skyrim game folder.

  3. Launch Skyrim through SKSE. Mantella opens its own window automatically and shows "Waiting for player to select an NPC..." when it's ready. The Mantella spell is added to your inventory.

The Mantella UI, where you change services and models, should open in your web browser when the Mantella window starts. If it doesn't, it's at http://localhost:4999/ui/?__theme=dark while the Mantella window is running. Don't launch Mantella.exe from a Vortex or MO2 shortcut: the troubleshooting page says this does not start it properly, and Mantella starts itself with the game.

Step 2: Check your PC has room for a local model

A local LLM runs alongside Skyrim, so it competes with the game for graphics memory. Mantella's Skyrim page doesn't give a figure, but its Fallout 4 installation page does: on top of the game's own needs, it says you need a minimum of 6GB of free RAM/VRAM, with "at least 12-15" being optimal "if you want to run a good roleplay LLM locally". The same page says Piper plus Whisper needs roughly 1GB of VRAM, and XTTS plus Whisper needs 3-4GB.

To see how much graphics memory you have and how much the game is already using, follow our guides to checking VRAM usage on Windows and checking whether your PC can run a local LLM. Our VRAM guide explains how memory needs scale with model size.

Step 3: Pick and start a local LLM server

Mantella talks to any service with an OpenAI-compatible API. The documentation gives step-by-step instructions for four local options. Whichever you use, it must be running whenever Mantella is.

Ollama

  1. Install Ollama. It should start in your taskbar tray.

  2. Pick a model from Ollama's library and note its ID. The docs use Gemma 3 4B (gemma3:4b) as the example.

  3. Open Command Prompt and run ollama pull gemma3:4b (or your chosen model ID).

  4. In the Mantella UI, on the Large Language Model tab, type http://localhost:11434/v1/ into the LLM Service box (ignore the drop-down options) and set Model to your model ID.

New to Ollama? Our guide to running AI models locally with Ollama and LM Studio covers installation, and how to check Ollama is using your GPU helps if replies are slow.

LM Studio

  1. Install LM Studio and download a model.

  2. Go to the Developer tab, select your model from the drop-down at the top and click Start Server. Allow it through Windows Firewall if asked.

  3. In the Mantella UI, set LLM Service to http://localhost:1234/v1/. The Model setting can be ignored because you chose the model in LM Studio.

KoboldCpp

  1. Download KoboldCpp's latest release. The docs say to use koboldcpp.exe if you have an NVIDIA GPU with CUDA support, or koboldcpp_nocuda.exe if you're on CPU or don't have an NVIDIA GPU.

  2. Download a local model; the docs suggest Gemma 4 E4B as an example.

  3. Run KoboldCpp, click Browse next to Model, select the model and click Launch.

  4. In the Mantella UI, choose KoboldCpp from the LLM Service drop-down.

See our KoboldCpp guide for more on its settings.

text-generation-webui

The docs cover this too: put a model in text-generation-webui's models folder, add the openai extension flag to CMD_FLAGS.txt, load the model in the Model tab and choose "textgenwebui" in Mantella.

If the connection works, the Mantella window says "Running Mantella with local language model" when it starts (the docs mention this for Ollama and LM Studio).

Step 4: Keep speech local too

Out of the box, Moonshine (speech-to-text) and Piper (text-to-speech) already run locally, so with a local LLM nothing needs to leave your PC. Mantella's homepage says: "No data leaves your PC unless you choose."

  • Other languages: Moonshine struggles with non-English speech, according to the troubleshooting page. Switch Speech-to-Text > STT Service to Whisper in the Mantella UI. Whisper installs and runs on your CPU by default.

  • Whisper on an NVIDIA GPU: the docs say CUDA mode needs some extra files (see the Faster Whisper documentation; you may only need the cuDNN DLL files beside the Mantella executable), then select "cuda" in the Whisper Process Device setting. If Mantella.exe closes after a "VAD filter removed 00:00.000 of audio" message, the docs say this is a CUDA issue and to set Process Device back to "cpu".

  • Better voices: xVASynth and XTTS both run locally. The docs say the bundled Mantella XTTS exe is currently incompatible with NVIDIA RTX 50-series graphics cards and point to separate instructions for starting the server instead.

  • Typing instead of talking: disable mic input in Mantella's MCM menu. The default key to open the text box is H, and UIExtensions is required.

For background on the engines, see our comparisons of Kokoro vs Piper and whisper.cpp vs faster-whisper.

Step 5: Start talking to NPCs

  • Cast the Mantella spell (in the Illusion category of your Magic menu) on an NPC, or use the power, a hotkey enabled in the MCM, or the in-game dialogue menu.

  • To end a conversation, say or type "goodbye" (the docs recommend this) or cast the Mantella End Conversation spell.

  • To start a group chat, add more NPCs between your responses, or cast the spell with no NPC in your crosshair to start a group conversation with up to five nearby NPCs.

  • Settings such as NPC actions and radiant conversations (idle NPCs chatting to each other) are in the in-game MCM: SYSTEM > MOD CONFIGURATION > Mantella.

Troubleshooting a local setup

These fixes come from Mantella's Issues Q&A page:

  • NPCs reply "I can't find the right words at the moment." The LLM server is down or not set up correctly. Check that Ollama, LM Studio or KoboldCpp is running, and see Documents/My Games/Mantella/logging.log for the exact error.

  • NPCs describe their actions out loud, or ignore requests to follow or trade. The docs say some smaller LLMs struggle to follow instructions; try a larger model. Also make sure the action is enabled both in the Mantella UI and in the MCM. You can force an action by saying just the action, such as "follow".

  • NPCs repeat the same line. Usually a permissions problem from Skyrim being in Program Files. If it's only occasional, increase Wait Time Buffer under Large Language Model > Advanced.

  • Voice lines show in the Mantella window but don't play. Make a new save, then load it so the voice files register.

  • Mantella.exe closes straight away, or shows "cannot connect to port 4999". Allow Mantella.exe through your firewall and antivirus.

If you'd like replies to arrive faster, see our companion guide on making Mantella NPCs respond faster, and our local LLM vs OpenRouter comparison for Mantella if you're undecided about going local.

The bottom line

To run Mantella's AI NPCs in Skyrim without a cloud model, install Mantella and its required mods with Skyrim outside Program Files, start Ollama, LM Studio or KoboldCpp with a model loaded, and point Mantella's LLM Service setting at the local server (for example http://localhost:11434/v1/ for Ollama). Moonshine and Piper already run locally, so nothing has to leave your PC. Mantella's own guidance is at least 6GB of free memory for a local model and 12-15GB for a good roleplay model, on top of what the game uses.

Sources

  1. 01Mantella documentation, Skyrim Installation
  2. 02Mantella documentation, Fallout 4 Installation
  3. 03Mantella documentation, Issues Q&A
  4. 04Mantella documentation, home page
  5. 05GitHub, art-from-the-machine/Mantella (README)
  6. 06Mantella releases on GitHub

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

How to Use Langflow as an MCP Server for Local AI Tools

How-To

How to Use Langflow as an MCP Server for Local AI Tools

Langflow can turn the flows in a project into MCP tools that apps such as LM Studio and Cursor can call. We cover choosing which flows to expose, naming them so agents pick the right one, connecting a client with an API key, and setting timeouts.

Marcus Thorne5 min

How to Use Langflow With Ollama to Build Local AI Agents on Your PC

How-To

How to Use Langflow With Ollama to Build Local AI Agents on Your PC

Langflow lets you build AI agents and workflows by wiring components together on a canvas. We show how to install it, connect it to a local Ollama model, build a simple agent with tools, call the flow from your own scripts and fix common problems.

Marcus Thorne6 min