AIgamer
Sign in
๐Ÿ Home๐Ÿ“ฐNews๐ŸงฐResources๐ŸŽฎGames๐Ÿ“˜Guides๐Ÿ†GOTW
๐Ÿ“ฐNews๐ŸงฐResources๐ŸŽฎGames๐Ÿ“˜Guides๐Ÿ†GOTW
Get the weekly emailSign in
AIgamer
๐Ÿ Home๐Ÿ“ฐNews๐ŸงฐResources๐ŸŽฎGames๐Ÿ“˜Guides๐Ÿ†GOTW
New storiesTopicsSubmit your gameHow we report
Get the weekly email

๐Ÿ†Leading this week

WK 44

Mowtopia

See the game

โœ‰๏ธWeekly email

The week's top stories and the AI Game of the Week, every Friday. Free.

๐Ÿ”ฅMost read this week

  1. 01Google DeepMind unveils Genie 4 with native audio and 2-minute consistent worlds
  2. 02Unity brings its official plugin to Grok Build, joining Claude Code and Codex
  3. 03Epic opens AI MegaJam with $65k in prizes after saying AI is optional
  4. 04Sakurai warns AI will flood game stores, and Miyamoto questions what "creating" means
  5. 05Mowtopia
AIGamer: the front page for people making games with AI.
New storiesAI toolsTopicsGuidesAI Game of the WeekSubmit your gameEditorial standardsPrivacy

Home โ€บ Resources โ€บ AI NPC tools

LL

LLM for Unity

Run local LLM characters inside Unity

Compiled by AIGamer Staff ยท Prices checked 29 October 2026

Visit LLM for Unity โ†’Source code
LLM for Unity preview
Image: undream ai (LLMUnity logo)
Best for
Unity developers who want AI characters that run offline on the player's device at no per-use cost
Makes
Local LLM-driven characters with retrieval (RAG) and grammar-limited output
Made by
undream ai
Where you use it
Unity Editor
Engines
Unity
Pricing
Free and open source (Apache-2.0) for personal and commercial use
Free plan
Yes
Open source
Yes (Apache-2.0)
Export
Models and code ship inside your own Unity build; no service account is needed
Status
Available

LLM for Unity, or LLMUnity, is a free, open-source package from undream ai that runs large language models inside Unity games. Its backend, LlamaLib, is built on llama.cpp, so it loads models in the GGUF format and runs them on the player's CPU or GPU (NVIDIA, AMD or Apple Metal) without an internet connection, according to the project's README. It can also connect to a remote server.

Setup happens in the Inspector: add an LLM component, download a default model or load your own GGUF file, then give each character an LLMAgent component with a system prompt. The package includes a retrieval (RAG) system for searching your own lore, and you can restrict replies with a grammar, which is also how it handles function calling: the grammar limits output to function names you allow.

The README says it's tested on Unity 2021 LTS through Unity 6 and runs on PC, mobile and VR, with iOS and Android build notes. It lists more than 20 projects that use it, including Steam games such as Verbal Verdict and Case Closed. The repository was created in December 2023, is licensed under Apache-2.0 and had 1,736 stars on October 29, 2026; its latest release was v3.0.3 on March 8, 2026.

Local models are small, and they add size and memory demands to your game. AIGamer hasn't tested it; see our AI NPCs guide. For Godot, NobodyWho fills a similar role.

Plans and pricing

PlanPriceWhat you get
Open sourceFreeApache-2.0; on GitHub and the Unity Asset Store

From LLM for Unity's own pricing page, checked 29 October 2026. Prices change; check before you buy.

Limitation: On mobile, the README says models of up to 1 to 2 billion parameters are the practical limit, and its default model downloads run to gigabytes.

FAQ

Is LLMUnity free?

Yes. It's open source under the Apache-2.0 license and, per its README, free for personal and commercial use.

Does LLMUnity work offline?

Yes. It runs llama.cpp models on the player's machine, so no internet connection is needed. A remote server setup is optional.

Which Unity versions does LLMUnity support?

The README says it's tested on Unity 2021 LTS, 2022 LTS, 2023 and Unity 6.

Can LLMUnity run on phones?

Yes, on iOS and Android, but the README recommends models of up to 1 to 2 billion parameters on mobile hardware.

Topics:UnityAI NPCs

Sources

Compiled by AIGamer from LLM for Unity's own pages and the sources below, checked 29 October 2026. We haven't tested LLM for Unity hands-on.

  1. undream ai: LLMUnity (GitHub README)
  2. GitHub: undreamai/LLMUnity repository data

Image: undream ai (LLMUnity logo)

Written in our own words; quotes are marked and credited. How we report

LLM for Unity alternatives

  • CoConvaiTalking AI characters for Unity, Unreal and the webFree plan (100 interactions a month); Indie Dev $29/month ($22/month billed yearly); higher tiers up to $1,199/month (as of October 2026)
  • InInworld AIVoice, speech and LLM APIs for AI charactersPay as you go (On-Demand, $0/month) with TTS-2 at $25 per 1M characters and speech recognition at $0.15/hour; monthly plans from $25 lower the rates (as of October 2026)
  • NoNobodyWhoLocal LLMs for Godot NPCs and other platformsOpen source (EUPL-1.2)
  • NVNVIDIA ACENVIDIA models and SDKs for on-device game charactersOpen source (MIT (Unreal plugins, Audio2Face-3D SDK); Apache-2.0 (Game Agent SDK); models under NVIDIA Open Model License or custom licenses)
  • PlPlayer2Free AI NPC APIs served through a player appFree for developers and players; Player2 says it pays the API costs, with free models plus daily credits for frontier models

Compare all 5 LLM for Unity alternatives โ†’

๐Ÿ“˜Guides

  • How to let coding agents playtest the games they build
  • How to turn an AI picture into a rigged 3D game asset in 5 steps
  • How to teach coding agents Roblox Studio, Unreal and game servers with skill packs
  • How to run a Gauntlet Loop
  • Blockout first, art last
All guides โ†’
Sign in
Sign in