Get the latest on AI, LLMs & developer tools
New MCP servers, model updates, and guides like this one — delivered weekly.
If you are choosing an open-weight model to drive a coding agent, benchmark tables will mislead you in one specific way: they measure what a model can do when the harness is perfect. In practice, agents fail at the seams. A reasoning field is dropped between turns, a chat template does not match the one the model was trained on, or a tool call arrives in a format the server does not parse. This article compares the current open-weight families with that in mind, using only what vendors, Hugging Face, pricing pages and one independent leaderboard document. We did not run our own benchmarks or agent sessions.
The line-up changed fast. As of November 28, 2026, the current open-weight models are Kimi K3.1 Pro, DeepSeek V4.1 Flash, GLM-5.3 (plus a cheap MIT Flash variant), Qwen3.8, MiniMax M3.1 Flash and the older gpt-oss pair. Several names you may have seen are gone or not open: GLM-5.4 is announced but has no weights, Qwen4-Max is a closed API, and Devstral 2 was deprecated. We cover the current ones and say plainly what we dropped. For single-model detail, see our posts on Kimi K3.1 Pro and the cheapest AI coding models.
Third-party video by Kai, embedded for context. We did not verify its claims or rankings.
The Short Answer
There is no single best open-weight model for coding agents; there is a best one per constraint. If you want the highest score on the independent index and can pay for it, choose Kimi K3.1 Pro. If you want the lowest price per task, choose DeepSeek V4.1 Flash and schedule heavy runs off-peak. If you want one machine and an Apache-2.0 license, choose Qwen3.8-27B. If your legal team only approves Apache-2.0 or MIT, choose among gpt-oss, Gemma 4, Qwen3.8-27B, DeepSeek and GLM-5.3-Flash.
| If you... | Start with | Why (documented, as of Nov 28, 2026) |
|---|---|---|
| Want the top open-weight index score | Kimi K3.1 Pro | 48.6 on the Coding Agent Index v2.1 snapshot (Kimi Code, max effort); $2.00 in, $10.00 out per million tokens. |
| Want the lowest cost per token | DeepSeek V4.1 Flash | $0.15 in, $0.60 out off-peak, MIT license, cache hits at $0.003 per million. |
| Want a balanced mid-price model | GLM-5.3 | $1.40 in, $4.40 out; 40.1 on the index through OpenCode; MIT Flash sibling for cheap steps. |
| Run agents on one workstation | Qwen3.8 (27B) | Dense 27B, Apache-2.0, 262K native context, vendor-reported Terminal-Bench 2.1 of 73.0. |
| Need cheap multimodal agents and can meet the license | MiniMax M3.1 Flash | $0.15 in, $0.60 out; text, image and video input; commercial use needs notice or authorization. |
| Need the cleanest license on modest hardware | gpt-oss-120b or 20b | Apache-2.0; 80 GB or 16 GB memory; older (August 2025) with 128K context. |
How We Evaluated
We read primary sources on November 28, 2026: Hugging Face model cards and repository metadata (through its public API), the raw LICENSE files, vendor pricing pages and docs for DeepSeek, Moonshot, Z.ai and MiniMax, the Alibaba Cloud price list, GitHub repository metadata and official posts from vendor accounts on X. For leaderboard data we used the Artificial Analysis Coding Agent Index and, where its rows only came through a third-party mirror, we say so. We did not test any model in a harness, so nothing here is a hands-on claim.
- Benchmarks: labelled vendor-reported unless they come from the Artificial Analysis index. Vendors pick their own comparison sets and settings, so scores from different vendors are not directly comparable.
- Prices: list prices per million tokens in US dollars from vendor pages, excluding tax. Where a page did not render we say the figure came from a third party.
- Licenses: read from the LICENSE files and Hugging Face metadata. We summarize them and do not give legal advice.
- Sizes: taken from model cards, with Hugging Face metadata as a cross-check. Two models (DeepSeek V4.1 Flash and MiniMax M3.1 Flash) show conflicting sizes between sources, and we report both.
- What we did not do: measure accuracy, speed or cost on our own tasks, verify third-party video claims, or read the full text of the Kimi K3.1 Pro License.
At a Glance
| Model | Maker | Size (card) | Context | License | API price in/out per 1M |
|---|---|---|---|---|---|
| Moonshot AI | 2.78T total (HF metadata), about 104B active (K3 family card) | 1M | Kimi K3.1 Pro License (custom) | $2.00 / $10.00 | |
| DeepSeek | 552B backbone per card (763B per HF metadata) | 1M | MIT | $0.15 / $0.60 off-peak | |
| Z.ai | About 753B (744B-A40B in system cards) | See note | GLM-5.3 License (custom); Flash is MIT | $1.40 / $4.40 | |
| Alibaba | 27B dense; 2.4T total, 95B active | 262K native, to 1.01M | 27B Apache-2.0; 2.4T Qwen3.8-Max License | $2 / $6 (hosted Max) | |
| MiniMax | 428B total, 23B active per card (220B per HF metadata) | 1M per card | MiniMax Community License (custom) | $0.15 / $0.60 | |
| OpenAI | 117B total, 5.1B active | 128K | Apache-2.0 | Self-host or third-party host | |
| OpenAI | 21B total, 3.6B active | 128K | Apache-2.0 | Self-host or third-party host | |
| E2B to 31B dense, 26B A4B MoE | 256K (medium sizes) | Apache-2.0 | Self-host | ||
| Mistral AI | About 1T total, 52B active | 1M | Modified MIT (MaaS needs separate license) | $0.70 / $2.10 | |
| Meta | 816B total, 42B active (secondary sources) | 1M (secondary) | Muse Model License (custom, gated) | Not found |
Note on GLM-5.3 context: the GLM-5.4 docs list 1M context and 128K output, but we did not read a context figure for GLM-5.3 on a page we could render, so the table does not state one.
The Tool-Calling Contracts That Decide Agent Reliability
Most comparisons skip this part. Every model family expects its reasoning and tool-call messages to be handled in a particular way. If your agent harness or inference server does not follow that contract, quality drops, and no benchmark warns you. The table below lists what each model card says. These are documented requirements, not results of our testing.
| Model | What the card requires or recommends | What breaks if ignored |
|---|---|---|
| Kimi K3.1 Pro | Pass the full assistant message back as returned, including reasoning_content and tool_calls, not only content. | Reasoning context is lost between tool turns. |
| DeepSeek V4.1 Flash | No Jinja chat template. Use the Python encoding folder (encoding.py) for multi-turn conversations and tool calling. | A generic chat template mis-formats tool turns. |
| GLM-5.3 | Reasoning effort is set to low, high or max. | Using the wrong effort level changes cost and quality. |
| Qwen3.8-27B | Thinking is on by default; reasoning_effort tunes depth; preserve_thinking is on by default and keeps reasoning from past messages. | Turning preservation off changes multi-turn behavior; some servers may not support it. |
| MiniMax M3.1 Flash | Serve with SGLang, vLLM or TokenSpeed; five effort levels; DSpark draft head for speculative decoding. | Unsupported servers lose the speed-up and may mishandle formats. |
| gpt-oss | Harmony response format; native function calling with defined schemas. | A chat-only wrapper drops reasoning and tool structure. |
| Gemma 4 | Do not add earlier thoughts back into history; keep only final responses. | Thinking content in history degrades later turns. |
The practical consequence: when you swap models in an agent, treat it like swapping a database driver, not a config string. Check what your harness sends back each turn. For Kimi that is the whole assistant message; for Qwen it is the reasoning preservation flag; for Gemma it is the opposite, stripping thoughts; for DeepSeek it is the encoding. If you use a hosted API the provider usually does this for you, which is a real reason to start there before self-hosting.
1. Kimi K3.1 Pro (Moonshot AI)
![]()
What it is. Moonshot AI's flagship open-weight model and the post-trained successor to Kimi K3. Hugging Face lists the repository (moonshotai/Kimi-K3.1-Pro, created November 2, 2026) at about 2.78 trillion parameters in its metadata, and the Kimi K3 family card describes a mixture-of-experts design with roughly 104B parameters active per token. Moonshot's official X account announced the weights on November 4, 2026. The API context window is 1,048,576 tokens, and OpenRouter describes native image and video understanding.
Who it is for. Teams that want the strongest open-weight score on the coding-agent leaderboard we could read, can pay a premium per token, and may later want the option to move the same weights onto their own cluster. Also people who already use Kimi Code or a Kimi membership.
Key features.
- Flat per-token pricing across the whole context window, with no long-context price tier (Kimi's pricing page).
- A Highspeed variant (kimi-k3.1-pro-highspeed) that doubles the regular input, output and cache-write rates for faster output.
- Kimi Code, Moonshot's own coding agent, included from the Plus membership upward.
- Vendor-reported benchmark figures on the model card: Terminal-Bench 4.0 at 65.7 and DeepSWE at 75.5. Both come from Moonshot, not an independent lab.
- A strict multi-turn contract: the card says the complete assistant message returned by the API, including reasoning_content and tool_calls, must be passed back as-is.
Pros
- Highest open-weight Coding Agent Index score among the rows we could read: 48.6 for Kimi K3.1 Pro run through Kimi Code at max reasoning (Artificial Analysis index v2.1, snapshot of November 26, 2026, relayed by a third-party mirror).
- API price is one third lower than Kimi K3 on every rate ($2.00 in, $10.00 out versus $3.00 and $15.00), per Kimi's own page.
- Cached input at $0.20 per million tokens makes long agent loops cheaper than the headline rate suggests.
- OpenRouter's table lists Moonshot AI as a provider at the same rates, so you can reach it without a Kimi account.
Cons
- Size. At 2.78 trillion parameters, even a 4-bit copy is well over a terabyte (our arithmetic: 2.78e12 parameters at half a byte each is about 1.4 TB), so self-hosting means a multi-node cluster.
- The license is a custom one named Kimi K3.1 Pro License on Hugging Face. We did not read its full text. The earlier Kimi K3 license puts a threshold on large model-as-a-service operators, so read the current text before you build a hosted product.
- The preserved-thinking rule is easy to break with a harness that rebuilds the message list from content alone.
- Per-task cost on the Artificial Analysis harness runs was reported at about $2.94 for Kimi, against about $0.32 for DeepSeek V4.1 Flash (figures relayed by airealist.com on November 19, 2026, not read on the live page).
Benefits for a coding-agent setup. If your harness already handles reasoning content correctly, K3.1 Pro is the model to try first when a task fails on cheaper open weights. You pay about 13 times the DeepSeek Flash off-peak input rate, but you get the best leaderboard score and a 1M window, and the open weights remove the lock-in worry.
Pricing (as of Nov 28, 2026). API: kimi-k3.1-pro is $2.00 input, $10.00 output and $0.20 cached input per million tokens, with 5-minute cache writes at $2.00 and 1-hour writes at $4.00. kimi-k3.1-pro-highspeed is $4.00 input, $20.00 output, $0.20 cached, $4.00 and $8.00 for cache writes. Kimi's page says rates were checked on October 24, 2026, and OpenRouter's Moonshot AI row showed the same numbers. Kimi K3 remains listed at $3.00, $15.00 and $0.30. Memberships (annual billing, effective monthly price): Free $0, Plus $15, Pro $31, Max $79, Ultra $159.
Free tier or trial. The Free membership gives limited K3.1 Pro usage on Kimi's web app and Kimi Work, but not Kimi Code. API access is pay-as-you-go. We did not find a free API tier.
Limits. Membership tiers differ in agent credits (Basic, More, 2x, 5x, 10x), concurrent agent tasks (1 to 4) and swarm subtasks (2 to 8). Highspeed is included from Pro. OpenRouter's table showed about 26 tokens per second for the standard endpoint and 66 for Highspeed in the snapshot we read.
Standout use case. Long-horizon repository work where you want the best open-weight result and can afford the tokens, with a cheaper model handling the routine steps.
Skip it if you need a single-node deployment, an OSI-approved license, or the lowest possible cost per task.

Releasing the model weights of Kimi K3.1 Pro. We'll keep advancing open intelligence.
— @Kimi_Moonshot November 4, 2026
More on this model in our Kimi K3.1 Pro guide and Kimi K3 overview.
2. DeepSeek V4.1 Flash (DeepSeek)
![]()
What it is. DeepSeek's Flash line, current as DeepSeek-V4.1-Flash-1017 (Hugging Face repo created October 17, 2026, the same day DeepSeek's X account announced it). The card describes a 552B-parameter backbone with 8B active parameters in prefill and 16B in decode and a 1M-token context. Hugging Face's own metadata sums the checkpoint at about 763B parameters, and we could not reconcile the two figures, so treat the size as roughly 550B to 760B depending on what you count. The API alias is deepseek-flash. The larger DeepSeek-V4-Pro (1.6T total, 49B active, MIT, April 22, 2026) is the heavier sibling.
Who it is for. Anyone running many agent turns where price per token dominates: background coding agents, bulk refactors, CI-triggered fixes and test generation. Also teams that need a permissive license.
Key features.
- MIT license on both V4.1-Flash and V4-Pro, the most permissive terms among the large Chinese open-weight releases we checked.
- Off-peak and peak pricing windows on the API, with very low cache-hit rates.
- A tweet from DeepSeek says the release is optimized for the DeepSeek Harness and Tencent CodeBuddy.
- No Jinja chat template. The card points to an encoding folder with a Python reference implementation and tests for multi-turn conversations and tool calling.
- Vendor-reported figures on the card: Terminal-Bench 2.1 at 90.6, DeepSWE at 74.2, Terminal-Bench 4.0 at 31.2 and NL2Repo at 64.0, in a table that also lists Kimi K3, GLM-5.3 and V4-Pro. DeepSeek chose the comparison set.
Pros
- Lowest cost in this comparison by a wide margin: $0.15 input and $0.60 output off-peak, $0.30 and $1.20 at peak, per million tokens.
- Cache hits cost $0.003 per million off-peak and $0.006 at peak, which is close to free for agent loops that resend a long prefix.
- MIT means you can fine-tune, host and resell without a revenue clause.
- Third-party runs on the Artificial Analysis harness put it near $0.32 per task (airealist.com, November 19, 2026), the cheapest figure we saw.
- Downloads are high (about 553,000 on the Hugging Face repo when we checked), so serving recipes exist.
Cons
- Lower on the independent index than Kimi: 36.8 for DeepSeek V4.1 Flash 1017 in the DeepSeek Harness at max reasoning versus 48.6 for Kimi K3.1 Pro (Artificial Analysis v2.1 snapshot, November 26, 2026, via a mirror).
- Peak-hour pricing doubles the rate. Peak windows are 01:00 to 04:00 and 06:00 to 10:00 UTC, Monday to Friday, so a pipeline that runs in European and Asian mornings pays double unless you schedule it.
- The custom encoding means your serving stack must implement DeepSeek's format correctly. A generic chat template will quietly degrade tool calls.
- Terminal-Bench 4.0 at 31.2 in DeepSeek's own table is far below the same table's Terminal-Bench 2.1 score of 90.6, which shows how much the newer benchmark version moved the bar.
Benefits for a coding-agent setup. For high-volume agents this is the default choice on price. Pair it with a stronger model as a fallback for the steps it fails, and keep the encoding code from the repo in your serving path.
Pricing (as of Nov 28, 2026). API deepseek-flash: $0.15 input (cache miss), $0.60 output off-peak; $0.30 and $1.20 at peak; cache hits $0.003 off-peak and $0.006 at peak. DeepSeek-V4-Pro-0813 is $0.66 input and $1.98 output off-peak, $1.32 and $3.96 at peak. Read from DeepSeek's pricing page on November 28, 2026.
Free tier or trial. Weights are free to download under MIT. We did not find a free hosted API allowance on the pricing page.
Limits. 1M-token context. Peak and off-peak windows as above. Self-hosting a 550B to 760B parameter checkpoint still needs a multi-GPU node.
Standout use case. Overnight batch work: dependency upgrades, test generation and lint fixes across many repositories, scheduled in the off-peak window.
Skip it if you need the highest first-attempt success on hard, long tasks, or your serving stack cannot use DeepSeek's custom encoding.

DeepSeek-V4.1-Flash-1017 is here! Stronger benchmark performance, faster task completion, and shorter outputs than the previous version, a Pareto improvement in performance and cost. Now live on our website, app, and API.
— @deepseek_ai October 17, 2026
For the earlier generation and its history, see our DeepSeek V3.2 guide.
3. GLM-5.3 (Z.ai)
![]()
What it is. Z.ai's GLM-5.3, released as an API model on August 14, 2026 and as open weights on August 28 (Z.ai's X account announced it as its most capable model for agentic coding and cyber defense). The Hugging Face repo (zai-org/GLM-5.3, created August 25) lists about 753B parameters. A smaller GLM-5.3-Flash (about 321B, MIT) sits beside it. Z.ai's newest flagship, GLM-5.4 (a roughly 750B Loop Transformer, blog dated November 23, 2026), is not open: it is on the Coding Plan only, the API is waiting on a security assessment, and the open weights are promised after safety hardening with no date. Z.ai had not published benchmark scores for it when we checked.
Who it is for. Developers who want a mid-priced, strong coding model, people who like Z.ai's Coding Plan, and teams that want the MIT-licensed Flash variant for cheap local work.
Key features.
- Three effort levels (low, high, max) on GLM-5.3 per its card.
- A tiered family: GLM-5.3, GLM-5.3-FlashX and GLM-5.3-Flash at very different prices.
- A Coding Plan that supports GLM-5.4, GLM-5.3 and GLM-5.3-Flash, with a 5-hour usage limit and a weekly limit.
- Vendor-reported scores: Terminal-Bench 2.1 at 88.2, DeepSWE at 66.9 and Toolathlon at 73.0 on the Hugging Face card.
Pros
- Flash is MIT-licensed and the most downloaded model in this comparison: about 6.05 million Hugging Face downloads when we checked, ahead of Qwen3.8-27B (about 5.75 million), so tooling and quants are everywhere.
- API list price of $1.40 input and $4.40 output is roughly half of Kimi K3.1 Pro's output price, with cached input at $0.26.
- GLM-5.3 run through OpenCode at max reasoning scored 40.1 on the Coding Agent Index snapshot, and GLM-5.3 Flash through Claude Code scored 38.9, so even the small model is close to DeepSeek Flash.
- From November 24 to December 24, 2026, Z.ai charges GLM-5.3-Flash at 50 percent of the normal quota consumption on the Coding Plan.
Cons
- GLM-5.3 uses a custom license (GLM-5.3 License on Hugging Face), not MIT. The text we read says model-as-a-service providers above $10 billion in revenue must pass a Z.ai security review. Most teams will never hit it, but read it.
- The Coding Plan is limited by Z.ai to officially supported tools. The FAQ says calls from supported tools use the plan quota and that API calls outside the plan are not available, so the plan will not power an arbitrary harness.
- Cost per task on the Artificial Analysis harness was about $5.41 for GLM-5.3 through OpenCode (airealist.com, November 19), the highest of the models with a figure.
- GLM-5.4 is the model Z.ai is promoting now, and it is closed for the moment. Anything you read about GLM-5.4 benchmarks is not about open weights.
Benefits for a coding-agent setup. GLM-5.3-Flash gives you an MIT-licensed model you can run on your own hardware, and the full model gives you a second opinion with a different training lineage than Qwen and DeepSeek. Z.ai's two-tier pricing lets one agent use Flash for routine steps and GLM-5.3 for planning.
Pricing (as of Nov 28, 2026). API per million tokens: GLM-5.3 $1.40 input, $0.26 cached, $4.40 output. GLM-5.3-FlashX $0.37, $0.075, $1.25. GLM-5.3-Flash $0.15, $0.03, $0.50. Cached input storage is listed as limited-time free. Source: docs.z.ai pricing, read November 28, 2026. GLM Coding Plan: Lite, Pro and Max tiers; we did not capture the plan prices, so check z.ai/subscribe.
Free tier or trial. Weights are free (MIT for Flash, GLM-5.3 License for the large model). No free API tier was visible on the pricing page.
Limits. Coding Plan quota refreshes every 5 hours and has weekly limits. The plan is restricted to supported tools. Z.ai's docs list GLM-5.4 at 1M context with 128K output, but it is not an open-weight option today.
Standout use case. A two-model setup: Flash for edits and tests, GLM-5.3 for planning and review, all from one vendor.
Skip it if you need an unrestricted open license on the full-size model, or you want to use a Coding Plan inside a custom harness.

GLM-5.3 is now open-weight. Our most capable model for agentic coding and cyber defense is now available to download, run, and customize.
— @Zai_org August 28, 2026
For the small variant, read our GLM-5.3 Flash guide.
4. Qwen3.8 (Alibaba)
![]()
What it is. Alibaba's Qwen3.8 family. Two open checkpoints matter here: Qwen/Qwen3.8-2.4T-A95B (about 2.4 trillion parameters, 95B active, 512 experts, 262K native context extendable to about 1.01M; Hugging Face repo created August 8, 2026) and Qwen/Qwen3.8-27B (a dense, natively multimodal model, Apache-2.0, about 5.75 million downloads). A Qwen3.8-Flash-Next checkpoint (about 180B) uses a separate community license. The hosted Qwen3.8-Max sits on Alibaba Cloud. Qwen4-Max launched on November 16, 2026 as a closed API with no open weights yet.
Who it is for. People who want a capable model that fits one workstation (the 27B), teams that want a Western-licensable Apache-2.0 option from a Chinese lab, and anyone who runs agents locally.
Key features.
- Thinking mode on by default and switchable per request, a reasoning_effort control, and preserve_thinking enabled by default, which keeps reasoning from earlier messages in context (Qwen3.8-27B card).
- 262K native context on the 27B, extendable to 1M per Qwen's X post.
- Vendor-reported scores for the 27B: Terminal-Bench 2.1 at 73.0 and SWE-bench Pro at 61.7. Qwen's materials also cite a first place among models under 32B on Terminal-Bench 4.0 from Artificial Analysis, which we did not re-check on the live board.
- The 2.4T model card's benchmark table is for hosted Qwen3.8-Max: Terminal-Bench 2.1 at 86.6, SWE-bench Pro at 67.7, DeepSWE 1.1 at 56.6 and Toolathlon at 72.5. We could not confirm that the downloadable checkpoint is identical to the hosted one.
Pros
- The 27B is the only model here that is both Apache-2.0 and small enough for a 48 GB Mac or a single large GPU. Creators on YouTube show it running that way, which we have not reproduced.
- Huge community: millions of downloads of the 27B, so quants, serving recipes and agent harness templates are easy to find.
- Hosted Qwen3.8-Max is priced at $2 input and $6 output per million tokens on the international endpoint, with cache at $0.25, cheaper than Kimi on output.
- Preserve-thinking by default reduces the chance of the multi-turn bug that bites several other families.
Cons
- The 2.4T checkpoint carries a custom Qwen3.8-Max License. Per the license file we read, offering it as a model-as-a-service product above $50 million over twelve months needs a separate license, and large consumer products must display the Qwen name. Few teams are affected, but it is not Apache.
- Hosted Qwen3.8-Max scored 32.7 on the Coding Agent Index snapshot, below the top open rows, and that is the hosted model, not the 27B.
- The 27B's 73.0 on Terminal-Bench 2.1 is below the 86.6 to 90.6 range that the larger models report, so expect to hand it smaller tasks.
- Qwen4-Max is already out as a closed model, which suggests the open Qwen3.8 line may not be the lab's newest.
Benefits for a coding-agent setup. Qwen3.8-27B is the practical local-agent pick: permissive license, one machine, and a reasoning contract that is friendly to harnesses. Use the big checkpoint only if you have a cluster and a reason.
Pricing (as of Nov 28, 2026). Weights: Qwen3.8-27B is Apache-2.0 and free. Qwen3.8-2.4T-A95B is free to download under the Qwen3.8-Max License. Hosted API (international): qwen3.8-max at $2 input and $6 output per million tokens, cached input $0.25, as read from the Alibaba Cloud price list; Qwen4-Max was listed at $1.50 and $4.50 by a third-party price list, which we could not confirm on Alibaba's own page.
Free tier or trial. Free weights. We found no first-party free API tier.
Limits. 262K native context on the 27B, about 1.01M for the 2.4T with extension. Local use is bounded by your memory: the 27B in 16-bit is about 56 GB of weights (our arithmetic), so most people run quantized versions.
Standout use case. A local coding agent on a developer laptop or workstation, with the same family available hosted for harder jobs.
Skip it if you need the strongest independent leaderboard score, or you plan to run the 2.4T checkpoint without a cluster.
We promised open weights for Qwen3.8. Now, time to meet them! Qwen3.8-27B: a native multimodal dense model. With just 27B parameters, it outperforms Qwen3.7-Plus overall and shines in real-world coding & office workflows. 262K native context, easily extendable to 1M
— @Alibaba_Qwen August 14, 2026
Third-party video by AICodeKing showing Qwen3.8-27B with Hermes on a local Mac. Not our test, and we did not verify its conclusions.
5. MiniMax M3.1 Flash (MiniMax)
![]()
What it is. MiniMax's M3.1 Flash (Hugging Face repo created October 17, 2026; MiniMax's X account announced public weights on October 23). The model card describes about 428B total parameters with 23B active per token, a 1M-token context and text, image and video input. Hugging Face's metadata and NVIDIA's page both show about 220 billion parameters, and we could not reconcile that with the card, so quote the size with care. MiniMax M3 (June 2, 2026, same architecture family) is the earlier checkpoint.
Who it is for. Cost-sensitive teams that want a very cheap API and open weights, and agent builders who value fast inference. Also anyone searching for the successor to the M2 line.
Key features.
- Sparse attention throughout, quantization-aware training and DSpark speculative decoding, with a draft head shipped in the repo.
- Five reasoning-effort levels (low, medium, high, xhigh, max) set through reasoning_effort in the chat template, per the card.
- Recommended serving through SGLang, vLLM and TokenSpeed.
- MiniMax's X post and card report 73.7 percent on DeepSWE v1.1, 61.7 on OSWorld V2, 76.2 on BankerToolBench, 29.6 on Agents' Last Exam and 82.2 on CyberGym. All are vendor-reported.
Pros
- API price of $0.15 input, $0.60 output and $0.015 cached per million tokens is the same input and output rate as DeepSeek Flash off-peak, with no peak surcharge on the page we read.
- Vendor DeepSWE 1.1 of 73.7 percent is close to DeepSeek's 74.2, though the two vendors ran their own setups and the scores are not directly comparable.
- Multimodal input (video included) is useful for computer-use style agents.
- Larger M3 stays available at $0.30 input and $1.20 output up to 512K tokens after a permanent 50 percent discount from $0.60 and $2.40.
Cons
- The MiniMax Community License is free only for non-commercial use. Commercial use requires a visible Built with MiniMax M3.1-Flash notice, and products earning over $20 million a year need prior written authorization. Commercial use also covers offering APIs and deploying fine-tuned derivatives for commercial purposes. It is the most restrictive license of the main six.
- The license appendix bans military uses.
- The conflicting size figures (428B on the card, about 220B in metadata) make capacity planning harder.
- We did not find a MiniMax row on the Coding Agent Index snapshot we read, so there is no independent score here.
Benefits for a coding-agent setup. If your product is internal and your revenue is below the threshold, M3.1 Flash gives you a very low-cost API and a self-hostable model with multimodal input. If you sell a commercial service, talk to MiniMax first.
Pricing (as of Nov 28, 2026). API per million tokens (platform.minimax.io pricing, read November 28, 2026): MiniMax-M3.1-Flash $0.15 input, $0.60 output, $0.015 cached. MiniMax-M3 up to 512K input tokens $0.30 input, $1.20 output, $0.06 cached after the 50 percent discount; above 512K, $0.60, $2.40 and $0.12.
Free tier or trial. Weights are free for non-commercial use. No free API tier was visible.
Limits. 1M-token context on the card. Commercial licensing conditions as above. Our notes from MiniMax's pages say the older M2.5 and M2.7 API models were retired on November 18, 2026; we did not re-confirm that on a live page, so check before relying on it.
Standout use case. Cheap, fast internal agents and computer-use experiments where the license threshold does not matter.
Skip it if you plan a commercial product above the revenue threshold, or you need clean Apache or MIT terms.

MiniMax M3.1 Flash weights are now public. 428B parameters total, 23B activated per token.
— @MiniMax_AI October 23, 2026
6. gpt-oss-120b (OpenAI)
![]()
What it is. OpenAI's open-weight pair from August 2025: gpt-oss-120b (about 117B parameters, 5.1B active, fits an 80 GB GPU) and gpt-oss-20b (about 21B parameters, 3.6B active, 16 GB). Both are Apache-2.0 and use OpenAI's harmony response format. The Hugging Face repos were created on August 4, 2025, and we found no newer open-weight OpenAI model as of November 28, 2026.
Who it is for. Teams that need a clean Apache-2.0 model from a US vendor, run on modest hardware and want native function calling with a long track record in serving stacks.
Key features.
- Native function calling with defined schemas, web browsing and Python execution tools per the model card.
- 128K context.
- Apache-2.0 with no usage threshold.
- Huge adoption: about 2.24 million Hugging Face downloads for the 120b and about 5.13 million for the 20b.
Pros
- Truly permissive license, and the same terms for both sizes.
- Small active parameter counts, so throughput on a single GPU is good.
- Mature support in vLLM, SGLang, Ollama and similar servers, built over more than a year.
- Predictable behavior: it has been tested in agent harnesses for longer than any other model on this page.
Cons
- It is more than a year old and is not in the newer vendor comparison tables. We found no independent Coding Agent Index row for it, and we found no OpenAI-published agentic coding table that is comparable with Terminal-Bench 2.1 or DeepSWE numbers from the newer models.
- 128K context is a fraction of the 1M windows on Kimi, DeepSeek, GLM-5.4 and MiniMax.
- The harmony format needs correct handling. A harness that treats it as a generic chat model can lose reasoning or tool structure.
- No successor is announced on any page we found, so do not plan on updates.
Benefits for a coding-agent setup. It is the safest legal and operational choice if you cannot take a custom license, and the 20b is a useful local worker for small edits. Treat it as a floor rather than a frontier option.
Pricing (as of Nov 28, 2026). Weights are free. OpenAI does not list a first-party API price for the open weights that we found, so cost depends on the host you pick (several inference providers list per-token rates, which change often). Self-hosting needs about 80 GB of GPU memory for the 120b and 16 GB for the 20b per the model cards.
Free tier or trial. Free to download and run under Apache-2.0.
Limits. 128K context. Harmony format required. Older training data than the 2026 models.
Standout use case. Regulated or procurement-sensitive environments where only Apache-2.0 or MIT licenses are approved.
Skip it if you need 2026-level agentic coding scores, or a context window above 128K.
Other Alternatives Worth Considering
Four more open-weight options belong in the conversation, with shorter write-ups. We also considered and dropped several names, listed after them.
7. gpt-oss-20b
![]()
What it is. The 21B-parameter sibling of gpt-oss-120b (3.6B active, 16 GB memory, Apache-2.0, harmony format, created August 4, 2025).
Who it is for. Developers who want a local model for small, well-scoped edits, or a cheap sub-agent that only has to call a few tools.
Key features.
- Native function calling and tool use per the model card.
- About 5.13 million Hugging Face downloads when we checked, higher than the 120b.
Pros
- Runs on a 16 GB machine, and the license has no strings.
- Fast, because only 3.6B parameters are active.
Cons
- Small models fail more often on long multi-file tasks, and we have no independent score for it.
- 128K context, and older than every other model here.
Benefits for a coding-agent setup. A zero-cost, zero-network sub-agent for formatting, commit messages, small edits and tool routing.
Pricing (as of Nov 28, 2026). Free weights. No first-party API price found.
Free tier or trial. Free under Apache-2.0.
Limits. 128K context and 16 GB memory per the card.
Standout use case. An offline coding helper on a laptop.
Skip it if you need to resolve cross-repo bugs or run multi-hour agent sessions.
8. Gemma 4 (Google)
![]()
What it is. Google's Gemma 4 family under Apache-2.0, in sizes from E2B and E4B up to a 12B, a 26B A4B mixture-of-experts and a 31B dense model. The google/gemma-4-31B-it repo shows about 5.12 million downloads, and the card lists native function calling.
Who it is for. Local and edge users who want small, permissively licensed models with native tool use and multimodal input.
Key features.
- Native function calling for structured tool use on the model card.
- Interleaved multimodal input, with variable image resolution through a token budget.
- A multi-turn rule: do not add earlier thinking content back into the history.
Pros
- Apache-2.0 across the family, with sizes for phones, laptops and single GPUs.
- Wide ecosystem support from Google and the community.
Cons
- We found no Coding Agent Index row and no vendor agentic coding table that is comparable with the larger models here.
- The thinking-in-history rule means a harness built for another family can degrade it.
Benefits for a coding-agent setup. A good second local option if Qwen3.8-27B is too large, or if you need a multimodal helper.
Pricing (as of Nov 28, 2026). Free weights under Apache-2.0. No first-party per-token price was checked for this article.
Free tier or trial. Free to download.
Limits. The medium models list a 256K window in the notes we took from the card.
Standout use case. On-device assistants and small local sub-agents.
Skip it if you need a model that has a published, comparable score on long agentic coding tasks.
9. Mistral Large 4 (Mistral AI)
![]()
What it is. Mistral Large 4 (mistralai/Mistral-Large-4-1T-A52B, repo created September 30, 2026): a roughly 1 trillion parameter multimodal mixture-of-experts with about 49B active parameters (52B including embeddings), 128 routed experts with 4 active, and a 1M-token context.
Who it is for. European and regulated users who want a Mistral model, and teams that already run Mistral Vibe.
Key features.
- Instruct and reasoning modes in one set of weights, with function calls and three reasoning efforts (low, medium, high).
- A DSpark speculative decoding draft head in the checkpoint, and an NVFP4 variant for Blackwell GPUs.
- A license the card calls a modified version of MIT: free for commercial and non-commercial use, but operating a model-as-a-service business needs a separate commercial license.
Pros
- Scored 40.6 on the Coding Agent Index snapshot (Mistral Vibe, high effort), second among the open rows we read, with a cost per task of about $1.34 reported by airealist.com.
- API price of $0.70 input and $2.10 output per million tokens (from the notes we took on Mistral's page).
Cons
- Modified-MIT license with a model-as-a-service restriction, and at 1 trillion parameters it is a cluster-scale model. Downloads were about 24,100 when we checked, low compared with the leaders.
- Devstral 2 and Medium 3.5 were deprecated on Mistral's platform, so older tutorials point at models that are gone.
Benefits for a coding-agent setup. A strong second-tier choice with competitive cost per task and a clear product path for European teams.
Pricing (as of Nov 28, 2026). API: $0.70 input and $2.10 output per million tokens, as noted on November 28, 2026 from Mistral's documentation. Weights are free under the Mistral Ecosystem Open-Weight License.
Free tier or trial. Free weights, subject to the license.
Limits. 1M-token context. Cluster-scale hardware for self-hosting.
Standout use case. Teams that want an EU vendor with a Vibe agent and open weights.
Skip it if you want plain MIT or Apache terms, or single-node hosting.
10. Muse Spark Open (Meta)
![]()
What it is. Meta's Muse Spark Open (meta-models/Muse-Spark-Open-816B-A42B, Hugging Face repo created September 15, 2026): about 816B parameters and 42B active per secondary sources (the Hugging Face API lists about 822B in the checkpoint files), with a 1M-token context. The repo is gated with manual approval, and its model card returned an access error for us, so the details below come from secondary sources and we mark them as such. Meta's hosted Muse Spark models are separate, and are covered in our Muse Spark 1.3 guide.
Who it is for. Teams already inside Meta's ecosystem who accept a custom license and want to experiment with a new Meta open-weight release.
Key features.
- Open weights under the Muse Model License (the license name is on the Hugging Face metadata), which per secondary sources includes a $20 million model-as-a-service threshold and a Built with attribution rule. It is not an OSI-approved open-source license.
- A Coding Agent Index entry of 26.3 for Muse Code, and Terminal-Bench 4.0 at 8.1 on an Artificial Analysis run, both relayed by third parties.
Pros
- A new, large Meta open-weight release, so it is worth watching.
Cons
- The lowest independent score of the open models we could find, and the gated repo makes it harder to evaluate.
- Custom license with attribution and a revenue threshold.
Benefits for a coding-agent setup. Mostly informational: it shows that Meta moved from Llama to the Muse family, and it is a model to re-check after more evaluations arrive.
Pricing (as of Nov 28, 2026). Free weights, gated. We did not find a first-party API price for the open checkpoint.
Free tier or trial. Free after license acceptance.
Limits. Gated access and a 1M-token context per secondary sources.
Standout use case. Research and evaluation rather than production agents today.
Skip it if you need a proven coding-agent result or permissive terms.
Our broader coverage of Meta's hosted models is in the Muse Spark 1.3 guide.
Considered and dropped
- GLM-5.4: announced in a blog dated November 23, 2026 with a Loop Transformer design, but available only on the Coding Plan, ZCode and Z.ai Chat. No weights and no API date, so it is not an open-weight option yet.
- Qwen4-Max: launched November 16, 2026 as a closed API, with no open weights that we found.
- Devstral 2 and Mistral Medium 3.5: deprecated on Mistral's platform according to its notes; Mistral Large 4 is the current Mistral entry.
- MiniMax M2.x: our notes say M2.5 and M2.7 were retired on the API on November 18, 2026; M3 and M3.1 Flash are the current line.
- Llama 4: the Maverick repository on Hugging Face is dated April 2025 with a custom license, and Meta's newer open release is Muse Spark Open (repo created September 2026).
- Qwen3-Coder and older coder lines: superseded by the Qwen3.8 family in the sources we read.
The Head-to-Head Matchups
Kimi K3.1 Pro vs DeepSeek V4.1 Flash
This is the quality-versus-cost trade in its purest form. Kimi scored 48.6 on the independent index and DeepSeek 36.8, a gap of about 12 points on the same leaderboard snapshot. Kimi's list price is roughly 13 times DeepSeek's off-peak input rate and about 17 times its output rate ($10.00 against $0.60). The third-party per-task cost figures ($2.94 against $0.32) put the gap near nine times. If your tasks mostly succeed on DeepSeek, it wins on economics. If they fail often and need retries, the cheaper model can end up costing more in human time.
GLM-5.3 vs Kimi K3.1 Pro
Both are vendor-reported leaders on Terminal-Bench 2.1 (GLM-5.3 at 88.2, Kimi K3 at 88.3 in DeepSeek's comparison table), but Kimi K3.1 Pro leads on the independent index (48.6 against 40.1), and GLM-5.3 costs less per token ($4.40 output against $10.00). GLM's per-task cost in the figures we saw was higher ($5.41 through OpenCode), which shows that cheap tokens do not guarantee cheap tasks when a model uses many more of them. A YouTube comparison of the two is embedded below as a third-party view.
Third-party video by Data Science in your pocket, comparing GLM 5.3 and the earlier Kimi K3. We did not verify its claims.
gpt-oss vs Qwen
Both are Apache-2.0 at the sizes most people can run (gpt-oss-120b and 20b, Qwen3.8-27B). The Qwen model is newer by a year, has 262K native context against 128K, and reports Terminal-Bench 2.1 of 73.0 and SWE-bench Pro of 61.7 in its own materials. gpt-oss has the longer serving track record and smaller memory footprints (the 20b needs 16 GB). No independent index row ranks the two together, so the honest summary is that Qwen is the likelier quality winner and gpt-oss is the likelier compatibility winner. Test both on your repository.
MiniMax M3.1 Flash vs GLM-5.3 Flash (the current form of MiniMax M2 vs GLM)
Both list $0.15 per million input tokens. MiniMax charges $0.60 output and $0.015 for cached input, while GLM-5.3-Flash charges $0.50 output and $0.03 cached. GLM-5.3-Flash is MIT-licensed; MiniMax's license makes commercial use conditional. GLM-5.3 Flash through Claude Code scored 38.9 on the index; we found no index row for MiniMax. MiniMax's advantage is video input and a claimed speed-up from speculative decoding, and GLM's advantage is a clean license and a larger independent track record.
Qwen vs DeepSeek
DeepSeek V4.1 Flash is much cheaper to call, and its MIT license is simpler. Qwen3.8-27B is far smaller, so it can run on hardware you already own. The two are rarely substitutes: use DeepSeek through an API for volume and Qwen locally when code must not leave the machine.
Leaderboard Snapshot: Coding Agent Index
Artificial Analysis publishes a Coding Agent Index and runs each model through several agent harnesses at maximum reasoning effort. The rows below come from a third-party mirror (atlas.village.dev) of the index version 2.1 snapshot dated November 26, 2026, plus cost-per-task numbers relayed by airealist.com on November 19, 2026. We read the live Artificial Analysis page too, but its current FAQ describes the index as an average of FrontierCode-AA 2.0, Terminal-Bench 4.1 and SWE-Atlas-QnA-AA, so exact numbers may differ from v2.1. Treat these as indicative.
| Model (harness, max effort) | Index score | Cost per task (relayed) | Open license type |
|---|---|---|---|
| Kimi K3.1 Pro (Kimi Code) | 48.6 | $2.94 | Custom |
| Mistral Large 4 (Mistral Vibe) | 40.6 | $1.34 | Custom |
| GLM-5.3 (OpenCode) | 40.1 | $5.41 | Custom |
| GLM-5.3 Flash (Claude Code) | 38.9 | not seen | MIT |
| DeepSeek V4.1 Flash 1017 (DeepSeek Harness) | 36.8 | $0.32 | MIT |
| Qwen3.8 Max, hosted (not the open checkpoint) | 32.7 | not seen | Hosted model |
| Muse Code (Meta, per gpuwerk.com Nov 7) | 26.3 | not seen | Custom, gated |
Two cautions. First, the harness changes the score: the same model run through different harnesses can land differently, and the harness for each row here is the one named. Second, MiniMax M3.1 Flash, gpt-oss and Gemma 4 did not appear in the rows we saw, so absence is not a bad score, it is missing data.
Pricing Table
All figures are USD list prices per million tokens, excluding tax, read November 28, 2026 unless noted.
| Model | Input (miss) | Cached input | Output | Note |
|---|---|---|---|---|
| $2.00 | $0.20 | $10.00 | Highspeed: $4.00 / $0.20 / $20.00. Rates checked Oct 24 per Kimi page. | |
| $0.15 off-peak, $0.30 peak | $0.003 / $0.006 | $0.60 off-peak, $1.20 peak | Peak is 01-04 and 06-10 UTC, Mon to Fri. | |
| $1.40 | $0.26 | $4.40 | FlashX: $0.37 / $0.075 / $1.25. Flash: $0.15 / $0.03 / $0.50. | |
| $2 | $0.25 | $6 | International endpoint; open checkpoints are free to download. | |
| $0.15 | $0.015 | $0.60 | M3 up to 512K: $0.30 / $0.06 / $1.20 after 50% discount. | |
| $0.70 | n/a | $2.10 | From notes on Mistral's documentation. | |
| Host-dependent | Host-dependent | Host-dependent | Free weights; no first-party API price found. | |
| Host-dependent | n/a | Host-dependent | Free weights. | |
| Not found | n/a | Not found | Gated weights. |
What a session costs: a worked example
To make the table concrete, take a hypothetical agent session that sends 5 million fresh input tokens, 20 million cached input tokens and receives 1 million output tokens. This is our arithmetic from the list prices above, ignoring cache-write fees and any retries, and it is not a measured cost.
| Model | Fresh input | Cached input | Output | Total |
|---|---|---|---|---|
| Kimi K3.1 Pro | $10.00 | $4.00 | $10.00 | $24.00 |
| Qwen3.8-Max (hosted) | $10.00 | $5.00 | $6.00 | $21.00 |
| GLM-5.3 | $7.00 | $5.20 | $4.40 | $16.60 |
| MiniMax M3 | $1.50 | $1.20 | $1.20 | $3.90 |
| DeepSeek V4.1 Flash (peak) | $1.50 | $0.12 | $1.20 | $2.82 |
| GLM-5.3-Flash | $0.75 | $0.60 | $0.50 | $1.85 |
| MiniMax M3.1 Flash | $0.75 | $0.30 | $0.60 | $1.65 |
| DeepSeek V4.1 Flash (off-peak) | $0.75 | $0.06 | $0.60 | $1.41 |
The spread is about seventeen to one between the most and least expensive rows. Note how little the cached-input line matters for DeepSeek and how much it matters for GLM-5.3, which is why a cache-friendly harness changes the ranking.
License Table
| Model | License (HF field or LICENSE file) | What to watch |
|---|---|---|
| Kimi K3.1 Pro License (custom) | We did not read the full text. The K3 license has a $20M monthly threshold for model-as-a-service operators. | |
| MIT | None found. | |
| GLM-5.3 License (custom); Flash is MIT | Model-as-a-service above $10B revenue needs a Z.ai security review. | |
| Apache-2.0 / Qwen3.8-Max License | 2.4T: separate license above $50M over 12 months for model-as-a-service; name display for very large consumer products. | |
| MiniMax Community License | Non-commercial free; commercial needs Built with notice; over $20M yearly revenue needs authorization; military use banned. | |
| Apache-2.0 | None found. | |
| Apache-2.0 | None found. | |
| Mistral Ecosystem Open-Weight License (modified MIT) | Free for commercial use, but running a model-as-a-service business needs a separate commercial license (per the card). | |
| Muse Model License (per secondary sources) | Gated; $20M threshold and attribution per our notes. |
Feature Matrix
Yes means the vendor's card or docs state it. Partial means stated with caveats. No means we found no statement, which is not proof it is absent.
| Feature | Kimi K3.1 Pro | DeepSeek V4.1 Flash | GLM-5.3 | Qwen3.8-27B | MiniMax M3.1 Flash | gpt-oss-120b |
|---|---|---|---|---|---|---|
| Open weights | Yes | Yes | Yes | Yes | Yes | Yes |
| OSI-style permissive license | No | Yes (MIT) | No (Flash: Yes) | Yes (Apache-2.0) | No | Yes (Apache-2.0) |
| 1M-token context | Yes | Yes | Not confirmed | Partial (extendable) | Yes (card) | No (128K) |
| Native function calling | Yes (tool_calls in card) | Yes (encoding has tool tests) | Partial (not detailed on card we read) | Partial (not detailed on card we read) | Partial (agentic use stated) | Yes (function calling in card) |
| Reasoning effort control | Partial | Partial | Yes | Yes | Yes (5 levels) | Partial |
| Image input | Yes (OpenRouter) | Partial (multimodal per notes) | Partial (5.4 docs) | Yes | Yes (video too) | No |
| Single-GPU feasible | No | No | No (Flash: no) | Yes (quantized) | No | Yes (80 GB) |
| Cached-input discount on API | Yes | Yes | Yes | Yes | Yes | Host-dependent |
| Own coding-agent product | Kimi Code | DeepSeek Harness | ZCode, Coding Plan | Qwen Code | None found | No |
| Independent index row seen | Yes (48.6) | Yes (36.8) | Yes (40.1) | Hosted only (32.7) | No | No |
The Reasoning effort row is "Partial" for Kimi, DeepSeek and gpt-oss, and the function-calling row is "Partial" for GLM, Qwen and MiniMax, because the cards we read describe the capability only loosely, and we did not confirm a documented request parameter or parser setting for each. We did not read the serving docs for every model. Check the model card for the one you pick.
Choosing for Hermes Agent and Similar Open Harnesses
Several of our keyword searches ask for the best open-source LLM for Hermes Agent. We have not tested any model inside Hermes, so this is a decision guide based on documents. Hermes Agent's own guide on this site says it supports a long provider list, including custom OpenAI-compatible endpoints, and treats switching providers as configuration. See our Hermes Agent guide and the comparison of OpenClaw and Hermes Agent for context.
- Start with a hosted OpenAI-compatible endpoint. DeepSeek, Moonshot, Z.ai, MiniMax and Alibaba all publish APIs. The provider handles the chat template, parsers and reasoning fields.
- If you self-host, serve the model the way the card says. Kimi needs reasoning_content passed back, DeepSeek needs its encoding, MiniMax lists SGLang, vLLM and TokenSpeed, and Qwen preserves thinking by default.
- Use two tiers. A cheap model (DeepSeek Flash, GLM-5.3-Flash, MiniMax M3.1 Flash) for routine edits and a stronger one (Kimi K3.1 Pro, GLM-5.3) for planning and review. Our terminal coding agents roundup covers harnesses that let you do this.
- Run a one-hour bake-off on your own repository. Same five tasks, same harness, log tool-call errors and retries. A parser mismatch shows up quickly in those logs.
If you want to run models locally with Ollama and a Google-style harness, our Antigravity local models guide and the free open-weight models post cover setup details.
Best For X: A Decision Table
| You are... | Pick | Because | Watch out for |
|---|---|---|---|
| Optimizing for task success | Kimi K3.1 Pro | Top open row on the index (48.6) | Price; message-passing contract |
| Optimizing for cost | DeepSeek V4.1 Flash | $0.15 / $0.60 off-peak, MIT | Peak pricing; custom encoding |
| A solo dev on one machine | Qwen3.8-27B | Apache-2.0, fits a workstation | Smaller-model failure on big tasks |
| A team that needs two price tiers | GLM-5.3 + GLM-5.3-Flash | Same vendor, MIT Flash | Coding Plan limited to supported tools |
| Building a commercial product | DeepSeek, gpt-oss, Gemma 4 or Qwen 27B | No thresholds in the license text we read | Read the license for your version |
| Needing video input in agents | MiniMax M3.1 Flash | Text, image and video input | License conditions for commercial use |
| In a procurement-heavy company | gpt-oss-120b | Apache-2.0, US vendor, long track record | Older, 128K context |
| A European team | Mistral Large 4 | EU vendor, open weights | Custom license, cluster-scale size |
Common Mistakes and a Buying Checklist
- Trusting a vendor table as an independent ranking. Each vendor picks its own comparison set and settings. DeepSeek's card table, for example, shows only Kimi K3, GLM-5.3 and V4-Pro next to V4.1 Flash.
- Mixing benchmark versions. Terminal-Bench 2.1, 3.0, 4.0 and 4.1 all appear in vendor and leaderboard materials, and scores are not comparable across versions. DeepSeek's own table shows 90.6 on 2.1 and 31.2 on 4.0 for the same model.
- Dropping reasoning content between turns. This is the most common agent-harness bug with Kimi-style contracts.
- Using a generic chat template. DeepSeek's card says it ships no Jinja template; tool calls need its encoding.
- Calling a custom license open source. Kimi, GLM-5.3, MiniMax, Mistral and Muse have conditions. Check them before building a hosted service.
- Quoting GLM-5.4 benchmarks as open-weight results. It has no weights yet.
- Ignoring peak pricing. DeepSeek's peak windows double the rate on weekday mornings UTC.
- Comparing price per token instead of per task. The relayed per-task figures ranged from $0.32 to $5.41.
Checklist before you commit:
- Can my harness pass back reasoning and tool-call fields exactly as the card requires?
- Is the license acceptable for my revenue and for hosting it as a service?
- Do I need single-machine hosting, or is a hosted API fine?
- Have I run five real tasks and logged tool errors and retries?
- Do I have a fallback model for tasks that fail twice?
FAQ
What is the best open source LLM for coding agents in 2026?
On the one independent coding-agent leaderboard we could read (Artificial Analysis Coding Agent Index v2.1, snapshot of November 26, 2026, relayed by a third-party mirror), Kimi K3.1 Pro scored highest among open-weight rows at 48.6, followed by Mistral Large 4 at 40.6, GLM-5.3 at 40.1, GLM-5.3 Flash at 38.9 and DeepSeek V4.1 Flash at 36.8. Highest score is not the same as best choice: DeepSeek V4.1 Flash costs a fraction as much per task, and Qwen3.8-27B is the practical pick for one machine. We did not run our own tests.
Qwen vs DeepSeek vs Kimi vs GLM: how do they differ for agents?
Kimi K3.1 Pro is the premium open-weight option ($2.00 input and $10.00 output per million tokens). DeepSeek V4.1 Flash is the budget option ($0.15 and $0.60 off-peak, MIT license). GLM-5.3 sits in the middle ($1.40 and $4.40) and has a cheap MIT Flash sibling. Qwen3.8 is strongest as a local model: the 27B is Apache-2.0 and fits one workstation. They also differ in how they want tool calls and reasoning to be passed back, which matters more for harness reliability than a benchmark gap.
gpt-oss vs Qwen: which should I pick?
Pick gpt-oss (120b or 20b) if your top requirement is the cleanest license and long, stable serving support: both are Apache-2.0, were released in August 2025 and have 128K context. Pick Qwen3.8-27B if you want a newer model with a larger context (262K native) and higher vendor-reported coding scores (Terminal-Bench 2.1 at 73.0), also under Apache-2.0. We found no independent score that ranks the two against each other, so test both on your own repository.
MiniMax M2 vs GLM: is that comparison still current?
Not quite. MiniMax's current open-weight coding model is M3.1 Flash (October 2026), and our notes from MiniMax's pages say the M2.5 and M2.7 API models were retired on November 18, 2026. GLM's current open weights are GLM-5.3 and GLM-5.3-Flash, with GLM-5.4 announced on November 23, 2026 but not yet released as weights or API. The up-to-date matchup is MiniMax M3.1 Flash against GLM-5.3-Flash: both cost $0.15 input per million tokens, but GLM-5.3-Flash is MIT-licensed while MiniMax's license is non-commercial unless you give notice or get authorization.
Which open-weight model is best for Hermes Agent?
Hermes Agent's own guide says it supports custom OpenAI-compatible endpoints and many providers, and treats switching providers as configuration. That means any model on this page that you can serve behind an OpenAI-compatible API can be tried. We did not test any of them inside Hermes Agent. Start with DeepSeek V4.1 Flash or GLM-5.3-Flash for cheap trials, use Kimi K3.1 Pro for hard tasks, and check that your server passes reasoning content and tool calls through as each model card requires.
Are these models really open source?
Only some are. Apache-2.0 or MIT covers gpt-oss, Gemma 4, Qwen3.8-27B, DeepSeek V4.1 Flash and V4-Pro, and GLM-5.3-Flash. Kimi K3.1 Pro, GLM-5.3, Qwen3.8-2.4T-A95B, MiniMax M3.1 Flash, Mistral Large 4 and Muse Spark Open use custom or modified licenses with thresholds, attribution rules or non-commercial limits. The accurate word for the second group is open-weight, and the license table in this article lists what we read.
Can I run Kimi K3.1 Pro or DeepSeek on my own hardware?
Technically yes, practically only on a cluster. Kimi K3.1 Pro is about 2.78 trillion parameters, and DeepSeek V4.1 Flash is roughly 550B to 760B depending on the figure you use. For a single workstation, look at Qwen3.8-27B, gpt-oss-20b or Gemma 4. For a single 80 GB GPU, gpt-oss-120b is the documented fit.
Is DeepSeek V4.1 Flash cheaper than Kimi K3.1 Pro?
Yes, by a large margin on list price: $0.15 input and $0.60 output off-peak against $2.00 and $10.00. DeepSeek charges double at peak hours (01:00 to 04:00 and 06:00 to 10:00 UTC, Monday to Friday). Third-party Artificial Analysis harness runs reported about $0.32 per task for DeepSeek and $2.94 for Kimi, but those are relayed figures, and the cheaper model also scored lower.
What is GLM-5.4, and can I download it?
GLM-5.4 is Z.ai's newest flagship, announced November 23, 2026 and built on a Loop Transformer. As of our check on November 28, 2026 it is available on the GLM Coding Plan, in ZCode and in Z.ai Chat. Z.ai says the Model API follows a security assessment and the weights will be released after safety hardening, with no dates, and we found no published benchmark scores. So it is not an open-weight option today. Use GLM-5.3 or GLM-5.3-Flash.
Why is Llama 4 not in the main comparison?
Llama 4 Maverick's Hugging Face repository dates from April 2025, and Meta's newer open release is Muse Spark Open (September 2026), which we cover briefly because its repository is gated and its license is custom. Llama 4 is far older than every other model here, so we left it out rather than pad the list.
Why did Devstral drop out?
Mistral's notes show Devstral 2 (123B, December 2025) was deprecated and its API retired on July 31, 2026, with Mistral Medium 3.5 taking its place and Mistral Large 4 following. We cover Mistral Large 4 as the current Mistral option.
Do the benchmark numbers in this article come from independent tests?
Mostly no. Terminal-Bench, DeepSWE, SWE-bench and Toolathlon figures are reported by each model's vendor on its own Hugging Face card or X post, with settings the vendor chose. The only independent source is the Artificial Analysis Coding Agent Index, and we read its September to November rows through third-party mirrors rather than directly. Every figure in the article is labelled with its source and date.
Which model has the cleanest license for a commercial product?
gpt-oss, Gemma 4, Qwen3.8-27B (Apache-2.0) and DeepSeek V4.1 Flash and GLM-5.3-Flash (MIT) have no revenue thresholds in the licenses we read. MiniMax requires notice or authorization for commercial use, and the large Kimi, GLM, Qwen and Muse checkpoints have custom licenses with thresholds aimed at big model-as-a-service operators. This is not legal advice; read the license file for the exact version you download.
How often will this comparison go stale?
Quickly. In the three weeks before this article, Z.ai announced GLM-5.4, Alibaba launched Qwen4-Max, MiniMax retired two API models, and Moonshot released K3.1 Pro weights. Treat every price and score as a snapshot dated November 28, 2026.
Sources
Everything below was read on November 28, 2026 unless noted. Benchmarks are vendor-reported unless attributed to Artificial Analysis.
- moonshotai/Kimi-K3.1-Pro (Hugging Face), Kimi-K3, Kimi weights announcement on X
- Kimi K3.1 Pro pricing and membership page (kimi.ai), OpenRouter listing
- deepseek-ai/DeepSeek-V4.1-Flash-1017, DeepSeek-V4-Pro, DeepSeek API pricing, DeepSeek V4.1 Flash announcement
- zai-org/GLM-5.3, Z.ai pricing, GLM-5.4 docs, GLM-5.4 blog, GLM-5.3 open-weight announcement
- Qwen/Qwen3.8-27B, Qwen3.8-2.4T-A95B, QwenLM/Qwen3.8, Qwen3.8-27B announcement
- MiniMaxAI/MiniMax-M3.1-Flash, MiniMax M3.1 Flash blog, MiniMax pricing, MiniMax weights announcement, NVIDIA model page
- openai/gpt-oss-120b, gpt-oss-20b, openai/gpt-oss on GitHub
- google/gemma-4-31B-it, mistralai/Mistral-Large-4-1T-A52B, Mistral Large 4 docs, Muse Spark Open (gated)
- Artificial Analysis Coding Agent Index (index rows via third-party mirrors; cost-per-task figures via airealist.com)
- Kai: 10 Best Local Coding Models Right Now 2026, AICodeKing: Qwen 3.8 27B with Hermes, Data Science in your pocket: GLM 5.3 vs Kimi K3
Further reading on this site
