AI NPC tools for games in 2026
AI NPCs answer the player in their own words instead of from a fixed dialogue tree. Hosted platforms handle the model, memory and voice for you; local plugins run a small model inside the game so there is no server bill.
Keep each NPC on a short leash: a clear role, what it knows, and what it must never say.
- 1Character sheetRole, knowledge, limits
- 2ModelHosted or local
- 3MemoryWhat it remembers
- 4VoiceOptional TTS
- Open source 14
- Free tier 1
Top picks
- 1InworldVoice + dialogue
Voice and character AI for talking NPCs.
- 2OllamaLocal LLM
Run open LLMs locally with one command — easy NPC brain for prototypes.
- 3llama.cppLocal LLM
The C/C++ engine behind most local LLM runtimes.
- 4llamafileLocal LLM
Ship an LLM as a single executable file.
- 5LLMUnityLocal LLM
Run LLM characters inside Unity, on the player's machine.
- 6NobodyWhoLocal LLM
Local LLM inference for Godot and Unity games.
Every AI NPC tool compared
| Tool | Type | Price | Exports | License / stars | API / MCP |
|---|---|---|---|---|---|
| Voice + dialogue | Freemium, from $25/mo | Not listed | Not open source | Yes / No | |
| Local LLM | Free (open source) | Not listed | MIT, ★ 189.2k | No / No | |
| Local LLM | Free (open source) | Not listed | MIT, ★ 137.4k | No / No | |
| Local LLM | Free (open source) | Not listed | see repo, ★ 26.8k | No / No | |
| Local LLM | Free (open source) | Not listed | Apache-2.0, ★ 1.7k | No / No | |
| Local LLM | Free (open source) | Not listed | EUPL-1.2, ★ 1.7k | No / No | |
| Dialogue | Free (open source) | Not listed | MIT, ★ 742 | No / No | |
| Mods | Free (open source) | Not listed | AGPL-3.0, ★ 430 | No / No | |
| Dialogue | Free (open source) | Not listed | see repo, ★ 346 | No / No | |
| Local LLM | Free (open source) | Not listed | MIT, ★ 252 | No / No | |
| Voice | Free (open source) | Not listed | MIT, ★ 235 | No / No | |
| Dialogue | Free (open source) | Not listed | MIT, ★ 135 | No / No | |
| Dialogue | Free (open source) | Not listed | see repo, ★ 88 | No / No | |
| Dialogue | Free (open source) | Not listed | MIT, ★ 62 | No / No | |
| Dialogue | Free (open source) | Not listed | MIT, ★ 47 | No / No |
Questions
Can NPCs use AI in games?
Yes. NPCs can generate dialogue with a language model, either through a hosted service or a small local model bundled with the game.
Do AI NPCs cost money to run?
Hosted platforms charge per use. Local models cost nothing per conversation but need a capable player machine.