guide

How to Run an AI Companion Locally (2026): Private, Offline, No Message Caps

To run an AI companion locally, install a backend that runs an open-weight model on your own computer (KoboldCpp, Ollama or LM Studio), download a quantized GGUF model that fits your graphics memory, and optionally add SillyTavern as the chat interface. An 8B model needs a 6 to 8 GB GPU; chats then stay on your machine.

By AI Companion Seeker Editorial Team · Nov 25, 2026 · 10 min read

To run an AI companion locally, install a backend that runs an open-weight model on your own computer, such as KoboldCpp, Ollama or LM Studio. Then download a quantized GGUF model that fits your graphics memory and optionally add SillyTavern as the interface. An 8B model needs a 6 to 8 GB GPU, and your chats stay on your machine.

Based on each project's official documentation and GitHub pages, and model file listings on Hugging Face, checked November 25, 2026. Hardware figures are our estimates from real file sizes, not vendor specifications. We have not benchmarked these setups.

Why run an AI companion locally

  • Privacy. With a local backend, prompts and replies are processed and stored on your own computer. LM Studio and TextGen say they can run fully offline once models are downloaded.
  • No platform caps or price changes. No subscription, no credits and no message limit beyond your hardware.
  • Your rules, your character. You write the character and choose the model. Nothing changes after a company's model update unless you change it.

The trade-offs: you need capable hardware, some setup, and patience. Local models are smaller than the ones commercial apps run in the cloud, there is no built-in long-term memory system like Nomi's, and images and voice take extra work. If you want something that just works, a hosted app is easier; our how to choose an AI companion app guide covers those.

The pieces you need

PieceWhat it doesExamples
BackendLoads and runs the modelKoboldCpp, Ollama, LM Studio, TextGen
ModelThe language model itself, as a fileMistral Nemo 12B, Qwen3 14B, Gemma 4
Interface (optional)Character chat, cards, lorebooksSillyTavern, or the backend's own chat
Voice (optional)Speech-to-text and text-to-speechwhisper.cpp, Piper, XTTS-v2

Backends

  • KoboldCpp: a single executable with no installation for Windows, Linux and macOS. Runs GGUF models on CPU, GPU or both, includes its own chat UI with memory, world info and characters, imports Tavern character cards, and bundles Whisper speech-to-text and text-to-speech. Open source (AGPL-3.0). Its README warns that koboldcpp.com and koboldcpp.cc are fake sites; download from the GitHub releases.
  • Ollama: a command-line tool and local API for macOS, Windows and Linux. Simple to install and widely supported by other apps. MIT licence.
  • LM Studio: a desktop app with a model browser and chat window. Free for home and work use since July 2025, but not open source. On a Mac it needs Apple Silicon and macOS 14 or later; 16 GB of RAM is recommended.
  • TextGen (formerly text-generation-webui): a feature-rich local app with chat modes and custom characters. It says it runs fully offline with no telemetry. AGPL-3.0.

The interface: SillyTavern

SillyTavern is a free, open-source chat interface for "power users". It is not a model: it connects to a backend such as KoboldCpp, Ollama or LM Studio, or to cloud APIs. What it adds is the companion layer:

  • Character cards: a character's description, personality, greeting and example dialogue in one file, shared as PNG or JSON.
  • World Info (lorebooks): facts inserted into the conversation only when their keywords come up, a simple form of memory (World Info docs).
  • Extensions for summaries, expression sprites, text-to-speech and more.

It runs on Windows, macOS, Linux and Android (through Termux) and needs Node.js 20 or later. AGPL-3.0.

How to run an AI companion locally: the five steps

  1. Check your hardware against the table below.
  2. Install a backend. For the simplest start, LM Studio (point and click) or KoboldCpp (one file). Ollama suits people comfortable with a terminal.
  3. Download a GGUF model that fits your memory. Q4_K_M is a common balance of size and quality. Use well-known uploaders on Hugging Face.
  4. Chat in the backend's own window, or install SillyTavern and connect it to the backend's local address.
  5. Create your character: a short description, personality, greeting and two or three example messages. Add lorebook entries for facts it should remember.

Hardware: what fits on your computer

Real Q4_K_M file sizes from Hugging Face, and our estimate of the graphics memory needed once you add 1 to 3 GB for context:

Model sizeExampleQ4_K_M fileGPU memory needed (estimate)
8BLlama 3.1 8B4.9 GB6 to 8 GB
12BMistral Nemo 12B7.5 GBAbout 10 GB
14BQwen3 14B9.0 GBAbout 12 GB
24BMistral Small 3.2 24B14.3 GB16 GB is tight; 24 GB comfortable
70BLlama 3.3 70B42.5 GBAbout 48 GB (two 24 GB GPUs or a large Mac)
  • Longer context needs more memory. The context window (how much conversation the model sees at once) takes space on top of the model file.
  • CPU and system RAM work too, and the backends can split a model between GPU and RAM. It is much slower than running fully on the GPU.
  • Apple Silicon Macs share memory between CPU and GPU, so a Mac with plenty of RAM can load larger models than a PC graphics card of similar price.

Which model to start with

Open-weight models with clear licences, per their Hugging Face pages:

FamilySizes to tryLicence
Mistral Nemo, Mistral Small 3.212B, 24BApache 2.0
Qwen3 and later8B, 14BApache 2.0
Gemma 4 (March 2026)Small to 31BApache 2.0
Llama 3.1, 3.38B, 70BMeta community licence (gated download)

Community fine-tunes for roleplay exist on top of these. Their behavior and filtering vary, and their licence follows the base model.

Memory on a local setup

A local model only knows what fits in its context window. Past that, older messages drop out. To keep your companion consistent:

  • Put stable facts in the character card, not in chat.
  • Use lorebook entries for people, places and events, triggered by keywords.
  • Use a summary extension to condense long chats.
  • Raise the context size if your memory allows.

Our guide to how AI companion memory works explains context windows and why companions forget.

Adding voice

  • Speech-to-text: whisper.cpp (MIT), or the Whisper support built into KoboldCpp.
  • Text-to-speech: Piper for fast local voices (GPL-3.0), or XTTS-v2, which clones a voice from a short clip under the Coqui Public Model License. KoboldCpp also bundles several voices, and SillyTavern has a TTS extension.

Only clone a voice you have the right to use. Never clone a real person's voice without their consent.

Staying safe

  • Local only means local. If you connect SillyTavern to a cloud API, your chats go to that provider under its privacy policy.
  • Download from official sources. Fake download sites exist for popular tools.
  • Be careful with extensions and scripts, which run code on your computer.
  • Treat downloaded character cards as third-party content. Read them before use.
  • Follow the model's licence and the law. Running a model locally does not change what is legal to create.

Local vs a hosted app

Local setupHosted app (for example Nomi or SpicyChat)
CostFree software; your hardware and power$0 to $30 a month
PrivacyChats stay on your machineStored by the company
SetupHours, and some technical skillMinutes
MemoryContext, lorebooks, summaries you manageBuilt-in memory systems
Voice and imagesExtra setupBuilt in on many plans
QualityLimited by the model size you can runLarge cloud models

If you want privacy without the setup, read the AI companion privacy guide to compare how hosted apps handle your data.

questions

Frequently asked

Yes. Free tools such as KoboldCpp, Ollama and LM Studio run open-weight language models on your own computer, and SillyTavern adds a character chat interface on top. You need enough graphics memory or system RAM for the model, and you set up the character yourself.