Project note · 2025
Roo Code — Local LLM Evaluation
In early 2025, Roo Code offered an unusually open approach to AI-assisted coding: the editor integration was open source, the model backend was selectable, and local inference through Ollama was a first-class option. The evaluation asked a practical question: could that freedom and privacy remain useful on realistic consumer hardware, where VRAM was scarce, models were quantized and long coding tasks continuously expanded the context?

The hypothesis: freedom without giving up usefulness
Roo Code reduced two forms of lock-in at once. It did not require one hosted model provider, and it could run against a locally hosted model through Ollama. That made it possible to keep code and prompts on the local machine while retaining the freedom to choose and change the model backend.
The point of the evaluation was to test that promise under conditions that a technically capable user could actually reproduce: consumer GPUs, heavily quantized models and a finite VRAM budget. Rather than asking whether local inference could produce code at all, the project focused on the engineering choices that determined whether it could stay useful through a real auto-coding task.
A realistic high-end consumer machine
The test machine was built largely from pre-owned parts collected over time: a previous-generation AMD Ryzen 7, 128 GB of DDR4 memory, 2 TB of NVMe storage, an RTX 3090 Ti and an additional RTX 3060. Together the GPUs provided 36 GB of VRAM, split across two devices and unequal PCIe links.
That hardware choice was deliberate. It represented a capable machine someone could plausibly assemble from yesterday’s high-end consumer parts, not a benchmark rig designed to remove every constraint. The evaluation was about applicability: what could be made reliable when the machine itself forced clear trade-offs?
Why auto-coding stresses local models
Roo Code does much more than autocomplete a function. For a substantial refactoring task it has to build an understanding of an existing codebase, request files, call tools, reason about changes, apply them, inspect results and continue iterating. Each round adds more history to the next model call.
That makes context management a first-order design problem. A task may begin small and then grow into hundreds of kilobytes of prompts and tool results. Every earlier assumption can influence the next decision, while the larger context also consumes more memory. Reliable local operation therefore depended on treating the model, context window, system prompt and hardware as one system rather than tuning any one of them in isolation.
Quantization: making the model fit without losing the behaviour that matters
Local inference creates a direct trade-off between model size, context size and numerical precision. Quantization makes larger models practical by storing their weights at lower precision, but an auto-coder needs more than plausible prose: it has to reason consistently, follow tool protocols and recover from intermediate results.
The evaluation found a useful operating region around Q8 quantization on 14-billion-parameter Qwen-derived models with the available 36 GB of VRAM. Lower precision saved memory, but the loss appeared in exactly the behaviours that mattered most: reasoning quality, tool interaction and the ability to avoid repetitive correction loops. The old-couple illustration above came from that observation — communication can technically continue while becoming progressively less dependable.
Context was as important as model size
Maximising the configured context window was not the goal. The useful context size was the one the model could handle well and the hardware could support without forcing damaging compromises elsewhere.
The practical configuration therefore became deliberate system tuning: choose a model trained for coding, keep quantization as high as the hardware allows, reserve enough VRAM for context, verify that Ollama is using the GPUs effectively, and remove unnecessary prompt overhead. Roo Code’s configurable system prompt and modes mattered because the tool could be adapted to the model and machine instead of assuming one fixed environment.
A snapshot from before today’s agent stack settled
The repository dates from February 2025, with the first commits appearing at the end of that month. At the time, the report still described products such as Roo Code as auto-coders and treated MCP as an emerging interoperability protocol rather than established infrastructure.
Roo Code was already doing work that would soon be described more broadly as agentic: maintaining task context, requesting tool calls, executing commands through VS Code, inspecting results and iterating toward completion. The project therefore captures an interesting transition point, when these ideas were already practical but the surrounding conventions and tooling had not yet settled.
The result: local freedom was practical, with engineering ownership
The evaluation showed that local Roo Code was genuinely useful when the setup was treated as an engineered system rather than a model download. With careful model choice, tuning and task sizing, substantial coding work could be carried out without sending the codebase to a hosted model provider.
The strongest hosted models of the time still offered greater speed, reliability and breadth. That did not invalidate the local approach; it clarified its trade-off. Backend freedom and privacy were real, but they transferred responsibility for model selection, quantization, context sizing, hardware utilisation and task decomposition back to the operator.
That was the point of the project. It turned broad product claims about privacy and model freedom into concrete operating choices on hardware that someone could plausibly own, and documented where those choices materially changed the result.
Full report and configurations
The complete evaluation, including the detailed discussion of Roo Code’s context flow, model and quantization experiments, Ollama configuration, hardware observations and example model files, remains available on GitHub.