Technically it doesn't cost anything. You simply download the server launcher from here: http://www.minecraft.net/download.jsp and set it up on your own PC.
I would only recomend this for personal use, though.
The price of a server varies depending on how you set it up. You could even turn an old PC into a minecraft server if you really wanted to.