Neocortex Logo
Google's Gemini Live API is fast and inexpensive for voice conversations, but Unity support is still in preview. Here is what building NPCs on it involves, and where Neocortex fits.

Building Game NPCs on the Gemini Live API vs Using Neocortex

ComparisonAI NPCUnityLLMs

Google's Gemini Live API is one of the most cost-effective ways to hold a real-time voice conversation with an AI model. For game developers, it is tempting: point a microphone at it, give it a persona, and you have a talking NPC.

Here is what that looks like in practice in 2026.

What the Gemini Live API gives you

From Google's documentation (checked October 2026):

  • Audio-to-audio models over a stateful WebSocket connection, with a free tier and low per-token prices.
  • Ephemeral tokens recommended for client apps, so you need a backend to issue them.
  • Session limits. Audio-only sessions run 15 minutes unless you enable context compression, and connections last around 10 minutes, so you handle resumption.
  • Unity through Firebase AI Logic, which is in preview, has no SLA, and supports only older Live models rather than the newest stable ones.

What you build yourself

  • A Unity audio client, or adoption of the Firebase preview with its model limits.
  • A backend for ephemeral tokens.
  • Reconnection and session resumption.
  • Character design as prompts, plus memory across sessions.
  • Game integration for function calls, and guardrails.
  • Cost monitoring for token-based billing.

Gemini Live vs Neocortex

DIY on Gemini LiveNeocortex
UnityFirebase AI Logic preview, older models onlyUnity SDK with voice samples
Other enginesBuild your own clientUnreal, Godot (beta), Web API
Character designPrompts in codeVisual node editor
VoicesGoogle's voicesVoice cloning and voice design
SessionsManage limits and resumptionSession handling built in
Game actionsWire up function callsActions and interactable objects built in
Local AINoLocal LLMs in Unity via Ollama

Why teams choose Neocortex

Ship on stable tooling. The Neocortex Unity SDK is our core product, not a preview.

Your characters, your voices. Clone or design a unique voice for every character instead of choosing from a shared set.

Designers in control. Personality, emotion, knowledge, intents and actions live in a visual graph, not a prompt string.

No session plumbing. Memory, sessions and streaming are handled for you.

When Gemini Live is the right call

If you are building your own voice stack and want low raw model costs, Gemini Live is a strong engine to build on. If you want voiced NPCs in your game this week, Neocortex gets you there without the plumbing.

Google details were last checked in October 2026.

Written by

Sercan Altundas

Date

Oct 17, 2026

Read time

4 min