Local AI agents on a 12GB GPU: what actually runs

A 12GB graphics card is not the ceiling it once was for local AI, thanks to mixture-of-experts models and careful memory partitioning. This explainer covers what an agent needs from a GPU, why model architecture matters more than raw size, and two concrete setups that fit in 12GB.

Local AI agents on a 12GB GPU: what actually runs
via YouTube

A local AI agent is not one model doing one thing. It is a loop: a language model that reads a request, decides which tool or step comes next, calls that tool, reads the result, and repeats until the task is done. That loop is what separates an agent from a chatbot, and it is also what makes memory budgeting harder than picking a model and pressing run.

On a 12GB GPU, the question is not "can I run a large language model?" It is "can I keep the model resident while the rest of the agent's machinery — speech recognition, image generation, a second model for a different task — also needs the card?" The answer depends far more on model architecture and loading strategy than on the number on the box.

Why model size is the wrong number

Memory use for a language model scales with its parameter count and the precision those parameters are stored in. A model stored at 4-bit precision needs roughly a quarter of the memory of the same model at 16-bit, which is why quantization is the first lever anyone reaches for. But parameter count alone misleads, because not every parameter is active on every token.

Mixture-of-experts (MoE) architectures split a model into many specialized sub-networks and route each token through only a few of them. The total parameter count looks enormous; the compute per token is much smaller. The catch for a 12GB card is that the inactive experts still occupy memory unless they are offloaded, so an MoE model can be compute-cheap and memory-hungry at the same time. What MoE changes is the trade: you may fit a model with a very large total parameter count if the active portion and the storage format cooperate, which is the direction one hardware writer describes when arguing that older cards are now practical for home-server AI without 24GB of VRAM ¹.

The practical rule: active parameters and storage precision set your speed and your floor, while total parameters and offloading strategy set your ceiling. A 12GB card lives or dies by that distinction.

Example one: a text agent with a big MoE model

The most common 12GB agent is a text-only loop — a model plus tool calls to a shell, a file system, or a search index. Here MoE is the enabling trick. A model whose total size would never fit at full precision can run if the active experts and the KV cache fit, with the remainder handled by quantization or by keeping less-used weights off the GPU. The result is not fast in absolute terms, but it is fast enough for an agent that spends most of its time waiting on tool output rather than generating tokens.

The consequence for agent design is that context length becomes the real constraint. Every turn of the loop appends to the conversation and to the KV cache, and a long-running agent accumulates both. A 12GB card that comfortably holds a model at the start of a session can run out of headroom after enough tool calls. Agents on this class of hardware need short, summarized context and aggressive truncation, not just a small model.

Example two: a multimodal agent that shares the card

The second pattern is an agent that does more than text. An open-source project built around MiniCPM-o-4.5 shows the shape of it: a multimodal chatbot supporting text, image understanding, voice input, offline text-to-speech, and optional image generation, all on a single 12GB GPU ². The interesting part is not the feature list but the memory plan. The language model runs on the GPU in INT4 precision, while speech-to-text runs on the CPU via faster-whisper to keep the GPU free, text-to-speech runs offline through Piper, and the image-generation model is loaded on the CPU and moved to the GPU only during inference.

That is the template for any 12GB agent with more than one skill: put the always-on model on the GPU, push latency-tolerant work to the CPU, and load heavy optional components only when a task calls for them. The project's own documentation frames this CPU/GPU separation as the reason smooth interaction is possible on consumer cards. It also lists a caveat worth repeating: the hardware requirement is an NVIDIA GPU with roughly 12GB of VRAM, tested, with a CPU capable of running Whisper and Piper — the card alone is not the whole system.

The practical consequence

A 12GB GPU can host a useful local agent, but only if you stop treating VRAM as a single pool for a single model. Three decisions do most of the work: choose an architecture whose active footprint fits rather than one whose total size merely sounds impressive; quantize the resident model and keep the context window short; and schedule everything else — speech, image generation, secondary models — so it occupies the card only when needed. Agents that ignore the third point will work in a demo and fail in a long session.

What the sources do not establish is how any specific 12GB card performs on any specific agent workload; the claims here are about fit and strategy, not measured throughput. The honest summary is that 12GB is enough for a real local agent loop, and the margin between "runs" and "runs well" is mostly a memory-scheduling problem rather than a hardware one.

Sources

  1. ¹ Old GPUs are finally practical for home server AI, and you don't need 24GB of VRAM to replace cloud models - Old GPUs are finally practical for home server AI, and you don't need 24GB of VRAM to repla www.xda-developers.com
  2. ² GitHub - amill288/AI-Local-Sandbox: AI Chat, Video feed, and Picture Generation · GitHub github.com