Open-Source Models — Complete Catalog
Updated in April 2026. Focus on models viable as a base/fine-tuning target for Kode.
Llama (Meta)
| Version | Release | Parameters | Context | License | Highlights |
|---|---|---|---|---|---|
| Llama 1 | Feb/2023 | 7B13B30B/65B | 2K | Restricted | Foundational; started the open-source LLM era |
| Llama 2 | Jul/2023 | 7B13B70B | 4K | Llama Community | 2T tokens; chat fine-tuned available |
| Llama 3 | Apr/2024 | 8B/70B | 8K | Llama License | 128K vocab tokenizer; instruction-tuned |
| Llama 3.1 | Jul/2024 | 8B70B405B | 128K | Llama License | Multilingual; tool use; open-source SOTA |
| Llama 3.2 | Sep/2024 | 1B3B11B/90B | 128K | Llama License | Multimodal models (11B/90B) + small text models |
| Llama 3.3 | Dec/2024 | 70B | 128K | Llama License | 405B performance at 70B cost |
| Llama 4 Scout | Apr/2025 | 17B-A17B (16 experts) | 10M | Llama License | Largest open-source context; native multimodal MoE |
| Llama 4 Maverick | Apr/2025 | 17B-A17B (128 experts) | 1M | Llama License | Best open multimodal in its class; distilled from Behemoth |
Llama 4 — Paper: arXiv:2601.11659 (Jan/2026) Llama 4 Behemoth: 288B-A288B (16 experts) — "teacher" model still in training; used for the co-distillation of Scout and Maverick. Links: meta.llama.com · huggingface.co/meta-llama
Qwen (Alibaba)
| Version | Release | Parameters | Context | License | Highlights |
|---|---|---|---|---|---|
| Qwen 2 | Apr/2024 | 0.5B–72B | 128K | Apache 2.0 | Broad multilingual capability |
| Qwen 2.5 | Sep/2024 | 0.5B–72B | 128K (8M variants) | Apache 2.0 | 7 open models; 1M context variants |
| Qwen2.5-Coder | Sep/2024 | 0.5B–32B | 128K | Apache 2.0 | Best size/perf ratio for code |
| Qwen2.5-Math | Sep/2024 | 1.5B7B72B | 128K | Apache 2.0 | 1T tokens of mathematics; CoT + Python |
| Qwen 3 | May/2025 | 0.6B–235B (dense+MoE) | 131K | Apache 2.0 | Unified thinking+non-thinking; 119 languages |
| Qwen 3.5 | Mar/2026 | 0.8B–397B-A17B | 256K | Apache 2.0 | 201 languages; better coding |
| Qwen3.5-Omni | Mar/2026 | — | — | Apache 2.0 | Native multimodal: text + audio + video + realtime |
Qwen 3 — Paper: arXiv:2505.09388. Key innovation: thinking budget — adaptively allocates reasoning compute per prompt. Qwen3-VL — Paper: arXiv:2511.21631. Video analysis of up to 2 hours. Qwen3-72B: first open model to surpass GPT-4o on MMLU-Pro. Links: qwenlm.github.io · huggingface.co/Qwen
DeepSeek
| Version | Release | Parameters | Context | License | Highlights |
|---|---|---|---|---|---|
| DeepSeek-Coder-V2 | Jun/2024 | 236B-A21B | 128K | MIT | MoE; 21B active; strong at code |
| DeepSeek-V3 | Dec/2024 | 671B-A37B | 128K | MIT | 14.8T tokens; open-source SOTA |
| DeepSeek-R1 | Jan/2025 | 671B-A37B | 128K | MIT | Pure RLVR; reasoning rivaling o1 |
| DeepSeek-R1-Distill | Jan/2025 | 7B14B32B | 128K | MIT | Distilled R1; reasoning in a small model |
| DeepSeek-V3.1 | Aug/2025 | 671B-A37B | 128K | MIT | Hybrid thinking/non-thinking |
| DeepSeek-V3.2 | Dec/2025 | 671B-A37B | 128K | MIT | Enhanced long-thinking; theorem proving |
| DeepSeek-V4-Flash | Apr/2026 | 284B-A13B | 1M | MIT | 1M context; 10% of V3.2's FLOPs at 1M tokens |
| DeepSeek-V4-Pro | Apr/2026 | 1.6T-A49B | 1M | MIT | Open SOTA; 80.6% SWE-bench; 1M context |
Architecture: V2V3V3.2 = Multi-Head Latent Attention (MLA) + DeepSeekMoE. V4 replaces MLA with CSA + HCA (hybrid attention) while keeping DeepSeekMoE — the KV cache drops to ~2% of the BF16 GQA8 baseline at 1M context. Links: deepseek.com · huggingface.co/deepseek-ai
DeepSeek-V4 — Technical Details (Apr/2026)
Paper: DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligence (04242026) PDF: huggingface.codeepseek-aiDeepSeek-V4-Problobmain/DeepSeek_V4.pdf
Released code (MIT):
- V4 inference (model + specific kernels):
huggingface.co/deepseek-ai/DeepSeek-V4-Pro/tree/main/inference— the canonical reference cited in §2.3 of the paper. (There is NOgithub.com/deepseek-ai/DeepSeek-V4repo — the code lives on HF.) - Related GitHub repos (
github.com/deepseek-ai/):TileKernels(kernel lib in TileLang, updated 04232026 alongside V4) ·DeepGEMM(FP8 GEMM kernels, updated 04242026) ·FlashMLA(Multi-head Latent Attention kernels — used in V2/V3, kept for compat) ·DeepEP(expert-parallel comm). - Sibling project (non-V4):
deepseek-ai/Engram— Conditional Memory via Scalable Lookup (Jan/2026, Apache 2.0). Separate work from DeepSeek; not integrated into V4 (the V4 paper does not cite Engram). Promotional videos have conflated Engram with V4's CSA+HCA — they are distinct things.
Architectural innovations:
- Compressed Sparse Attention (CSA): Compresses every
mKV entries into a single entry via pooling with a softmax-gate and a learned positional bias; then applies DeepSeek Sparse Attention (DSA) with a lightning indexer that selects the top-k compressed blocks per query. Result: 1M tokens at ~27% of the FLOPs and ~10% of the KV cache of V3.2. - Heavily Compressed Attention (HCA): More aggressive compression (
m' >> m), dense (no sparse selection); interleaved with CSA layers in the hybrid architecture. V4-Flash reaches 10% of the FLOPs and 7% of the KV at 1M. - Lightning indexer in FP4: The indexer's QK queries run in FP4 (MXFP4) — index scores quantized from FP32 to BF16 give a 2× speedup on the top-k selector with 99.7% recall.
- Complementary attention: Sliding-window branch (n_win most recent uncompressed KVs) + attention sink with learnable logits + partial RoPE (only on the last 64 dims of the queriesKVsoutputs).
- Manifold-Constrained Hyper-Connections (mHC): Constrains the residual matrix to the manifold of doubly-stochastic matrices (Birkhoff polytope) via Sinkhorn-Knopp 20 iters; guarantees spectral norm ≤ 1 (non-expansive mapping), eliminating the numerical instability of conventional HC in deep stacks.
- Muon Optimizer: Replaces AdamW for most modules (AdamW persists in the embedding, prediction head, static biases, mHC gating, RMSNorm). Uses Hybrid Newton-Schulz: 8 iters with coefs (3.4445, −4.7750, 2.0315) for fast convergence + 2 iters with (2, −1.5, 0.5) to stabilize singular values at 1. No QK-Clip (RMSNorm on queries/KV is sufficient).
- MoE changed vs V3: activation function Sigmoid → Sqrt(Softplus); sequence-wise balance loss + auxiliary-loss-free; hash routing in the first layers (replaces the initial dense FFN); removed the constraint on the number of routing target nodes.
- MTP (Multi-Token Prediction): Kept identical to V3.
- Cross-tool reasoning: Keeps the full reasoning history between tool calls (V3.2 discarded it).
- Three reasoning modes: Non-Think / Think High / Think Max (via the
<think>token).
Hybrid KV cache — inference engineering (§3.6):
- Heterogeneous KV cache: two components — a classical block cache (CSA Indexer KV + CSA Main KV + HCA KV, block size = lcm(m, m')) + a per-request state cache (SWA KV + uncompressed tail tokens not yet ready for compression).
- On-disk KV cache for shared-prefix reuse: eliminates repeated re-prefill in long shared prompts.
- Mixed-precision storage: RoPE dims in BF16, other dims in FP8 → ~50% savings vs pure BF16. This scheme, combined with CSA+HCA, brings the KV cache at 1M to ~2% of the BF16 GQA8 baseline.
Training (§3):
- FP4 Quantization-Aware Training (QAT): MXFP4 applied to (1) MoE expert weights and (2) the indexer's QK path in CSA. FP4-to-FP8 dequantization is lossless (E4M3 absorbs the scales of the 1×32 sub-blocks within 128×128 FP8 blocks). Real FP4 weights used in inference and RL rollout.
- Bitwise train↔inference determinism: separate accumulation buffers per SM in the attention backward; token-order pre-processing + buffer isolation in the MoE backward; split-k mHC with reduction in a separate kernel.
- Hybrid ZeRO for Muon (Muon needs the full gradient matrix — classic ZeRO assumes element-wise optimizers): knapsack for dense parameters, flattening of the MoE experts for uniform distribution; gradients synchronized in BF16 with stochastic rounding (–50% comm); reduce-scatter replaced by all-to-all + local FP32 sum.
- mHC overhead is only 6.7% of the wall-time of the 1F1B pipeline — thanks to fused kernels + selective recomputation + DualPipe tuning.
- TileLang DSL for kernel development (the substrate of all custom kernels).
Two-phase post-training:
- SFT + GRPO per specialized domain
- Consolidation via on-policy distillation
V4-Pro-Max benchmarks:
| Benchmark | Score |
|---|---|
| GPQA Diamond | 90.1% |
| MMLU-Pro | 87.5% |
| SWE-bench Verified | 80.6% |
| LiveCodeBench | 93.5% |
| Codeforces Rating | 3206 |
| IMOAnswerBench | 89.8% |
| MRCR 1M (long context) | 83.5% |
API prices (vs competitors):
- V4-Flash: \(0.14/M tokens (vs GPT-5-Nano: \)0.20)
- V4-Pro: \(1.74/M tokens (vs Claude Sonnet 4.6: \)3.00)
Mistral
| Version | Parameters | Context | License | Highlights |
|---|---|---|---|---|
| Mistral 7B | 7B | 32K | Apache 2.0 | Sliding window attention; GQA; very efficient |
| Mixtral 8×7B | ~46.7B total (12.9B effective) | 32K | Apache 2.0 | MoE; GPT-3.5 parity |
| Mixtral 8×22B | ~160B total | 65K | Apache 2.0 | Larger MoE; strong at code and reasoning |
| Mistral Small 3 | 123B total | 128K | Apache 2.0 | 80+ languages |
| Mistral Large 3 | 675B total / 41B active | — | Apache 2.0 | Sparse MoE; the family's most capable model |
| Mistral Small 4 | 119B total / 6B active | — | Apache 2.0 | Magistral + Pixtral + Devstral unified; 128 experts |
| Voxtral TTS | — | — | Open-weight | Mistral's first audio model; 9 languages |
| Leanstral | — / 6B active | — | Open | Code agent for Lean 4 (formal mathematics) |
Mistral Small 4 (03162026): Combines reasoning (Magistral), vision (Pixtral) and agentic coding (Devstral) in a single model. 128 experts with 6B active per token. Voxtral TTS (03232026): Mistral's first audio bet; open-weights; support: EN, FR, DE, ES, NL, PT, IT, HI, AR. Leanstral: First open-source agent for formal verification in Lean 4; 6B active; comes with FLTEval (evaluation suite). Links: mistral.ai · huggingface.co/mistralai
Gemma (Google)
| Version | Parameters | Context | License | Highlights |
|---|---|---|---|---|
| Gemma 1 | 2B/7B | 8K | Apache 2.0 | Distilled from Gemini; efficient |
| Gemma 2 | 9B/27B | 8K | Apache 2.0 | Improved; Gemma 2 27B strong |
| Gemma 3 | 270M–27B | — | Apache 2.0 | Native multimodal |
| Gemma 4 E2B / E4B | 2B / 4B | 256K | Apache 2.0 | Edge-optimized; sub-100ms on devices |
| Gemma 4 26B MoE | 26B total / 4B active | 256K | Apache 2.0 | Efficient MoE; surpasses Llama 4 Maverick on several benchmarks |
| Gemma 4 31B Dense | 31B | 256K | Apache 2.0 | Best open per parameter; AIME 2026: 89.2% |
| DiffusionGemma 26B-A4B | 26B total / 4B active | 256K | Apache 2.0 | Language diffusion (non-AR); 1000+ tok/s H100, ~4× faster; quality < Gemma 4 AR |
DiffusionGemma (06102026): the family's first open-weights language diffusion model — generates blocks of 256 tokens in parallel instead of token-by-token autoregressive. Same Gemma 4 base (26B MoE / 4B active), multimodal (text+image+video→text), 18 GB VRAM quantized, MLXvLLMHFUnsloth integration + NVFP4. Trade-off: ~4× throughput at the cost of quality below the AR Gemma 4 — ideal for real-time infilleditingauto-correction. Architectural detail in [[..02-architectures/alternative-architectures]] § Language Diffusion Models.
Gemma 4 (04022026): Built on the same technology as Gemini 3. The first time the Gemma family uses Apache 2.0 across all sizes. Support for text, images, audio and code; 140+ languages.
Gemma 4 31B — Benchmarks:
| Benchmark | Score |
|---|---|
| AIME 2026 | 89.2% |
| GPQA Diamond | 84.3% |
| LiveCodeBench | 80.0% |
Links: ai.google.devgemma · huggingface.cogoogle · deepmind.googlemodelsgemma
Phi (Microsoft)
| Version | Parameters | Context | License | Highlights |
|---|---|---|---|---|
| Phi-3 Mini | 3.8B | 128K | MIT | Educational-quality synthetic data |
| Phi-3 Small | 7B | 128K | MIT | Extreme efficiency |
| Phi-3 Medium | 14B | 128K | MIT | Performance/size balance |
| Phi-4 | 14B | 16K | MIT | Advanced synthetic data; strong STEM |
| Phi-4-mini | 3.8B | 128K | MIT | Improved GQA; enhanced multilingual |
| Phi-4-multimodal | 14B | — | MIT | Text + audio + vision natively |
| Phi-4-reasoning-vision | 14B | — | MIT | Phi-4 + visual reasoning; trained with 16B tokens |
Links: huggingface.comicrosoft · microsoft.comresearch
Kimi K2.6 (Moonshot AI)
| Version | Release | Parameters | Context | License | Highlights |
|---|---|---|---|---|---|
| Kimi K2.6 | Apr/2026 | 1T total / 32B active | 256K | Modified MIT | Open SWE-Bench Pro leader; 300-agent swarms |
Kimi K2.6 (04202026): 384 experts (8 selected + 1 shared), 61 layers, 64 attention heads, MLA, vision with MoonViT (400M params). The Agent Swarm system scales up to 300 sub-agents with 4,000 coordinated steps.
K2.6 benchmarks:
| Benchmark | Score | Comparison |
|---|---|---|
| SWE-Bench Pro | 58.6% | GPT-5.4: 57.7%; Gemini 3.1 Pro: 54.2% |
| HLE-Full (with tools) | 54.0% | GPT-5.4: 52.1%; Claude Opus 4.6: 53.0% |
For Kode: Interesting for agentic coding in wide context; the license allows commercial use.
MiniMax M3 (MiniMax AI)
| Version | Release | Parameters | Context | License | Highlights |
|---|---|---|---|---|---|
| MiniMax M3 | Jun/2026 | Not disclosed (Sparse MoE) | 1M | Open-weight w/ commercial conditions | Native multimodal (text+image+video); MSA; agentic/coding |
MiniMax M3 (06012026): the first open-weight model to combine frontier coding, 1M-token context and native multimodality in a single model. Text, image and video inputs → text output; operates desktop (computer use). Mixed-modality training from step 0, with a pipeline rebuilt for interleaved data (text+image in the same sequence), scaled to the order of 100T tokens. Parameter/expert counts not disclosed in the announcement; tech report + weights promised ~10 days after launch.
Architecture: Sparse MoE + MSA (MiniMax Sparse Attention) — sparse selection of KV blocks over uncompressed KV (contrast with DeepSeek's MLA and CSADSA, which compress). At 1M context: computetoken ≈ 120 of M2, prefill ~9.7× and decoding ~15.6× faster. Detail in `02-architecturestransformer-and-attention.md` (MSA section).
M3 benchmarks:
| Benchmark | Score | Comparison |
|---|---|---|
| SWE-Bench Pro | 59.0% | GPT-5.5: 58.6%; Gemini 3.1 Pro: 54.2%; Opus 4.7: 64.3% |
| Terminal-Bench 2.1 | 66.0% | — |
| BrowseComp | 83.5 | above Opus 4.7 (79.3) |
| MCP Atlas | 74.2% | Opus 4.7: 77.0% |
| SWE-fficiency | 34.8% | — |
| OmniDocBench (multimodal) | above Gemini 3.1 Pro | — |
For Kode: a strong candidate for agentic coding + long context + multimodal, at a reported cost of ~5–10% of GPT-5.5Gemini 3.1 Pro. Note on the license: open-weight but with commercial use conditions (not pure MITApache) — review the terms before adopting. Not yet covered in Koder's local base (services/ai/runtime/models.yaml and the modelreg family enum do not include MiniMax; there is only a reference as a cloud provider in services/ai/ai/cli). A candidate for inclusion once the weights are published.
Nemotron 3 (NVIDIA)
| Version | Parameters | Context | Highlights |
|---|---|---|---|
| Nemotron 3 Nano | Small | — | Edge/device; efficient |
| Nemotron 3 Super | — | — | LatentMoE; 25T tokens; 2.2× throughput vs GPT-OSS-120B |
| Nemotron 3 Ultra | — | — | Maximum open capability |
Nemotron 3 Super (04032026) — Technical report: research.nvidia.comlabsnemotronfilesNVIDIA-Nemotron-3-Super-Technical-Report.pdf
LatentMoE: A new MoE architecture that projects expert weights into a shared latent space, reducing total parameters while maintaining capacity. Better accuracy per parameter and per FLOP than regular MoEs.
NVIDIA Nemotron Coalition: Black Forest Labs, Cursor, LangChain, Mistral AI, Perplexity, Reflection AI, Sarvam, Thinking Machines Lab — building Nemotron 4 together.
OLMo (Allen AI)
| Version | Release | Parameters | License | Highlights |
|---|---|---|---|---|
| OLMo 2 | 2024 | 7B/32B | Apache 2.0 | Fully open (data, checkpoints, code) |
| OLMo 3 | Dec/2025 | 7B/32B | Apache 2.0 | Improved reasoning; complete "model flow" published |
| OLMo Hybrid | Mar/2026 | 7B | Apache 2.0 | Transformer + linear RNN; 2× data efficiency vs OLMo 3 |
OLMo 3 — Paper: arXiv:2512.13961. Includes intermediate checkpoints, all data, dependencies. OLMo Hybrid (03052026): Combines attention layers (Transformer) with linear RNN layers. Achieves the same accuracy as OLMo 3 with 49% fewer tokens. Trained on NVIDIA H100 → B200. First SOTA model trained on B200s in production.
Command A (Cohere)
| Model | Parameters | License | Highlights |
|---|---|---|---|
| Command A | — | Research | Enterprise RAG; 23 languages; SRPO+CoPG alignment |
| Command R7B | 7B | Research | Efficient distillation of Command A |
Paper: arXiv:2504.00698 (Cohere, Apr/2026). Own alignment algorithms: SRPO (Self-Rewarding Preference Optimization) and CoPG (Contrastive Preference Gradient). Multi-phase polish pipeline for enterprise delivery.
Other Relevant Models
| Model | Origin | Parameters | License | Highlights |
|---|---|---|---|---|
| Yi / Yi-1.5 | 01.AI | 6B9B15B/34B | Custom Commercial | Bilingual EN/ZH; 200K context |
| Falcon 2 | TII | 11B | Apache 2.0 | 5.5T tokens; 10 languages |
| Grok-1 | xAI | 314B MoE | Apache 2.0 | JAX; 8 experts, 2 active; the only large-scale open one |
| LFM2-24B-A2B | Liquid AI | 24B total / 2B active | Apache 2.0 | Hybrid Transformer+linear; edge focus |
| GPT-OSS | OpenAI | 120B+ | Being defined | OpenAI's first open-weight model (2026) |
Specialized Code Models
| Model | Base | Parameters | Highlights |
|---|---|---|---|
| Qwen2.5-Coder | Qwen | 0.5B–32B | Recommended for Kode — best size/perf ratio |
| DeepSeek-Coder-V2 | DeepSeek | 236B MoE | Open SOTA in code; open weights |
| StarCoder 2 | BigCode | 3B7B15B | The Stack v2; permissive license |
| Codestral | Mistral | — | Strong at multi-language code |
| CodeLlama | Meta | 7B–70B | Llama 2 fine-tuned for code; FIM |
Specialized Code Models
| Model | Base | Parameters | Highlights |
|---|---|---|---|
| Qwen2.5-Coder | Qwen | 0.5B–32B | Recommended for Kode — best size/perf ratio |
| DeepSeek-Coder-V2 | DeepSeek | 236B MoE | Open SOTA in code; open weights |
| StarCoder 2 | BigCode | 3B7B15B | The Stack v2 (arXiv:2402.19173); permissive license |
| Codestral | Mistral | — | Strong at multi-language code |
| Kimi K2.6 | Moonshot AI | 1T/32B MoE | SWE-Bench Pro leader; 256K context; agentic coding |
Recommendation for Kode
| Use case | Recommended model | Reason |
|---|---|---|
| Base for fine-tuning | Qwen2.5-Coder-32B | Best size/perf; Apache 2.0 |
| Fast iteration (1 GPU) | DeepSeek-Coder-V2-Lite | Fast, capable enough |
| Advanced reasoning | DeepSeek-R1 (distill 7B) | MIT; distilled frontier reasoning |
| Huge repository context | Llama 4 Scout | 10M tokens; unique at that scale |
| Agentic coding + long context | Kimi K2.6 | 256K; agent swarms; open SWE-Bench Pro leader |
| Edge / device | Gemma 4 E2B/E4B | Sub-250ms; Apache 2.0; multimodal |