Model licenses
The model weights served by ai-session are governed by the license each model publisher attached to them. When you run a private session for yourself, you are the licensee using the model. When you share your session's access key with labmates so they reach it over their own tunnels — the sharing model described on Coding Sessions and in the command reference — you are making the model available to other people, which is where the licenses differ. This page states, per model, what the license is, where its authoritative text sits on disk, and what you must do when you serve it to others. It is a practical summary, not legal advice; the on-disk license text is the controlling one in every case.
License at a glance
Every model this service offers is Apache-2.0 except qwen2.5_72B, which is under the
Qwen (Tongyi) community license. In the table, <models> is the service's model store,
$AISESSION_HOME/models after module load ai-session.
| Model key | License | Authoritative text on disk | What serving to others requires |
|---|---|---|---|
qwen3.8_27B |
Apache-2.0 | <models>/Qwen3.8-27B/LICENSE |
Nothing beyond keeping the license and any NOTICE with redistributed weights. |
gemma4_31B |
Apache-2.0 | <models>/Gemma-4-31B-it/README.md (front matter, with a link to Google's license page) |
Same as above. Gemma 4 is Apache-2.0 and ungated, unlike earlier Gemma releases. |
qwen3_4b |
Apache-2.0 | <models>/Qwen3-4B/LICENSE |
Same as above. |
qwen2.5_0.5B |
Apache-2.0 | <models>/Qwen2.5-0.5B-Instruct/LICENSE |
Same as above. |
qwen3.5_122B |
Apache-2.0 | <models>/Qwen3.5-122B-A10B-FP8/LICENSE |
Same as above. Registered but not in the served set; see Command Reference. |
qwen2.5_72B |
Qwen (Tongyi) community license | <models>/Qwen2.5-72B-Instruct/LICENSE |
Retain the Qwen attribution notice; observe the "Built with Qwen" and large-scale-use terms below. |
Apache-2.0 is a permissive open-source license: it places no restriction on serving the
model to other users and imposes no in-product attribution requirement. The only standing
obligation is that if you redistribute the weights themselves — copy them elsewhere, rather
than merely serve inference from them — you keep the license text and any accompanying
NOTICE with the copy. Serving these models through ai-session, whether to yourself or to
your lab, needs nothing further.
The Qwen 72B community license
qwen2.5_72B (Qwen2.5-72B-Instruct) is released under the Qwen LICENSE AGREEMENT, a
community license from Alibaba Cloud rather than an OSI-approved open-source license.
It permits research and commercial use but attaches obligations that matter once the
model is offered to others as a service:
- Attribution. Copies you distribute must retain, in a
Noticetext file, the exact line the license specifies: "Qwen is licensed under the Qwen LICENSE AGREEMENT, Copyright (c) Alibaba Cloud. All Rights Reserved." - "Built with Qwen". If you use the model's outputs to train, fine-tune, or otherwise improve another AI model that you then distribute or make available, you must prominently display "Built with Qwen" or "Improved using Qwen" in that product's documentation.
- Changed files. If you modify the materials, the modified files must carry prominent notices stating that you changed them.
- Large-scale commercial use. If you use the materials commercially in a product or service with more than 100 million monthly active users, you must request a separate license from Alibaba Cloud. This threshold is far above any RCC lab setting and is noted only for completeness.
- Trademarks. No trademark license is granted beyond what is needed to satisfy the attribution requirement above.
When you host qwen2.5_72B for your lab through ai-session, the practical duty is the
attribution notice; the full and controlling terms are in the on-disk LICENSE above.
Reading the authoritative text
Every license summarized here is quoted in full in the on-disk file listed in the
table. To read one directly on a login node (after module load ai-session), for
example the Qwen community license:
less "$AISESSION_HOME/models/Qwen2.5-72B-Instruct/LICENSE"
If in doubt about an obligation for your specific use, read the on-disk license, which controls, and raise questions about service policy with RCC staff.