Hello @ivii_hardcoder ,
An IoT Hub is a resource within your Azure subscription.
There is a free tier:
Together with other Azure resources which are free (for 12 months of forever) you can start a basic Azure experience without spending a lot of money.
An alternative is using Azure IoT Central which offers a trial version. The first two devices in an application are always free.