Additional SQL Server features and topics not covered by specific categories
Here is Microsoft pricing page:
https://www.microsoft.com/en-us/sql-server/sql-server-2022-pricing
the price depends on license model. Either you buy a core license (based on the number of cores the hosting machine has) or buy a CAL license for every user/device (either direct access or through an application). For internet use, only the core model is supported.
If you buy core license you buy enough 2 core packs that all the cores the hosting machine are covered. If hosted in a virtual machine, the number of cores in the virtual machine. The minimum is 4 cores even for a one core machine.
If you buy enterprise you should also get a software assurance plan.