Ive been hosting basic WP sites and personal portfolios on shared hosting for like a decade now, so I really thought I had a handle on this stuff. But lately Ive been getting super into LLMs and I just finished building a little tool that uses the OpenAI API to summarize technical documents for my dev group here in Chicago. The prototype is working great locally, and since my monthly budget is basically non-existent right now, I was really hoping I could just throw the backend on my existing shared plan instead of paying for a dedicated VPS or spinning up something in AWS.
I mean, its just making API calls, right? It doesnt actually run the model locally. But then I started thinking about the timeout limits on these cheap shared servers and how they might handle the concurrent requests if a few friends start using it at once. Plus, I dont even know if I can install the necessary python dependencies or if the environment will just block me immediately. Is this actually doable, or am I just setting myself up for a massive headache and a site suspension notice by next week?
Forget shared hosting. It will crash. Just grab a cheap DigitalOcean Droplet 1GB RAM 1 vCPU instead. It is way more reliable for your API calls and honestly barely costs anything.
@Reply #1 - good point! But honestly, jumping straight to a VPS might be overkill if you just need a place to run some basic Python scripts without managing an entire OS. In my experience, shared hosting environments are usually locked down tight so you wont even be able to manage your own virtual environment or install standard libraries via pip, which is basically a dealbreaker. If you want to keep costs near zero but actually have a functional environment for your LLM calls, look at these instead:
Honestly, trying to force Python scripts onto a standard shared hosting plan is just asking for a ban. Most of those providers kill processes that hit the CPU hard for more than a few seconds, so even a simple API request loop might trigger their alarms. If you want to keep costs near zero but actually have your app run properly, you should look into platforms that handle the containerization for you.