Phi-4
Phi-4 is Microsoft Research's 14.7B dense MIT-licensed model, released December 2024.
- Parameters: 14B (dense)
- Context window: 16K tokens
- Architecture: Decoder-only Transformer
- License: MIT (full commercial use)
- Reasoning variants: Phi-4-reasoning, Phi-4-reasoning-plus
- Release date: 2024-12-12
- Available on: Hugging Face, Azure AI Foundry, Ollama, llama.cpp
- Recommended quantization: Q4_K_M for local.
Q3 starts to break reasoning chains. Q5_K_M is the safe middle if you have 12GB+.
For long-document RAG you will need to chunk aggressively or pair Phi-4 with a 128K model like Llama 3.1 8B for retrieval. The Phi-4-reasoning variants extend reasoning depth, not context length.
The base microsoft/phi-4 release does not ship with a native tool-calling chat template. Phi-4-mini, the smaller sibling, has official Microsoft tool-calling support.
Codestral 22B
Codestral 22B is Mistral's first code-focused model, released May 2024. The catch is licensing. Codestral ships under the Mistral Non-Production License, which forbids commercial use without a separate agreement from Mistral.
- Parameters: 22.2B (dense)
- Context window: 32K tokens
- Architecture: Dense decoder-only Transformer with native FIM
- Languages supported: 80+ (Python, Java, C, C++, JavaScript, TypeScript, Rust, Go, etc.)
- License: Mistral Non-Production License (MNPL-0.1), commercial requires separate agreement
- Release date: 2024-05-29
- Newer variant: Codestral 25.01 (January 2025) with 256K context
- Recommended quantization: Q4_K_M for single-GPU IDE deployment.
BF16 if you have 48GB+ and care about FIM quality at full fidelity. FIM is more quantization-sensitive than chat. Q5_K_M is the safe middle.
The MNPL-0.1 forbids any commercial activity, including use by employees in the course of their job, hosted services, and revenue-generating products. Even fine-tunes of Codestral inherit the restriction.
Commercial deployment requires a separate license from Mistral or use of the Mistral API.
The original Codestral 22B v0.1 remains the open-weights option, just at the original 32K context. The newer variants are API-and-enterprise-stack only, the 22B v0.1 weights stay under MNPL-0.1, and the commercial-license path is identical across them.
Teams that need commercial-cleared weights should use Mistral's API or pick Qwen2.5-Coder 32B (Apache 2.0) instead. Both fit a single 24GB card, so the common move is Codestral for tab-complete and Qwen for chat. CodeGemma 7B is much smaller and runs on 8GB cards, with Apache 2.0 license.
Gemma 4 (26B A4B)
Gemma 4's workstation-tier model ships as the 26B A4B MoE rather than the 27B dense variant from Gemma 3. Gemma 4's workstation tier ships as 26B A4B (MoE) and 31B dense. There is no Gemma 4 27B.
- Parameters: 25.2B total, 3.8B active per token (MoE)
- Experts: 128 total, 8 active + 1 shared per token
- Context window: 256K tokens
- Modalities: Text + image input, text output
- Languages: 35+ out of the box, pretrained on 140+
- License: Apache 2.0 (full commercial use, redistribution permitted)
- Release date: 2026-04-09
- Recommended quantization: Q4_K_M for 24GB consumer GPUs.
All 25.2B parameters must fit in memory, but only 3.8B activate per token, so you pay dense memory cost and sparse compute cost. Q3 noticeably degrades agentic and tool-use tasks. Q5_K_M is the safe choice if you have spare VRAM.
Llama.cpp, vLLM, SGLang, and Ollama all handle Gemma 4 MoE natively as of mid-2026.
Qwen2.5-Coder 32B
Qwen2.5-Coder 32B is Alibaba's open-weight code specialist: 32.5 billion dense parameters, 128K context, Apache 2.0, released November 11, 2024.
- Parameters: 32.5B dense (31.0B non-embedding)
- Context window: 128K tokens
- License: Apache 2.0
- Training data: 5.5T tokens, 92 programming languages
- Recommended quantization: Q4_K_M for single-user and consumer GPU.
Q4 is fine for IDE autocomplete and edit-style tasks. Q5_K_M and Q6_K are noticeably better on writing functions from scratch or multi-file refactors.
If the use case is editor-driven coding (Aider, Continue.dev) on a single GPU, Qwen2.5-Coder 32B is still excellent and runs on a 24GB card.
Apache 2.0, no MAU cap, no attribution-in-product, no commercial restriction. Preserve the NOTICE file in source distributions and you are clear.
Llama 3.3 70B
Llama 3.3 70B is Meta's December 2024 dense 70B Instruct model.
- Parameters: 70B (dense)
- Context window: 128K tokens
- License: Llama 3.3 Community
- Release: December 6, 2024
- Languages: English, German, French, Italian, Portuguese, Hindi, Spanish, Thai
- Recommended quantization: Q4_K_M for Mac and single-user, AWQ INT4 for GPU serving, FP8 for Hopper and Blackwell
The Llama 3.3 Community License allows commercial use up to 700 million monthly active users. Attribution is required: include 'Built with Llama' in product documentation.
Qwen3 235B A22B
Qwen3 235B A22B is Alibaba's flagship open MoE: 235 billion total parameters, 22 billion active per token, Apache 2.0 license. Released April 28, 2025, with the 262K-context Instruct-2507 refresh landing July 21, 2025. The 2507 update jumped native context from 32K (131K with YaRN) to 262,144 tokens and split the line into separate Instruct and Thinking checkpoints.
- Parameters: 235B total, 22B active per token
- Architecture: MoE, 128 experts, 8 active per token
- License: Apache 2.0
- Languages: 119 languages and dialects
- Modes: Hybrid Thinking and Non-Thinking
- Recommended quantization: Q4_K_M for 256GB+ Macs.
Thinking mode runs an internal chain-of-thought before answering, slower but stronger on math, code, and multi-step reasoning. Non-Thinking is direct response, faster, suited for chat, drafting, and tool calls. The 2507 Instruct variant is Non-Thinking by default.
Apache 2.0, no MAU cap, no attribution-in-product requirement, no paid tier.
DeepSeek Coder V2
DeepSeek Coder V2 is a 236B MoE coding model that activates only 21B parameters per token. It supports 338 programming languages, up from 86 in the prior generation, and 128K context.
- Parameters: 236B total, 21B active per token
- Lite variant: 16B total, 2.4B active per token
- Context window: 128K tokens
- Architecture: DeepSeekMoE + Multi-head Latent Attention (MLA)
- License: DeepSeek License Agreement (commercial use permitted)
- FP16 VRAM (full): ~472GB
- Release date: 2024-06-17
- BF16 (full 236B): About 472GB of weights.
- Q4_K_M (Lite 16B): Single RTX 4090 or 5090, comfortable headroom for 32K context.
DeepSeek's model card says BF16 inference needs 8 GPUs with 80GB each. Below INT4 the model degrades sharply on multi-language code. The Lite variant runs on a single 24GB GPU and is the practical pick for most teams.
Continue.dev plus Lite is a pair-programming setup for solo developers.
For repo-level tasks, combine 128K context with retrieval over a code embedding index instead of raw stuffing.
The model code ships under MIT and the weights under the DeepSeek License Agreement v1.
The DeepSeek License Agreement permits commercial use, including hosted services. It does include some use-case restrictions (military, illegal content) but no MAU cap or royalty.
Llama 3.1 405B
Llama 3.1 405B is Meta's largest open-weight dense model. The catch is hardware.
- Parameters: 405B (dense)
- Context window: 128K tokens
- Architecture: Transformer decoder with GQA
- License: Llama 3.1 Community License (commercial use permitted, MAU caveat above 700M)
- FP16 VRAM: ~810GB (model only)
- Release date: 2024-07-23
- Recommended quantization: FP8.
Meta publishes an official FP8 version of the 405B Instruct model on Hugging Face (meta-llama/Llama-3.1-405B-Instruct-FP8). Below INT4 the model degrades fast. Budget extra VRAM for KV cache (roughly 60GB at full 128K) and consider RAG over raw long context for retrieval-heavy work.
DeepSeek V3.2
DeepSeek V3.2 is the December 1, 2025 release of DeepSeek's flagship reasoning-first MoE: 671 billion total parameters, 37 billion active per token, MIT license.
- Parameters: 671B total, 37B active per token
- Architecture: MoE, 256 routed + 1 shared expert, DeepSeek Sparse Attention
- Context window: 128K tokens (max output 64K)
- License: MIT
- Release: December 1, 2025 (V3.2-Exp in September 2025)
- Variants: V3.2 (general), V3.2-Speciale (deep reasoning, no tool calling)
- Recommended quantization: FP8 native on Hopper and Blackwell for production.
For a reasoning model, do not go below Q4 in production. Base V3.2 supports tool calling and is the daily driver for agents, RAG, and general work.
Both repository and model weights are MIT. No MAU cap, no commercial restriction, no attribution string in product.
Mistral Large 3
Mistral Large 3 is Mistral's December 2, 2025 frontier open-weight release: 675 billion total parameters, 41 billion active per token, multimodal (text plus vision), 256K context, Apache 2.0.
- Parameters: 675B total, 41B active per token, plus 2.5B vision encoder
- Architecture: Granular MoE, multimodal (text + vision)
- Context window: 256K tokens
- License: Apache 2.0
- Release: December 2, 2025
What Mistral's own model card says it runs on (checked 2026-11-20).
Mistral's model card says the FP8 version deploys on a single node of B200s or H200s. The same card says the NVFP4 version deploys on a single node of H100s or A100s.
NVFP4 is calibrated mainly on text, so expect a minor regression on vision datasets and a quality drop past 64K context, which is exactly where you switch to FP8. For a smaller team that does not need the full 675B, look at the smaller Mistral 3 models (14B, 8B, 3B).