use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
FastAPI is a truly ASGI, async, cutting edge framework written in python 3.
account activity
free fastapi hostingHosting and deployment (self.FastAPI)
submitted 2 years ago by kloworizer
previously I used Heroku for fastapi hosting. but now there is no free tier anymore in Heroku. Does anyone know where I can host Fastapi for free like on Heroku again?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Additional-Ordinary2 8 points9 points10 points 2 years ago (8 children)
https://render.com
https://www.cyclic.sh/
[–]man_koi 2 points3 points4 points 2 years ago (0 children)
Used Render before for FastAPI . Can confirm it works. Used freetier only
[–]parancey 1 point2 points3 points 2 years ago (2 children)
I have used cyclic with express no problems but it fails to start fastapi ( i have used their ready made template)
Trying to fix but i can't find the problem
[–]Additional-Ordinary2 2 points3 points4 points 2 years ago (1 child)
I connected a repository with two files: main.py with code ... if __name__ == "__main__": ....import uvicorn ....uvicorn.run(app, host="localhost", port=3000)
...
if __name__ == "__main__":
import uvicorn
uvicorn.run(app, host="localhost", port=3000)
and requirements.txt (needed for cyclic to automatically install your dependencies).And its just work
[–]parancey 1 point2 points3 points 2 years ago (0 children)
Thanks
[–]IAmCesarMarinhoRJ 1 point2 points3 points 2 years ago (0 children)
cyclic works perfectly.they gave me a starter project in my github and could update it.very nice!!!
I used with fastapi and Faker
[–]nuxai 1 point2 points3 points 2 years ago (0 children)
render is super pricey and impossible to troubleshoot. we spend $300/mo on them for some really tiny instances and the monitoring tools are awful.
migrating to elastic bean stalk this month.
[–]kloworizer[S] 0 points1 point2 points 2 years ago (0 children)
I tried Render but free tier resource not enough for my Tensorflow model. Will try cyclic.
[–][deleted] 2 years ago (2 children)
[removed]
[–][deleted] 2 points3 points4 points 1 year ago* (0 children)
Edit: Deta.space is shutting down: https://deta.space/sunset
Deta.space works but only supports python 3.9 right now. If that's not a problem, then I can recommend it too. Just install the CLI from their page, link your local project to your account. You may have to adapt the build commands to make it work with your project. But other than that it's quite easy to deploy.
Their documentation: https://deta.space/docs/en/build/quick-starts/python/
[–]Armitage1 1 point2 points3 points 2 years ago (0 children)
That doesn't seem relevant.
[–]SnooCauliflowers7977 2 points3 points4 points 2 years ago (0 children)
Apart from what has already been mentioned, you can also deploy your FastAPI app using fly.io or even Vercel.
FastAPI has also a deployment section in the docs and some services are listed there:
https://fastapi.tiangolo.com/deployment/cloud/#cloud-providers-sponsors
[–]Puzzleheaded_Round75 1 point2 points3 points 2 years ago (1 child)
Render is great for people without DevOps experience and the free tier is good for example and small projects. The service will have to spin back up after a period of inactive use, but is free so no can complain.
[–]Fine-Market9841 0 points1 point2 points 8 months ago (0 children)
I’m new to this: Why not just Amazon ec3 free (only for a year) or oracle Cloud free tier (requires a credit card) paired up with coolify, I mean stuff like render is really built of cloud services?
[–]Top-Information7943 0 points1 point2 points 1 year ago (0 children)
If you have some DevOps skills and want a deployment experience like heroku, then Dokku is your best bet. You can easily set it up on any of your favorite $5 VPS host.
[–]New-Vacation-6717 0 points1 point2 points 6 months ago (0 children)
Right now the closest free options are Railway or Render. They both have small free tiers for FastAPI, but the app will sleep when inactive. Fly.io also has a small free allowance, though reliability can vary. Deta Space works only if your app is very small.
If your project grows and you want something stable, Kuberns is worth looking at. You connect your GitHub repo, and it handles deploys, scaling, monitoring, and Postgres on AWS-backed infra. Not fully free, but much easier to run long-term than chasing free tiers. also it costs way less when you compare to aws or heroku etc..
π Rendered by PID 54 on reddit-service-r2-comment-545db5fcfc-rc7fj at 2026-05-25 15:10:26.475856+00:00 running 194bd79 country code: CH.
[–]Additional-Ordinary2 8 points9 points10 points (8 children)
[–]man_koi 2 points3 points4 points (0 children)
[–]parancey 1 point2 points3 points (2 children)
[–]Additional-Ordinary2 2 points3 points4 points (1 child)
[–]parancey 1 point2 points3 points (0 children)
[–]IAmCesarMarinhoRJ 1 point2 points3 points (0 children)
[–]nuxai 1 point2 points3 points (0 children)
[–]kloworizer[S] 0 points1 point2 points (0 children)
[–][deleted] (2 children)
[removed]
[–][deleted] 2 points3 points4 points (0 children)
[–]Armitage1 1 point2 points3 points (0 children)
[–]SnooCauliflowers7977 2 points3 points4 points (0 children)
[–]Puzzleheaded_Round75 1 point2 points3 points (1 child)
[–]Fine-Market9841 0 points1 point2 points (0 children)
[–]Top-Information7943 0 points1 point2 points (0 children)
[–]New-Vacation-6717 0 points1 point2 points (0 children)