Running your own AI companion on your computer

In short
- A self-hosted AI companion runs an open-weight language model on your own computer, so your chats can stay on your device. You need a program that runs the model, such as Ollama, LM Studio or KoboldCpp, and optionally a character front end such as SillyTavern.
- Hardware matters. LM Studio recommends at least 16GB of RAM and, on Windows, 4GB of dedicated graphics memory; SillyTavern recommends an NVIDIA 3000-series card with at least 6GB of VRAM for local models.
- Running locally keeps chats off company servers only while you use local models. Cloud models in Ollama or LM Studio, cloud APIs in SillyTavern, and exposing a server to the internet all change that; Cisco Talos found 1,139 Ollama servers open to the internet in 2025.
- A home setup has no company safety team, crisis prompts or content rules unless you add them, so the habits that keep companion use healthy matter more.
Yes, you can run an AI companion on your own computer. You download an open-weight language model and a program that runs it, such as Ollama, LM Studio or KoboldCpp, and if you want a character with a name, a personality and a chat history, you add a front end such as SillyTavern. With a local model, your conversations stay on your device instead of a company's servers, and the companion cannot be changed or shut down by a company update. The costs are a learning curve, a computer with enough memory, and taking on the safety and security work an app company would otherwise do.
People choose this route for different reasons. Some want privacy after reading what companion apps collect, which we cover in what AI companion apps do with your chats. Some were unsettled when an app changed their companion's personality overnight. Others like tinkering, or want a character that fits a story they are writing.
The pieces of a home setup
A self-hosted companion has up to three parts.
The model is the language model itself, a large file of weights downloaded from a model library. Smaller models need less memory but write less well and lose track of details sooner.
The runner, often called a backend or inference engine, loads the model into memory and generates replies. Ollama, LM Studio, KoboldCpp and Jan all do this on your own hardware.
The front end is where you chat. LM Studio, KoboldCpp and Jan include their own chat windows. SillyTavern is a separate front end built for characters: its documentation describes it as a locally installed interface for text generation models, image generators and voice models, and says it "is only an interface" that needs a backend to provide replies. It connects to local runners such as KoboldCpp and to cloud services through an OpenAI-compatible API, among others.
The main tools compared
| Tool | What it is | Licence | Runs on | Hardware guidance in its own docs | Companion features |
|---|---|---|---|---|---|
| Ollama | Model runner with a command line, desktop app and local API | MIT, open source | macOS, Windows, Linux | No fixed minimum in the docs we read | Works as a backend for SillyTavern and many other chat apps |
| LM Studio | Desktop app to download and chat with models | Desktop app from Element Labs; its CLI is MIT open source | Apple Silicon Macs, Windows x64 and ARM, Linux | 16GB+ RAM recommended; 4GB+ dedicated VRAM on Windows | Chat with documents, presets, MCP tool connections |
| KoboldCpp | Single executable that runs GGUF models with a writing and roleplay interface | AGPL-3.0, open source | Windows, Linux, macOS | Runs on CPU or GPU; use a smaller model or shorter context if memory runs out | Memory, world info, author's notes, characters, imports Tavern character cards |
| SillyTavern | Front end for character chats, with no model of its own | AGPL-3.0, open source | Anything that runs Node.js 20+, including Android | Minimal for itself; NVIDIA 3000-series with 6GB+ VRAM if running the model locally too | Character cards, group chats, personas, world info, voice, image generation |
| Jan | Desktop chat app with built-in models and a local API server | Apache 2.0 per its docs | macOS, Windows, Linux | Not stated on the overview page | General assistant; can also switch to cloud models |
Ollama is the most popular of these on GitHub, with about 188,000 stars when we checked on 29 November 2026. You install it, download a model with a single command and chat in a terminal or its app, and it serves a local API on port 11434 that other programs can use. LM Studio is the gentlest start for people who prefer menus to commands: you search for a model inside the app, download it and start a chat. KoboldCpp, from the developer LostRuins, is one file with no installation that opens a launcher, and its bundled KoboldAI Lite interface already handles characters and long stories. SillyTavern is the choice of people who want rich characters. It is built around character cards, collections of prompts that set a character's behaviour, and adds lore books, group scenes and user personas, at the cost of a steeper setup.
A common pairing for a companion is KoboldCpp or Ollama running the model, with SillyTavern on top for the character.
What hardware you need
The amount of memory decides how large a model you can run and how fast it replies. The tools' own guidance gives a sense of the range.
LM Studio's system requirements recommend 16GB or more of RAM. On Macs it needs Apple Silicon and macOS 14 or newer, and says 8GB Macs can work if you stick to smaller models and modest context sizes. On Windows it needs a processor with AVX2 support and recommends at least 4GB of dedicated graphics memory. SillyTavern's documentation says the interface itself runs on anything that can run Node.js 20 or higher, but recommends an NVIDIA 3000-series graphics card with at least 6GB of VRAM if you also run the model on the same machine.
KoboldCpp's troubleshooting notes describe the trade-offs you meet in practice. If your system runs out of RAM or graphics memory, it suggests a smaller model or a shorter context, and moving fewer layers to the graphics card. Context is the length of conversation the model can see at once, which is a large part of what makes a companion seem to remember you. Our guide to AI companion memory explains why companions forget and how apps work around it.
If your computer is modest, expect a smaller model that writes simpler replies and loses the thread in long conversations. That can still be pleasant company for short chats.
The privacy trade-offs
Running a model on your own machine changes who holds your words. LM Studio's privacy policy, last updated 19 October 2026, says that if you download and run models locally, "none of your messages, chat histories, and documents are ever transmitted from your system." The company still receives anonymised model searches, download requests and update checks that include your IP address. SillyTavern stores its data, including chats and characters, on your own disk: in a data folder inside its installation directory for a standard git install, or in your user profile folder if installed through npm.
That privacy holds only while everything stays local, and several common choices change it.
- Cloud models. Ollama now offers cloud models whose inference runs on Ollama's servers and requires an account; its docs say it does not use cloud prompts and responses to train models, and that you can disable cloud features to keep everything local. LM Studio's paid Cloud Services, such as cloud models and web search, also send requests off your device, which its policy says are processed transiently and not stored.
- Cloud APIs in a front end. SillyTavern can connect to cloud providers through an OpenAI-compatible API and to the AI Horde service. When it does, your messages go to that service and its privacy policy applies.
- Opening the server to other devices. Ollama's FAQ says it binds to 127.0.0.1, your own machine, on port 11434 by default, and explains how to change the address so other devices can reach it. In a September 2025 study, Cisco Talos used the Shodan search engine to find 1,139 Ollama servers reachable on the internet, 214 of them hosting models that answered requests without any authentication. Talos recommends requiring authentication and keeping such services behind a firewall or VPN.
- Remote access to SillyTavern. Its documentation says the server "is not secure enough for exposure to the public internet" and adds, in capitals, "NEVER HOST ANY INSTANCES ON THE OPEN INTERNET WITHOUT ENSURING PROPER SECURITY MEASURES FIRST." Its security checklist recommends steps such as HTTPS and host whitelisting for anyone who wants to reach it from another device.
Your files are also only as safe as your computer. Anyone who uses your account can open the chat logs, and they are included in your backups.
What you give up compared with an app
Companion apps such as those in what AI companions are come with a team that writes safety rules, monitors misuse and, in some places, must follow laws requiring crisis referrals. A model on your computer has none of that unless you add it. It will not reliably suggest a helpline, set a break reminder or notice that you have been talking for six hours.
That makes your own habits more important. It helps to decide when you will chat and when you will stop, to keep some conversations for people, and to notice if the companion is replacing sleep or friends. Our guide to when an AI companion becomes a dependency lists the signs. If you are using a companion because you feel very alone, how to cope with loneliness has steps that work alongside it, and if loneliness comes with low mood or thoughts of self-harm, please talk to a doctor or find a local helpline at findahelpline.com.
Questions people ask
- Can I run an AI companion offline?
- Yes. LM Studio's documentation says it can operate entirely offline once you have downloaded model files, and Ollama, KoboldCpp and Jan also run models on your own hardware. You need internet access to download the software and the models, and some tools check for updates.
- What computer do I need to run a local AI companion?
- More memory lets you run larger, more capable models. LM Studio recommends 16GB or more of RAM, says 8GB Macs can work with smaller models and shorter context, and recommends at least 4GB of dedicated VRAM on Windows. SillyTavern itself runs on anything that runs Node.js 20, but recommends an NVIDIA 3000-series card with at least 6GB of VRAM if you also run the model locally.
- Is SillyTavern an AI?
- No model is included. SillyTavern's documentation describes it as a locally installed interface for text generation models, image generators and voice models. It needs a backend to produce replies, such as KoboldCpp or Ollama on your computer, or a cloud API, and it is built around character cards that set a character's personality and behaviour.
- Is a self-hosted AI companion private?
- It can be more private than an app, because chats with a local model stay on your machine. LM Studio's privacy policy says that with local models none of your messages or chat histories leave your system. Privacy ends where you connect to a cloud model or API, or open the server to other devices without protection; SillyTavern's own docs say its server is not secure enough to expose to the public internet without extra measures.
Read next
Sources
- Ollama on GitHub (MIT licence; read 29 November 2026), Ollama
- Ollama documentation: Cloud (read 29 November 2026), Ollama
- Ollama documentation: Local FAQ (read 29 November 2026), Ollama
- LM Studio documentation: System requirements (read 29 November 2026), LM Studio
- LM Studio Desktop App Privacy Policy, last updated 19 October 2026 (read 29 November 2026), Element Labs
- KoboldCpp on GitHub (AGPL-3.0; read 29 November 2026), LostRuins
- What is SillyTavern? (read 29 November 2026), SillyTavern documentation
- SillyTavern documentation: Installation and data paths (read 29 November 2026), SillyTavern documentation
- SillyTavern documentation: Administration and security checklist (read 29 November 2026), SillyTavern documentation
- SillyTavern on GitHub (AGPL-3.0; read 29 November 2026), SillyTavern
- Jan documentation: Jan Desktop overview (read 29 November 2026), Menlo Research
- Detecting exposed LLM servers: a Shodan case study on Ollama (Cisco Talos, 1 September 2025) (read 29 November 2026), Cisco