The best local LLM for coding is the one that fits the GPU you can rent, so I sort the open coding models by the memory they need and quote what each vendor publishes on its model card. One 48 GB card holds Devstral Small 2 at 25.79 GB. One 80 GB card holds Qwen3.8-27B or gpt-oss-120b. A 2x H200 VM holds Mistral Medium 3.5 at 133.61 GB, and a full 8-GPU VM holds GLM-5.3, DeepSeek V4.1-Flash and Kimi K2.7 Code. I do not rank them, because every card reports its own benchmark with its own harness.
How I grouped the open source coding models
I group by the GPU a model needs because that is the first limit a rented VM puts on you, and inside a group I list the models by size and not by score. People who search for the best open source coding model or the best coding LLM usually want one name, and no card here supports one. Sizes are the summed safetensors files, counted once where the Mistral and gpt-oss repositories hold two copies. The smallest-VM column is calculated as 92% of the VM's memory minus the checkpoint, so it leaves out activations and CUDA graphs. The score column names the benchmark as the card names it, and every score is vendor-reported.
The harnesses differ, so a number in one row says nothing about a number in another. The GLM and MiniMax cards run DeepSWE with mini-SWE-agent, the DeepSeek V4-Flash-0731 card uses DeepSeek's own harness, the Qwen3.8-27B card names Terminus for Terminal Bench 2.1, and the MiniMax-M3 card names Claude Code as the scaffolding for SWE-Bench Verified. Every size, score and license on this page was checked on 12 November 2026.
Best local LLM for coding on one 48 GB card
Three models are small enough for the 48 GB tier as released. Devstral Small 2 is a 24B dense model from Mistral in FP8. MiMo-V2.6-Distill-Qwen-9B is Qwen3.5-9B fine-tuned on MiMo-generated data, which Xiaomi publishes as a starting point for research. gpt-oss-20b is OpenAI's 21B mixture-of-experts model in MXFP4. The FP8 builds of Qwen3.8-27B at 30.87 GB and Qwen3-Coder-30B-A3B at 31.18 GB also fit a 48 GB Ada card, and the next group lists them. FP8 runs natively on the Ada cards in this tier, as the Qwen3-Coder page explains.
| Model | Checkpoint | Smallest VM (calculated) | Coding score on the card (vendor-reported) | License |
|---|---|---|---|---|
| Devstral Small 2 | 25.79 GB FP8 | One 48 GB card, about 18 GB left | SWE Bench Verified 68.0% | Apache 2.0 |
| MiMo-V2.6-Distill-Qwen-9B | 18.82 GB BF16 | One 48 GB card, about 25 GB left | SWE Verified 61.1, averaged over 3 runs | MIT |
| gpt-oss-20b | 13.76 GB MXFP4 | One 48 GB card, about 30 GB left | SWE-Bench Verified 60.7% at high reasoning, in the model card paper | Apache 2.0 |
Coding models for one 80 to 141 GB card
An 80 GB card holds the 27B and 30B models in BF16 and gpt-oss-120b in MXFP4, and the Qwen page and the gpt-oss page carry their commands. The Qwen3-Coder page covers the 30B model, whose card shows its scores only as an image and points to Qwen's blog. An H200 at 141 GB also holds the FP8 build of Qwen3-Coder-Next at 80.38 GB with about 49 GB left, and that model's scores are in the next group.
| Model | Checkpoint | Smallest VM (calculated) | Coding score on the card (vendor-reported) | License |
|---|---|---|---|---|
| Qwen3.8-27B | 55.56 GB BF16. FP8 build 30.87 GB | One 80 GB card, about 18 GB left. FP8 on one 48 GB Ada card, about 13 GB left | Terminal Bench 2.1 (Terminus) 73.0. SWE-bench Pro 61.7 | Apache 2.0 |
| Qwen3-Coder-30B-A3B | 61.07 GB BF16. FP8 build 31.18 GB | One 80 GB card, about 12.5 GB left. FP8 on one 48 GB Ada card, about 13 GB left | Terminal-Bench 31.3. SWE-bench Verified (w/ OpenHands, 500 turns) 51.6. Both from an image on the card | Apache 2.0 |
| gpt-oss-120b | 65.25 GB MXFP4 | One 80 GB card, about 8 GB left | SWE-Bench Verified 62.4% at high reasoning, in the model card paper | Apache 2.0 |
Coding models for 2 to 4 GPUs
Checkpoints of 120 to 360 GB need two to four GPUs, and most rows below fit 2x or 4x H200. The Mistral page has the Medium 3.5 command and the MiMo page the MiMo-V2.6-Flash command, while the DeepSeek page, the GLM page and the MiniMax-M3 page cover V4-Flash, GLM-5.3-Flash and MiniMax-M3.1-Flash. Mistral's offline models page also recommends Mistral Small 4 for local use, and its card has no coding score in the text, only charts. Pick a 2x or 4x H200 offer whose Interconnect column says NVLink, and see the multi-GPU page for how the GPUs share a model.
| Model | Checkpoint | Smallest VM (calculated) | Coding score on the card (vendor-reported) | License |
|---|---|---|---|---|
| Devstral 2 | 128.25 GB FP8 | 2x H200, about 131 GB left. The card's command uses 8 GPUs | SWE Bench Verified 72.2% | Modified MIT, revenue limit |
| Mistral Medium 3.5 | 133.61 GB FP8 | 2x H200, about 126 GB left. The recipe recommends 8x H200 | SWE-Bench Verified 77.6% | Modified MIT, revenue limit |
| Qwen3-Coder-Next | 159.36 GB BF16 | 2x H200, about 100 GB left, or 4x 80 GB, about 135 GB left | SWE-Bench Verified (with SWE-Agent) 70.6, from a chart on the card | Apache 2.0 |
| DeepSeek V4-Flash-0731 | 166.89 GB | 2x H200, about 93 GB left | DeepSWE 54.4. Terminal Bench 2.1 82.7 | MIT |
| MiMo-V2.6-Flash | 177.74 GB | 2x H200, about 82 GB left. The recipe lists 4x H200 | RL card: DeepSWE v1.1 67.9. Terminal Bench 2.1 87.6 | MIT |
| MiniMax-M3.1-Flash | 252.42 GB | 4x H100, about 42 GB left, or 2x B200, about 79 GB left | DeepSWE v1.1 73.7 | MiniMax Community License |
| GLM-5.3-Flash | 328.34 GB FP8 | 4x H200, about 191 GB left, or 8x H100, about 260 GB left | DeepSWE v1.1 63.4. Terminal Bench 2.1 84.3. Both from a chart on the card | MIT |
| Qwen3.8-Flash-Next | 360.00 GB BF16 | 4x H200, about 159 GB left. The recipe's H200 shape is 8x with the FP8 build | DeepSWE 1.1 58.7. SWE-bench Pro 62.5 | Qwen Community License 1.0 |
The Modified MIT License of Devstral 2 and Mistral Medium 3.5 grants no rights to a company whose monthly revenue exceeds 20 million dollars, and the Qwen Community License asks a business that runs a Model as a Service or an AI Work Assistant, which it defines as an independent product made mainly for AI-assisted coding or office work, to get a separate license from Qwen for commercial use, with an exception for internal use. Both matter if you build a coding product, so read the files.
Coding models that need a full 8-GPU VM
These checkpoints run from 510 GB to 1,561 GB, and the frontier models page compares them on one table of GPU memory. The Kimi K3 page covers the largest two and the B300 stock problem, and the frontier models page has the Kimi K2.7 Code command. The GLM, DeepSeek, MiniMax-M3, MiMo and Mistral pages cover their own rows. Anything past 8 GPUs goes through the cluster quote form.
| Model | Checkpoint | Smallest VM (calculated) | Coding score on the card (vendor-reported) | License |
|---|---|---|---|---|
| DeepSeek V4.1-Flash-1017 | 510.30 GB | 8x H200, about 527 GB left. 4x H200 leaves about 9 GB | DeepSWE v1.1 77.0. Terminal-Bench 4.0 42.3 | MIT |
| MiMo-V2.6-Pro | 573.46 GB | 8x H200, about 464 GB left, or 4x B200, about 89 GB left | RL card: DeepSWE v1.1 71.9. Terminal Bench 2.1 89.9 | MIT |
| Kimi K2.7 Code | 595.18 GB INT4 | 8x H200, about 443 GB left | Program Bench 53.6. Kimi Code Bench v2 62.0, an in-house benchmark | Modified MIT |
| GLM-5.3 | 755.63 GB FP8 | 8x H200, about 282 GB left | DeepSWE (v1.1) 66.9. Terminal Bench 2.1 88.2 | GLM-5.3 license |
| MiniMax-M3 | 854.18 GB BF16 | 8x H200, about 184 GB left | SWE-Bench Verified 80.5. SWE-Bench Pro 59.0. Both from a chart on the card | MiniMax Community License |
| Mistral Large 4 | 1,060.55 GB FP8 | 8x B200, about 264 GB left | 48% on the Artificial Analysis Coding Agent Index, as the card reports it | Mistral Ecosystem Open-Weight License |
| Kimi K3 and K3.1-Pro | 1,560.94 and 1,561.29 GB MXFP4 | 8x B300, about 371 GB left | K3 DeepSWE 67.5. K3.1-Pro DeepSWE v1.1 75.5 | Kimi K3 License |
What a local coding agent needs from the server
A local coding agent is a terminal or editor tool that calls a model server you run, and the server has to do two things. It needs tool calling, because the agent reads files and runs commands through tool calls. With vLLM that means --enable-auto-tool-choice and a --tool-call-parser for the model. vLLM's tool calling page lists qwen3_xml for Qwen3-Coder, mistral for the Mistral models, openai for gpt-oss and mimo for MiMo-V2.6, and the model pages above give the flag for each family. It also needs a long context, because the agent keeps files and tool output in it.
The Claude Code guide and the OpenCode guide cover the clients, the server flags and the context settings. DeployGPU's private app links do not accept API keys or Bearer tokens, so a coding tool reaches the server through an SSH tunnel to a plain GPU VM, as the vLLM guide shows.
Memory for a long context
The weights are a fixed cost and the KV cache grows with every token of context, so a card with little left over holds a short session. Calculated from each model's config.json, BF16 cache costs 160 KiB per token for Devstral Small 2, 96 KiB for Qwen3-Coder-30B-A3B, 352 KiB for Devstral 2 and Mistral Medium 3.5, and 22.5 KiB for Mistral Small 4 and MiMo-V2.6-Flash. A 128,000-token session is then about 19.5 GiB for Devstral Small 2, 11.7 GiB for Qwen3-Coder-30B-A3B, 43 GiB for Medium 3.5 and 2.7 GiB for Small 4. The 18 GB that a 48 GB card has left after Devstral Small 2 holds about 112,000 tokens, and an FP8 KV cache halves each figure where the model supports it. The KV cache explainer shows the method, and the engine's startup log has the real number.
Kimi Code and Qwen Code are agents, not models
Kimi Code is Moonshot AI's coding agent. Its page describes an AI coding agent powered by Kimi K3.1 Pro with a CLI, a VS Code extension and a desktop app, sold under paid plans. The CLI is open source under the MIT license, and its provider documentation lists type openai for the OpenAI Chat Completions protocol and compatible services with a base_url you can override, so it can reach a vLLM server through a tunnel. The Kimi weights you can host are in the table above, and Kimi K2.7 Code is the one its card calls coding-focused.
Qwen Code is the Qwen team's open-source coding agent for the terminal, licensed Apache-2.0. Its README says it supports "Any third-party provider or local model (Ollama / vLLM)". Mistral Vibe works the same way, and Mistral's docs say the Vibe Code CLI "supports any model served behind an OpenAI-compatible API".
Frequently asked questions
What is the best local LLM for coding?
No card ranks the open models on a common test, because each vendor reports its own benchmark with its own harness. Pick by the GPU you can rent: Devstral Small 2 fits one 48 GB card, Qwen3.8-27B and gpt-oss-120b fit one 80 GB card, and Mistral Medium 3.5 fits 2x H200.
What is the best open source coding model I can run on one GPU?
On a 48 GB card the candidates are Devstral Small 2, MiMo-V2.6-Distill-Qwen-9B and gpt-oss-20b. On an 80 GB card they are Qwen3.8-27B, Qwen3-Coder-30B-A3B and gpt-oss-120b. Their cards report different benchmarks, so test two or three on your own repository.
What is Kimi Code?
Kimi Code is Moonshot AI's coding agent, with a CLI, a VS Code extension and a desktop app, and it is not a model. Moonshot's page says it is powered by Kimi K3.1 Pro, and its open-source CLI can also use an OpenAI-compatible provider.
What is Qwen Code?
Qwen Code is the Qwen team's open-source coding agent for the terminal, licensed Apache-2.0. Its README says it supports any third-party provider or local model, including Ollama and vLLM.
What does a local coding agent need from the model server?
Tool calling and a long context. With vLLM that means the auto tool choice flag plus a tool call parser for the model, and a context window large enough for the files and tool output the agent keeps.
Can I run these models on a DeployGPU VM?
Yes. DeployGPU rents GPU VMs, and you run vLLM or Ollama on the VM and reach it through an SSH tunnel. DeployGPU does not provide a model endpoint.