STAYCHARTED GUIDES · OPEN-WEIGHT MODELS · CLASSIFICATION
Open-weight model licenses: what to check before you fine-tune
Apache 2.0, Llama, Gemma and custom licenses compared: user caps, naming rules and region limits to check before you fine-tune an open model.
Open source vs open weights
- Permissive licenses (Apache 2.0, MIT): use, change, fine-tune and sell, commercially, with no user caps. You keep the license text and notices when you pass the model on.
- Community licenses (Llama, Qwen License): commercial use is allowed, with conditions such as user caps, attribution and naming rules.
- Research or non-production licenses (Qwen Research, Mistral Research, Mistral Non-Production): fine for testing and research, not for running a business.
The license can change within one model family
The size you pick matters as much as the family. In the Qwen2.5 family, for example:
| Model | License |
|---|---|
| Qwen2.5-7B-Instruct | Apache 2.0 |
| Qwen2.5-72B-Instruct | Qwen License (commercial, with a 100 million monthly-user cap) |
| Qwen2.5-3B-Instruct | Qwen Research License (research or evaluation only) |
Read the license file in the exact repository you download from, not a blog post about the family.
What to check before you fine-tune
- Commercial use. Is it allowed at all, or only for research and evaluation?
- User caps. Do you, or will you, pass a monthly-active-user threshold that requires a separate license?
- Attribution. Do you have to show a "Built with" notice?
- Naming. Does a fine-tuned model you share have to carry the base model's name?
- Region limits. Is any part of the grant withheld in some regions?
- Use restrictions. Is there an acceptable use policy or list of banned uses that also binds your fine-tuned model?
- Access. Is the download gated behind accepting terms?
License comparison
| Model | License | What to watch |
|---|---|---|
| Qwen3.5-4B | Apache 2.0 | Standard Apache 2.0 terms |
| Qwen2.5-72B-Instruct | Qwen License | Commercial use above 100 million monthly active users needs a license from Alibaba Cloud. Models built with it and shared must show "Built with Qwen" or "Improved using Qwen" |
| Qwen2.5-3B-Instruct | Qwen Research License | Research or evaluation only |
| Llama 4 (Scout, Maverick) | Llama 4 Community License and Acceptable Use Policy | See the Llama 4 section below. Gated download |
| Mistral Small 3.1 | Apache 2.0 | Standard Apache 2.0 terms |
| Ministral 8B, Mistral Large 2411 | Mistral Research License | Personal, scientific or academic research only, non-commercial. Business use needs a separate license from Mistral |
| Codestral 22B v0.1 | Mistral Non-Production License | Testing, research and evaluation in non-production settings. Cannot be supplied as part of a commercial activity, including a hosted service |
| Gemma 4 | Apache 2.0 | Earlier Gemma versions (Gemma 3) use the Gemma Terms of Use and a gated download |
| gpt-oss-20b | Apache 2.0 | Plus a short usage policy: comply with applicable law |
| DeepSeek-R1 | MIT | |
| DeepSeek-V3 | MIT for code, DeepSeek Model License for weights | Commercial use is allowed. The model license lists banned uses (for example, military use) that also apply to fine-tuned versions |
| Phi-4, Phi-4-mini | MIT | |
| SigLIP 2 (base, patch16, 224) | Apache 2.0 | |
| multilingual-e5-small | MIT |
Llama 4 in detail
The Llama 4 Community License allows commercial use, with four conditions worth knowing before you fine-tune:
- User cap. If your products had more than 700 million monthly active users on the Llama 4 release date, you need a separate license from Meta.
- Attribution. If you share Llama 4 or a product that contains it, show "Built with Llama" on a related website, interface or documentation, and include a copy of the license.
- Naming. If you use Llama 4 to fine-tune or improve a model that you share, the new model's name must start with "Llama".
- EU limit on multimodal models. The Acceptable Use Policy says the license rights for Llama 4's multimodal models are not granted to individuals living in the EU or companies with their principal place of business there. End users of a product built on those models are not affected.
Does fine-tuning change the license?
A fine-tuned model starts from the base model's weights, so the base license still applies to it. The Llama 4 and Qwen licenses say so directly, with naming and attribution rules for models made with them. Apache 2.0 and MIT ask you to keep the license and notices when you share the model. Your own training data stays yours.
What StayCharted uses
The built-in open-weight bases listed below use Apache 2.0 or MIT. These licenses do not impose the community-license user caps, model-naming rules or regional grant restrictions discussed above. Cloud-provider models and Your AI Models connections have their own terms:
| StayChartedAI Model Trainer · model comparison | ||
|---|---|---|
| StayCharted model | Base | License |
| AI Classifier Model | multilingual-e5-small | MIT |
| AI Image Classifier Model | SigLIP 2 base | Apache 2.0 |
| Dedicated AI Model and Dedicated AI Image Model | Qwen3.5-4B with LoRA | Apache 2.0 |
More on why we chose open weights: Open-weight vs closed AI models for fine-tuning. How the Qwen fine-tune works: Fine-tune Qwen3.5 for classification.
Common questions
Is Apache 2.0 fine for commercial use?
Yes. Apache 2.0 allows commercial use, changes and redistribution. You keep the license and notices when you share the model, and state any changes you made.
Can I sell a product built on a Llama 4 fine-tune?
The Llama 4 Community License permits commercial use subject to attribution, naming and acceptable-use conditions. A separate license is required if the license’s 700-million-user test was met at release. Check the EU limitation for multimodal models and the exact terms for your use.
Are all Qwen models Apache 2.0?
No. Qwen3.5-4B and Qwen2.5-7B are Apache 2.0, but Qwen2.5-72B uses the Qwen License and Qwen2.5-3B uses a research-only license. Check each size.
Is DeepSeek open source?
DeepSeek-R1 is under MIT. DeepSeek-V3's weights use the DeepSeek Model License, which allows commercial use with a list of banned uses.
Do I need to accept a license to use StayCharted's models?
No separate model license. You use StayCharted under its own terms; the base models are Apache 2.0 or MIT.
Sources and further reading
- Qwen/Qwen3.5-4B
- Qwen/Qwen2.5-72B-Instruct
- Qwen/Qwen2.5-3B-Instruct
- Qwen/Qwen2.5-7B-Instruct
- mistralai/Mistral-Small-3.1-24B-Instruct-2503
- mistralai/Ministral-8B-Instruct-2410
- mistralai/Mistral-Large-Instruct-2411
- mistralai/Codestral-22B-v0.1
- google/gemma-4-E4B-it
- google/gemma-3-4b-it
- openai/gpt-oss-20b
- deepseek-ai/DeepSeek-R1
- deepseek-ai/DeepSeek-V3
- microsoft/phi-4
- microsoft/Phi-4-mini-instruct
- google/siglip2-base-patch16-224
- intfloat/multilingual-e5-small
- Llama 4 license
- Llama 4 use policy
- Mistral research license
- Mistral non-production license
- Gemma 4 license
Put it into practice with StayCharted
- Open-weight vs closed AI models →
- Fine-Tune Qwen3.5 for Classification Without Code →
- Text Classification With Open Embedding Models →
- Vision-Language Model vs SigLIP 2 for Image Classification →
- Hugging Face AutoTrain Alternative for Classification →
- Compare StayCharted model types →
- Security and your data →