No open source license allows you to charge for software or services. The GPL simply says that if you are distributing a modified version of some GPL software, your changes should also be released under the GPL. He does not say that you should distribute your modified version at all, if you do not want it, only if you do, you should do it under the GPL.
The Affero GPL goes further than this and says that if you use the AGPL software to manage your network service, then you should release any changes you make to the software in the AGPL. In other words, providing public access to the service is treated in the same way as software distribution.
Of course, if you own the copyright (all parts) of this software, then you can release and / or use it for free under any licenses that you have chosen. You can release it (A) the GPL, but also provide the option of a commercial license or release the main software like AGPL, and then run your own service that will add your own custom extensions whose code you don't release, an open source license says : anyone can use this software in accordance with the terms of the [GPL / Apache / independently] without requesting special permission, "but you, as the copyright holder, can provide other licenses to determine nnyh people / affairs, including (obviously) own.
source share