YOLOv12 is an attention-centric real-time object detection model developed by researchers at Tsinghua University, with the arXiv paper published in February 2025 under the AGPL-3.0 license. It introduces an Area Attention module that partitions feature maps into regions and applies self-attention within each region, reducing the quadratic complexity of full self-attention while capturing long-range dependencies. It also incorporates R-ELAN for improved feature aggregation and scaled residual connections for training stability.
YOLOv12-L achieves 54.0% AP on COCO, while the YOLOv12-N variant achieves 40.5% mAP at 1.62ms latency on an NVIDIA T4 GPU. The model is built on the Ultralytics codebase, supporting detection, segmentation, and other standard YOLO tasks at competitive real-time speeds.
Other models worth comparing for similar use cases.
License terms and commercial-use guidance for YOLOv12.
YOLOv12 is licensed under an AGPL-3.0 license.
This means that YOLOv12 is available for private and commercial use, but that you will need to follow specific conditions. For commercial use, you need to follow AGPL-3.0 conditions or purchase a license for commercial use, modifications, and distribution.
Using an AGPL-3.0 licensed model is conditioned on making available complete source code of licensed works and modifications, which include larger works using a licensed work, under the same license. Copyright and license notices must be preserved. Contributors provide an express grant of patent rights. When a modified version is used to provide a service over a network, the complete source code of the modified version must be made available.
To use YOLOv12 in a commercial project without the AGPL-3.0 conditions, you need a license. As a paid Roboflow customer, you automatically get access to use any YOLOv12 models trained on or uploaded to our platform for commercial use. This is secured under Roboflow's sub-license agreement with Ultralytics, on which YOLOv12 depends.
If you are a free Roboflow customer, you can use YOLOv12 in any way if using our serverless hosted API and can use YOLOv12 models commercially self-hosted with a paid plan.
To learn more about model licensing with Roboflow, refer to our Licensing guide.
AGPL-3.0 closes the "SaaS loophole" in GPL-3.0: even hosting the model behind an API counts as distribution and triggers the source-disclosure requirement.
License information is provided as a guide and is not legal advice.