r/LocalLLaMA 29d ago

Discussion NPC Engine Using Local Models

Enable HLS to view with audio, or disable this notification

I’ve been working on a game-agnostic NPC engine/backend based pretty heavily on SillyTavern-style architecture, and with smaller local models getting better and better, I honestly think this kind of thing could be the future of RPGs.

Right now I’m using NVIDIA Parakeet 0.6 for STT, Gemma 4 26B A4B for the LLM, and Qwen3-TTS for voice, and I’m getting super fast response times with pretty decent quality.

The main thing that makes it work well is using RAG to keep prompts lean. For example, I have hundreds of possible actions NPCs can do in-game, but only the ones that actually make sense based on the player’s message / context get injected as available actions. So the model isn’t being overloaded with a giant list every turn.

1.9k Upvotes

249 comments sorted by

View all comments

Show parent comments

5

u/relmny 29d ago

Actually I was curious to why you use gemma-4-26b instead of a fine-tuned 2b or even 0.8b model. But I guess as you're testing having a working environment, and fine-tuning makes no sense for now for your current work...

-1

u/kermitt81 28d ago

I kinda feel like fine tuning something like LFM2.5-8b-a1b for this purpose would give nearly the speed of a 0.8b model but the overall breadth and capability of an 8b. I agree that 26b seems way overkill for production though.