Seriously, try older models. For a lot of homelab experimentation, you can do fine with 1 to 4 GB ram older pis, like pi 3 or 4. The price is going to be way lower in comparison to a pi 5.
It depends of course on what you're doing, but there's a tendency for people to get the latest and greatest pi when older are just fine and far cheaper.