Skip to main content
Updated June 2026 ยท Tracking the leading open-weight coding models

Best Open-Source & Open-Weight AI Coding Models in 2026

Featured open-source and open-weight coding models in Kilo currently include GLM 5.2, MiniMax M3, Kimi K2.7 Code, DeepSeek V4 Pro, DeepSeek V4 Flash, Qwen3 Coder Next, Qwen3.7 Max (50% off), Nemotron 3 Ultra, and Devstral 2 2512. This list is selected from the live Kilo model feed by family recency; use them hosted in Kilo Code, run them locally, or bring your own keys.

Best Open-Source Coding Models Ranked (2026)

Ranked from the live Kilo model feed by newest model in each major open-weight coding family, with benchmark and usage signals where available. Each model links to a full review and is available either hosted in Kilo Code, locally via Ollama / LM Studio / vLLM, or through your own provider keys.

#1

GLM 5.2

Z Ai

In Kilo

Latest Z Ai open-weight coding option in Kilo

GLM 5.2 is a large-scale reasoning model from Z.ai. It supports text input and output with a 1M-token context window, and is suited for long-horizon agent workflows, project-level software engineering,...

Parameters
See model details
Context
1M
License
MIT
Top benchmark
Kilo Bench 53.0%
View GLM 5.2 in Kilo
#2

MiniMax M3

Minimax

In Kilo

Latest Minimax open-weight coding option in Kilo

MiniMax-M3 is a multimodal foundation model from MiniMax. It supports text, image, and video inputs with text output, a 1M-token context window, and is suited for long-horizon agentic work, coding,...

Parameters
See model details
Context
1M
License
Open weights
Top benchmark
Kilo Bench 47.6%
View MiniMax M3 in Kilo
#3

Kimi K2.7 Code

Moonshotai

In Kilo

Latest Moonshotai open-weight coding option in Kilo

MoonshotAI: Kimi K2.7 Code is a coding-focused model in Moonshot AI's Kimi K2 family, built to complete end-to-end programming tasks reliably over long contexts. It uses a native multimodal mixture-of-experts...

Parameters
See model details
Context
262K
License
Modified MIT
Top benchmark
Kilo Bench 60.7%
View Kimi K2.7 Code in Kilo
#4

DeepSeek V4 Pro

Deepseek

In Kilo

Latest Deepseek open-weight coding option in Kilo

DeepSeek V4 Pro is a large-scale Mixture-of-Experts model from DeepSeek with 1.6T total parameters and 49B activated parameters, supporting a 1M-token context window. It is designed for advanced reasoning, coding,...

Parameters
See model details
Context
1M
License
MIT
Top benchmark
Kilo Bench 44.0%
View DeepSeek V4 Pro in Kilo
#5

DeepSeek V4 Flash

Deepseek

In Kilo

Latest Deepseek open-weight coding option in Kilo

DeepSeek V4 Flash is an efficiency-optimized Mixture-of-Experts model from DeepSeek with 284B total parameters and 13B activated parameters, supporting a 1M-token context window. It is designed for fast inference and...

Parameters
See model details
Context
1M
License
MIT
Top benchmark
Code mode #7
View DeepSeek V4 Flash in Kilo
#6

Qwen3 Coder Next

Qwen

In Kilo

Latest Qwen open-weight coding option in Kilo

Qwen3-Coder-Next is an open-weight causal language model optimized for coding agents and local development workflows. It uses a sparse MoE design with 80B total parameters and only 3B activated per...

Parameters
See model details
Context
262K
License
Apache 2.0
Top benchmark
Live Kilo model
View Qwen3 Coder Next in Kilo
#7

Qwen3.7 Max (50% off)

Qwen

In Kilo

Latest Qwen open-weight coding option in Kilo

Qwen3.7-Max is the flagship model in Alibaba's Qwen3.7 series. It supports text input and output and is designed for agent-centric workloads, with particular strengths in coding, office and productivity tasks,...

Parameters
See model details
Context
1M
License
Apache 2.0
Top benchmark
Kilo Bench 54.6%
View Qwen3.7 Max (50% off) in Kilo
#8

Nemotron 3 Ultra

Nvidia

In Kilo

Latest Nvidia open-weight coding option in Kilo

NVIDIA Nemotron 3 Ultra is an open frontier-reasoning and orchestration model from NVIDIA, with 55B active parameters out of 550B total (MoE). Built on a hybrid Transformer-Mamba mixture-of-experts architecture, it...

Parameters
See model details
Context
1M
License
NVIDIA Nemotron Open
Top benchmark
Kilo Bench 19.1%
View Nemotron 3 Ultra in Kilo
#9

Devstral 2 2512

Mistralai

In Kilo

Latest Mistralai open-weight coding option in Kilo

Devstral 2 is a state-of-the-art open-source model by Mistral AI specializing in agentic coding. It is a 123B-parameter dense transformer model supporting a 256K context window. Devstral 2 supports exploring...

Parameters
See model details
Context
262K
License
Apache 2.0
Top benchmark
Live Kilo model
View Devstral 2 2512 in Kilo

Open-Source Coding Models Compared (Benchmarks)

Side-by-side specs and benchmarks for the top open-weight coding models. SWE-Bench Verified, Terminal-Bench 2.0, and LiveCodeBench are the most comparable measures of real software-engineering capability today.

ModelParamsContextLicenseSWE-Bench VerifiedTerminal-Bench 2.0/2.1LiveCodeBenchIn Kilo
GLM-5.1744B-A40B200KMITSWE-Bench Pro SOTASOTA OSSโ€”Yes
MiniMax M3MoE (MSA)1MOpen weights59.0% (Pro)66.0% (2.1)โ€”Yes
Kimi K2.61T-A32B256KModified MIT80.2%66.7%89.6%Yes
DeepSeek V4-Pro1.6T-A49B1MMIT80.6%67.9%93.5%Yes
DeepSeek V4-Flash284B-A13B1MMIT79.0%57.9%91.6%Yes
Qwen3-Coder-Next80B-A3B256KApache 2.071.3%โ€”โ€”Yes
Qwen3.6-27B27B dense262KApache 2.077.2%59.3%โ€”Yes
GLM-5744B-A40B200KMITFrontier tierโ€”โ€”Yes
Nemotron 3 Super120B-A12B1MNVIDIA Nemotron Open60.5% (OpenHands)31.0% (Core 2.0)81.2% (v5)Yes
Devstral 2123B256KApache 2.072.2%โ€”66.79%BYOK / local

Benchmarks sourced from each modelโ€™s technical report and release notes. Results may vary by scaffold, prompt, and agent setup. โ€” = not yet published.

Best Open-Source Coding Model for Each Use Case

Different jobs call for different open-weight models. Pick by need:

NeedRecommendedWhy
Best overall agentic codingGLM-5.1SOTA on SWE-Bench Pro and long-horizon stability.
Best newest open-weight frontier modelMiniMax M3First open-weight model combining frontier coding, 1M context, and native multimodality.
Best for 1M-token contextDeepSeek V4-ProTrue 1M context window, #1 on LiveCodeBench.
Best cost-efficient self-hosted MoEDeepSeek V4-Flash284B/13B active with 1M context, runs on a single H100, MIT licensed.
Best for consumer hardwareQwen3.6-27BDense 27B model with strong SWE-Bench scores that fits a single 24GB GPU.
Best free hosted (long context)Nemotron 3 SuperFree in Kilo; NVIDIA-optimized hybrid Mamba-Transformer with 1M context and fast speculative decoding.
Best free hosted (high throughput)MiniMax M2.5Free in Kilo; high-throughput MoE with heavy real-world usage across Code, Plan, Ask, and Debug workflows.
Best for agent swarmsKimi K2.6Native 300-sub-agent swarm, 12-hour autonomous runs.
Best efficiency per active paramQwen3-Coder-Next80B total / 3B active matches much larger frontier models.
Best US-origin open reasoningTrinity Large ThinkingApache 2.0, multi-turn tool use, long-horizon agent loops.

Open-Source vs Open-Weight Coding Models: Whatโ€™s the Difference?

Understanding the terminology helps you make informed decisions about which models to use in your development workflow.

Open Source

Fully transparent โ€” includes model weights, training code, datasets, and documentation. You can inspect, modify, and understand exactly how the model was built. Examples include OpenCoder, StarCoder2, and IBM Granite Code.

Open Weight

Model weights available โ€” you can download and run the model, but training code and datasets may not be public. License terms vary: Apache 2.0 and MIT are highly permissive; Modified MIT and bespoke model licenses add usage, distribution, or attribution rules.

The bottom line: both open-source and open-weight coding models give you freedom from single-vendor lock-in. You can run many of them locally, self-host them, use hosted endpoints, fine-tune within the license, or route them through Kilo Code alongside closed frontier models.

Why Choose an Open-Weight Coding Model?

Open-source and open-weight models are getting serious. Hereโ€™s why developers are choosing them for production coding agents.

Run Locally

Use Ollama, LM Studio, vLLM, SGLang, or another OpenAI-compatible runtime to run open weights on hardware you control. Keep sensitive prompts on your own network.

No Vendor Lock-In

Your code never depends on a single provider. Switch between local and hosted, or between different models, without changing your workflow.

Rapidly Improving

Open-weight models are moving from chat benchmarks into real agent loops: planning, editing many files, calling tools, reading terminal output, retrying, and staying coherent over long sessions.

Community Driven

Benefit from community fine-tunes, optimizations, and improvements. Open models get better through collective effort.

Cost Effective

Run local queries for the cost of your hardware, choose free hosted promos when they appear, or pay low per-token rates for efficient MoE models. Route cheap work to open models and save frontier models for the hardest steps.

More Inspectable

Download weights, run reproducible tests, audit release notes, compare provider behavior, and pin deployments when you need predictable model behavior.

How to Run Open-Source Coding Models (Local, Hosted, BYOK)

Three ways to use open-weight coding models: locally on hardware you control, hosted in Kilo Code, or through your own provider keys.

1

Run Locally

Install Ollama, LM Studio, vLLM, or another OpenAI-compatible runtime. Download a featured model such as GLM 5.2, MiniMax M3, and Kimi K2.7 Code, then connect it to Kilo Code. Your code and prompts stay on hardware you control.

Local setup guide โ†’
2

Use Hosted in Kilo

Access 500+ models through Kilo Codeโ€™s hosted service, including featured open-weight options like GLM 5.2, MiniMax M3, Kimi K2.7 Code, DeepSeek V4 Pro, and DeepSeek V4 Flash. Pay only for what you use, no markup.

All models โ†’
3

Bring Your Own Keys

Connect your own API keys from providers like OpenRouter, Together AI, Google AI, Arcee, Z.ai, or any compatible direct model provider. Full control, full flexibility.

BYOK guides โ†’

Open Source Never Sleeps

Innovation isnโ€™t limited to Silicon Valley. Open-source AI models come from labs and researchers across the globe, democratizing access to cutting-edge technology.

The featured open model set includes GLM 5.2, MiniMax M3, Kimi K2.7 Code, DeepSeek V4 Pro, DeepSeek V4 Flash, and Qwen3 Coder Next, but the open model movement is global. The Kilo community evaluates models from every corner of the world for performance, transparency, speed, licensing, and cost.

Open-Weight Models Are Becoming Production Coding Agents

Kilo research, Kilo leaderboard usage, Stanford AI Index data, and new Apache-licensed launches point in the same direction: open models are now credible for real coding work.

By the Numbers

According to Stanfordโ€™s 2025 AI Index Report

5.4%performance gap

The gap between top and 10th-ranked models fell from 11.9% to just 5.4% in one year. The frontier is increasingly competitive.

0.7%between #1 and #2

The top two models are now separated by just 0.7%. Chinese open-weight models like DeepSeek and Qwen are competing at the highest level.

Real-World Evidence

From Kilo usage, Kilo research, and recent releases

MiniMax M2.5 and Qwen 3.6 Plus

Recent Kilo leaderboard snapshots show free/open-weight families earning heavy real-world usage across Code, Plan, Ask, Debug, Review, and OpenClaw workflows.

GLM-5.1

GLM-5.1 is the follow-up flagship for longer-running engineering agents. Z.ai describes stronger coding capability, better judgment on ambiguous work, repo generation improvements, terminal-task gains, and sustained iteration over many tool calls.

Kimi K2.6 and DeepSeek V4

MiniMax M3 tops the open-weight SWE-Bench Pro at 59.0% (June 2026), edging past Kimi K2.6โ€™s 58.6% from April. DeepSeek V4-Pro leads all evaluated models on LiveCodeBench (93.5) and Codeforces (3206), including closed frontier APIs.

Trinity Large Thinking

Arceeโ€™s thinking release adds reasoning before answers and improves multi-turn tool use, instruction following, and context coherence for long-running agent loops. The checkpoint is published under Apache 2.0.

The bottom line: treat open-weight models as first-class options. Some are ready for hosted Kilo coding today; others are best used locally or through your own provider while the ecosystem catches up.

Use Open-Source Coding Models Everywhere with Kilo Code

Kilo works where you work. Build solo or with your engineering team.

Use Open-Weight Coding Models in KiloClaw

KiloClaw brings the same model flexibility to managed OpenClaw automations. Pick GLM 5.2, MiniMax M3, Kimi K2.7 Code, DeepSeek V4 Pro, and DeepSeek V4 Flash, or another Kilo-hosted model for workflows that run beyond the IDE.

Route by Workflow

Use GLM 5.2, MiniMax M3, and Kimi K2.7 Code across long-running research, fast routine automations, and reasoning-heavy tasks.

Automate Outside the IDE

Let OpenClaw recipes work across browser tasks, documents, inboxes, calendars, business apps, and recurring research while still choosing the model behind each step.

Keep Model Control

KiloClaw runs on Kilo Gateway, so teams can access 500+ hosted models, compare OSS options, and avoid rebuilding automations around one provider.

Related Model Guides

Use this page for open-source and open-weight coding model rankings. For narrower questions, jump to the focused guide.

Open-Source Coding Models: FAQ

Quick answers to the most common questions about open-source and open-weight coding models in 2026.

What is the best open-source model for coding in 2026?+

GLM-5.1 from Z.ai is the strongest all-around open-source coding model in 2026 for long-horizon agentic engineering. MiniMax M3 (released June 2026) is the first open-weight model to combine frontier coding, 1M context, and native multimodality, and tops the open-weight SWE-Bench Pro at 59.0%. Kimi K2.6 excels at agent swarms and long autonomous runs, DeepSeek V4-Pro leads on LiveCodeBench and 1M-context tasks, and Qwen3-Coder-Next offers the best efficiency per active parameter. All five are available in Kilo Code.

What is the difference between open-source and open-weight coding models?+

Open-source models publish weights, training code, and datasets โ€” you can fully reproduce them. Open-weight models publish the weights so you can download and run the model, but training code and data may be private. Most modern coding LLMs ( GLM-5, Kimi K2.6, DeepSeek V4, Qwen3-Coder) are open-weight under permissive licenses such as Apache 2.0, MIT, or Modified MIT.

Can open-source coding models match Claude or GPT-5?+

Yes, on coding benchmarks the gap is now small. DeepSeek V4-Pro leads all evaluated models on LiveCodeBench (93.5) and Codeforces Rating (3206). MiniMax M3 surpasses GPT-5.5 and Gemini 3.1 Pro on SWE-Bench Pro at 59.0%, and Kimi K2.6 (58.6%) sits just behind. The Stanford AI Index 2025 shows the gap between top and 10th-ranked models fell from 11.9% to 5.4% in one year.

What is the best open-weight coding model I can run locally?+

For consumer hardware (single 24GB GPU), Qwen3.6-27B delivers strong SWE-Bench performance. For a single 80GB H100 or AMD MI300X, DeepSeek V4-Flash (MIT, 1M context) is a standout choice. For server-class hardware, GLM-5, Kimi K2.6, MiniMax M3, and Nemotron 3 Super are all available in Kilo Code and run well via vLLM, SGLang, or other OpenAI-compatible runtimes.

Are open-weight coding models free?+

The weights themselves are free to download under Apache 2.0, MIT, or Modified MIT licenses. You pay only for compute when you self-host. Hosted access through Kilo Code is pay-as-you-go with no markup, and several models (such as MiniMax M2.5) are offered free in Kilo from time to time.

Which open-source coding models work in Kilo Code?+

Kilo Code supports 500+ models including GLM 5.2, MiniMax M3, Kimi K2.7 Code, DeepSeek V4 Pro, DeepSeek V4 Flash, Qwen3 Coder Next, Qwen3.7 Max (50% off), Nemotron 3 Ultra, and Devstral 2 2512, and many others. You can also bring your own keys for OpenRouter, Together AI, Z.ai, or any OpenAI-compatible provider, or run local models through Ollama, LM Studio, vLLM, or SGLang.

Start Using the Best Open-Source Coding Models Today

Install Kilo Code and get instant access to GLM 5.2, MiniMax M3, Kimi K2.7 Code, DeepSeek V4 Pro, and DeepSeek V4 Flash, and 500+ other open and frontier models. Free to start, no credit card required.