Every time a searcher types best open source ai model for coding into Google in September 2026, four repositories tend to end the argument: DeepSeek V4 (MIT), Kimi K2.5 (Modified MIT), GLM-4.6 (MIT), and Qwen3-Coder-Next (Apache 2.0). Each one is downloadable, self-hostable, and permissively licensed for commercial use, and each one covers a different seat in the game-development workflow. This bench weighs the four families on real game tasks - a Phaser 4.2.1 scene, a Three.js render loop, a Godot GDScript signal graph - and stitches the survivors into WizardGenie and Sorceress Code through the BYO-key slots. Every claim below was verified 2026-09-09 against the model cards on Hugging Face, the Sorceress source in src/app/_home-v2/_data/tools.ts and src/app/code/page.tsx, and the Phaser v4.2.1 release notes.
What "open source" actually covers for a 2026 coding model
The phrase open source hides three distinct things in AI, and a coding bench that skips the distinction lands you on a repo you cannot legally ship. First, open weights means the trained model parameters are downloadable - the file that determines what tokens the network emits. Second, open license means those weights ship with a text that permits commercial use, modification, and redistribution. Third, open training means the training data, the pipeline, and the recipe are public - almost no frontier lab publishes all three. In practice, when a 2026 dev asks for the best open source ai model for coding, they mean the union of the first two: weights they can pull to disk under a license their studio's legal team will sign off on.
The four families that satisfy both bars for real coding work in 2026 are DeepSeek V4 (Pro and Flash, MIT), Kimi K2.5 and K2.6 (Modified MIT), GLM-4.6 (MIT), and Qwen3-Coder-Next (Apache 2.0). Each is on Hugging Face today, each has a working license file in the repo root, and each is wired into at least one open runtime (Ollama, vLLM, SGLang, LM Studio, llama.cpp). The rest of this bench compares them on parameters, context, license nuance, and real Phaser and Three.js game tasks - then wires the survivors into the Sorceress CODING_MODELS rotation through the BYO-key surface on Sorceress Code.
The 2026 open-weights coding leaderboard at a glance
Snapshot verified 2026-09-09 against each family's Hugging Face model card. Numbers pulled from the DeepSeek V4 GA architecture blog, the Kimi K2.5 and K2.6 model cards, the zai-org/GLM-4.6 card, and the Qwen/Qwen3-Coder-Next README on the QwenLM GitHub.
| Family | Total / active params | Context | License | Ships on |
|---|---|---|---|---|
| DeepSeek V4-Pro | 1.6T / 49B active MoE | 1M tokens | MIT | vLLM, SGLang, TensorRT-LLM |
| DeepSeek V4-Flash | 284B / 13B active MoE | 1M tokens | MIT | vLLM, SGLang, TensorRT-LLM |
| Kimi K2.5 / K2.6 | 1T / 32B active MoE | 256K tokens | Modified MIT | Hugging Face, INT4 QAT quant |
| GLM-4.6 (Z.ai) | 357B / ~32B active MoE | 200K tokens | MIT | Hugging Face BF16, vLLM |
| Qwen3-Coder-Next | Instruct + Base variants | 256K native | Apache 2.0 | Ollama, LM Studio, llama.cpp, vLLM, SGLang, MLX-LM |
| Qwen3-Coder-30B-A3B | 30B / 3B active MoE | 256K | Apache 2.0 | Runs on a single 24GB consumer GPU |
| Qwen3-Coder-480B-A35B | 480B / 35B active MoE | 256K | Apache 2.0 | 8x H100 or larger cluster |
Seven checkpoints, four families, three permissive licenses. The bench that follows scores each family on the seat it belongs in during a real game-development weekend - planner, executor, or long-context reviewer.
DeepSeek V4 is the best open source ai model for coding as a frontier planner
DeepSeek released V4 in April 2026 as the first frontier-class MoE with fully MIT-licensed weights. Verified 2026-09-09 on the DeepSeek Hugging Face organization: V4-Pro carries 1.6 trillion total parameters with 49 billion activated per token, V4-Flash carries 284 billion total with 13 billion active, both run a 1M-token context window with 384K max output, and both ship checkpoint weights in an FP4+FP8 mixed precision that halves the disk footprint versus the V3.2 predecessor (V4-Flash lands at ~158 GB and V4-Pro at ~862 GB on disk in the instruct build). The MIT license permits commercial use, modification, and redistribution with no patent clauses and no revenue-based attribution triggers - the cleanest legal posture in the frontier tier.
What matters for a game coder: DeepSeek V4-Pro is the planner seat. It sits at the top of open-weight coding benchmarks (top-tier Codeforces and SWE-Bench scores in Q2 2026), it handles cross-file game-scaffold prompts in one pass, and its Non-Think / Think High / Think Max mode selector maps cleanly to the "cheap route, deep bug, architecture review" split every game weekend hits. It is also the model to reach for when the question is best free ai model for coding - the browser chat at chat.deepseek.com defaults to V4-Pro at zero cost, as covered in the Gauge the Best Free AI Model for Coding (Games Bench 2026) companion post. The catch: V4-Pro's 1.6T weights want an 8x H100 cluster or the FP4 quantization tricks documented in the TensorRT-LLM DeepSeek V4 example - not a laptop.
Kimi K2.5 is the long-context open-weights coding model
Moonshot AI released Kimi K2.5 on 2026-01-27 and Kimi K2.6 on 2026-04-21. Both share a 1 trillion total / 32 billion active MoE architecture with a 256K context window, both ship on Hugging Face under a Modified MIT License, and both cover the "long-context planner" seat where DeepSeek's Non-Think mode is too shallow and its Think Max mode is too slow. K2.5 introduced the native Agent Swarm orchestration surface (paid feature on kimi.com but referenced in the open model card); K2.6 is a re-trained sibling with the same architecture and a revised post-training pipeline, currently ranked #1 among open-weight models on Artificial Analysis's Q2 2026 index.
The license nuance matters. The Modified MIT text is standard MIT plus a single clause: if your commercial product or service exceeds 100 million monthly active users OR 20 million USD in monthly revenue, you must prominently display "Kimi K2" on the user interface. For every indie dev, jam entrant, or hobbyist shipping a WizardGenie-authored Phaser game to itch.io, that clause never triggers. Kimi K2.5 is effectively pure MIT for the entire Sorceress audience. Sorceress lists Kimi K2.5 (256K coding, purple accent) as one of the eight CODING_MODELS in the rotation, verified 2026-09-09 at line 772 of src/app/_home-v2/_data/tools.ts - the same model that appears in this bench also appears in the WizardGenie planner picker when you wire an NVIDIA NIM key into the BYO-key slot on Sorceress Code.
GLM-4.6 is the sleeper coding open-weights pick
Z.ai published GLM-4.6 on 2025-09-30 and it remains one of the strongest open-weights coding models in 2026. Verified 2026-09-09 against the zai-org/GLM-4.6 model card: 357 billion total parameters with roughly 32 billion active per token in an MoE architecture, a 200K-token context window (expanded from GLM-4.5's 128K), a 128K max output, an optional "thinking" reasoning mode with tool use, and a knowledge cutoff of March 2025. The full weights sit under a pure MIT license - no attribution clause, no revenue trigger, no commercial-use restriction.
What makes GLM-4.6 the sleeper: Z.ai wired it into Claude Code, Cline, Roo Code, and Kilo Code before most third-party coding agents even shipped Kimi K2.5 support. On real coding benchmarks the model surpasses GLM-4.5 by ~30% token efficiency on equivalent tasks, and Z.ai's public 74-run Claude Code environment test placed it ahead of Claude Sonnet 4 and behind only GPT-5.5-tier closed models. For a game dev, that means GLM-4.6 slots directly into an existing Claude-Code-shaped workflow via a self-hosted vLLM endpoint - no rewrites, no adapters, no vendor lock-in. Pair the model with the WizardGenie planner surface on /wizard-genie/app when the game's whole scaffold has to fit in a single 200K prompt.