After training the yolo model, if it is to be commercialized, is it necessary to pay for it

Regarding my use of yolo’s code (without any modifications) and the pre-trained pt model of yolo to train my own dataset, and then deploying the trained model to edge devices, for instance, if I purchase a development board myself and deploy it, and I want to sell the development board and the trained model, do I need to pay?I have looked at AGPL-3.0, so do I need to make my dataset and model public?

You should submit a license request:

and someone will be able to help answer questions for your specific use case. In general, whenever Ultralytics YOLO is used commercially as part of a distributed product or service, you are bound to AGPLv3 terms to either open source your work. Ultralytics has an option for you to obtain a commercial license that you grants you permission to distribute products or services using Ultralytics YOLO without requiring you to make your project open source.