This week, the official Ollama account on X highlighted a command that would have seemed ambitious just twelve months ago: ollama launch codex-app --model [model], one line to spin up a fully agentic coding environment, local model, no API key, no cloud subscription. The post showed the command running with a frontier model, but the more interesting story for most businesses is that smaller, equally capable options now work just as well on ordinary hardware. At the top of that list sits Qwen3-Coder-Next.
What Is Qwen3-Coder-Next?
Qwen3-Coder-Next is an open-weight language model released by Alibaba's Qwen team in early 2026, designed from the ground up for agentic coding workflows. It uses a Mixture-of-Experts (MoE) architecture with approximately 80 billion total parameters and only around 3 billion parameters active per inference step, a design that lets it deliver high capability while staying within the memory budgets of real-world business hardware.
Key specifications, as documented in community benchmarks and the Ollama model library:
- ~70% SWE-Bench score, as reported by community benchmarks, placing it among the strongest open-weight coding models available as of mid-2026
- 256 000-token context window, enough to handle full codebases, long PR diffs, or complete API specifications without chunking
- MIT licence, permitting commercial use without per-token costs, usage caps, or restrictions on the type of code processed
- Available via Ollama with a single pull command:
ollama pull qwen3-coder-next
According to hardware testing reported by practitioners, quantised variants run on machines starting from around 16 GB of unified memory, though exact requirements depend on the quantisation level chosen. Teams with 32 GB or more will find more headroom for longer contexts and heavier workloads.
Why Local Coding AI Makes Business Sense in 2026
Cloud-hosted coding assistants have one persistent problem: your code leaves your machine on every request. For teams working under NDA, handling proprietary algorithms, or building software for regulated industries, that data flow creates real risk, legal, contractual, and reputational.
Qwen3-Coder-Next running locally through Ollama eliminates that risk entirely. Code completions, multi-file edits, agentic task loops, and long-context analysis all happen on your own hardware. Nothing reaches an external API. There is no usage log on a third-party server.
For a deeper look at how this fits into a broader local AI strategy, including privacy architecture and deployment models, see our overview.
EU deployers should also note that running inference on-premise substantially simplifies compliance with transparency and data-minimisation obligations under the EU AI Act (Article 26), as we understand the current regulation. This is informational commentary based on our reading of the regulation; legal advice should come from qualified counsel.
Setting Up Qwen3-Coder-Next with Ollama
If Ollama is already installed, setup is two commands:
ollama pull qwen3-coder-next
ollama run qwen3-coder-next
For team deployments, Ollama exposes an OpenAI-compatible API on port 11434, allowing integration with any tool that supports the OpenAI Chat Completions interface, including Aider, Cline, Roo Code, and OpenAI's Codex desktop app.
The codex-app integration, released with Ollama 0.24 in May 2026, is particularly relevant for teams that want a polished desktop coding agent. The command ollama launch codex-app configures the Codex desktop app to route requests through your local Ollama instance. Once set up, the app presents the same interface developers know from the cloud version, but model inference happens entirely on your hardware. Official documentation is available on the Ollama docs site.
Integrating with Agentic Coding Tools
Qwen3-Coder-Next is compatible with the major agentic coding frameworks:
- Aider: set
--model ollama/qwen3-coder-nextand--api-base http://localhost:11434/v1 - Cline / Roo Code: configure an OpenAI-compatible provider pointing to your local Ollama endpoint
- OpenAI Codex App: use
ollama launch codex-appwith Ollama 0.24 or newer
For multi-step tasks, refactoring across multiple files, generating test suites, or implementing features from a specification, models with reliable tool-calling behaviour perform significantly better than chat-only models. Community reports indicate Qwen3-Coder-Next handles structured tool calls and multi-step loops consistently, though teams should evaluate performance on their specific workflows before committing to a production setup.
What to Expect on Common Business Hardware
Based on reported community benchmarks:
| Hardware | Approx. throughput | Recommended quantisation |
|---|---|---|
| MacBook Pro M3/M4, 32 GB | 12-18 tok/s | Q4KM |
| Mac Studio M3 Ultra, 192 GB | 35-50 tok/s | Q6_K |
| DGX Spark, 128 GB | 20-30 tok/s | Q4KM |
| RTX 5090, 32 GB VRAM | 30-45 tok/s | Q4KM |
All throughput figures are estimated values from community testing, not Freshlab measurements. Real-world performance varies with context length, concurrent users, and system configuration.
Data Sovereignty and the Agentic Coding Workflow
The shift to agentic AI, tools that can edit files, run shell commands, and operate across a codebase autonomously, raises the stakes on data control. When the agent is cloud-hosted, every file it touches, every command it proposes, every diff it generates passes through an external system.
A local stack with Qwen3-Coder-Next and Ollama keeps that entire loop on-premise. For organisations handling sensitive business data, customer systems, proprietary implementations, or regulated industries, this is not a minor detail. It is the precondition for using agentic coding AI at all.
Open-weight models under MIT licences also remove the supplier lock-in risk: you are not dependent on a provider's pricing decisions, model deprecation schedule, or access policy changes.
The model selection question is often where organisations get stuck, which quantisation, which hardware tier, which agent framework. Our pilot project process covers exactly that scoping work, starting from your team size, codebase characteristics, and compliance requirements.
To explore whether a local agentic coding setup fits your situation, contact us or read more about our approach to local AI deployments.