All news
VIBPS / NEWS • AI DEVELOPER TOOLS

How does QVAC run OpenCode with a local model, and what are the limits?

QVAC's OpenCode plugin 0.5.1, published November 27, manages a local model server for OpenCode 2. Its local-inference promise still comes with model downloads, machine requirements and vendor-reported speed and quality trade-offs.

OpenCode can run coding agents against remote model APIs, but some developers want inference to stay on a workstation. QVAC, Tether's local AI runtime, has built a plugin that starts a managed QVAC server and connects it to OpenCode's model provider interface. The current package version, 0.5.1, was published on November 27 and requires OpenCode 2.x and Node.js 22 or newer.

The integration is more than a configuration snippet. QVAC's plugin launches a helper process, starts a local proxy, registers the `qvac` provider with OpenCode and manages the model server's lifetime. QVAC says the model is downloaded at first use, loaded in the background and then served locally; closing the OpenCode service or leaving it idle eventually tears down the managed server. Once the model is on the device, QVAC says it can continue answering without an internet connection.

How the connection works

OpenCode's plugin system accepts published packages in the `plugins` array of `opencode.json`. QVAC's quick start uses `@qvac/opencode-plugin`; the plugin registers a local provider that speaks an OpenAI-compatible API. In managed mode, the plugin handles the serving process and chooses `qwen3.5-9b` by default. Developers can select other catalog models through plugin options. A separate manual setup is available for people who want to run QVAC's server themselves and point OpenCode at its local HTTP endpoint.

The phrase “no API key” needs a little context. The setup avoids a hosted inference provider and an external API credential, but the plugin still uses a generated local token to protect its loopback proxy and server. That's a useful security detail: without local authentication, another process on the same machine could send requests to the model. QVAC's README documents the token flow and notes an exception for custom server binaries, where a key can be passed on the command line.

What hardware and speed should developers expect?

QVAC's company guide, originally published June 23 and marked updated November 18, demonstrates a Qwen3.6-35B-A3B model. Its newer plugin README describes a different default: Qwen3.5 9B, with larger GPT-OSS 20B and Gemma 4 31B options, plus smaller 4B and 2B choices. Those examples show why “runs locally” is not a single hardware profile. Model size, quantization, available memory, context length and the operating system all affect whether a model fits and how responsive it feels.

The two vendor pages also report roughly 20–30 seconds for a tool-using turn, but attach that estimate to different setups: the guide discusses its 35B demo, while the plugin README describes a 9B model and a roughly 26,000-token prompt with tool schemas. These are not controlled comparative measurements, and they do not establish the speed a developer will see on another machine. QVAC says smaller models can be faster but less reliable for tool-heavy coding; that is a vendor warning, not an independent quality evaluation.

There are practical constraints beyond model fit. The plugin documentation says only one QVAC worker runs machine-wide, so concurrent projects may share the same serving process. It also flags a possible conflict when the OpenCode desktop app and terminal CLI compete for local locks. Large models need an initial download and cold load, and a model that can write plausible code may still struggle with multi-step changes, repository-specific conventions or tool selection.

Local inference is one privacy boundary

Keeping prompts away from a hosted inference API can reduce one data-transfer path, but it does not automatically make the whole coding session offline or secure. OpenCode still runs tools, plugins and shell commands that may access the network; the model files must be acquired first; and developers must decide which repositories and commands the agent can reach. QVAC's offline check is a useful demonstration of its local model path, not a complete network audit of every part of an agent setup.

Before using the plugin on sensitive code, test it with network access disabled after model download, inspect the plugin and its permissions, and check which processes make outbound requests. Try the smaller and default models on a disposable repository with repeatable tasks, recording tool-call success, edits that pass tests, latency and memory use. For an agent, answer quality alone is not enough: a model can produce a convincing explanation while choosing a wrong file or issuing a risky command.

A useful option when the trade-offs fit

QVAC's 0.5.1 package makes the local-server setup more turnkey for OpenCode 2: users can configure a plugin and let it manage the model endpoint. The payoff is control over where inference runs and a path to offline use after setup. The costs are local storage and compute, model-dependent coding quality, cold starts and operational testing. Developers should confirm the installed package version and run their own task suite before treating local inference as a drop-in replacement for a cloud model.

Can you run Microsoft's Aion Instruct model locally?

VIBPS is the social network for software

More software stories, with sources and context.

More news