You wrote a Flask or FastAPI app, it works on localhost:8000 , and now it needs a URL that answers on the first request, every time. Most "free Python hosting" answers fail that test, because the free tiers sleep.
Short answer: for most small Flask or FastAPI apps, the best always-on pick is InstaPods at $3/mo flat : 1 vCPU, 512 MB RAM and 10 GB disk on a real server with SSH, it never sleeps by default, and there is no usage meter. If you only want the lowest number, Fly.io is $2.19/mo for 256 MB in iad/ewr, after you turn off its default auto-stop, billed by usage (its Free plan's $5 of usage a month with a card covers that machine, but past $5 the whole month bills from the first cent). A $4/mo DigitalOcean Droplet works if you are happy to configure nginx, systemd and TLS yourself. Render ($7 for 512 MB), Heroku Basic ($7 for 0.5 GB) and PythonAnywhere Developer ($10) cost more. Vercel is cheap but runs Python as functions, not as an always-on server.
Disclosure: we build InstaPods.…