Tanks get cheaper as you get smaller too so having a solid plan helps but that is difficult as a beginner because you don't know what you don't need.
This is my Marineland 5g AIO. I got it on sale on amazon for $50 (it is $63 currently) and it comes with a glass lid and a return pump.
I replaced the light with a used light for $100 but you can use a Hipagero on this size tank for $60.
50w Jager Heater: $25
Jebao $54
Inkbird: $30
It needs no ATO because of the glass lid. I just stuff some floss in the overflow area to catch debris as my only filtration.
I have
never tested or dosed anything to this tank and it has been set up for a year. I just do weekly water changes.
So you need $232 if you bought that list right now. That should leave enough money to easily budget under $500.
Stock wise I have 2 tiny blennies, a goby, a saron shrimp, pom pom crab, porcelain crab and a few snails. There is lots of life in such a tiny tank. It isn't prefect and I can't keep acro's happy but it has been successful for a budget pico that is is strictly run on weekly water changes.