So I have been building standard web apps for like 8 years now, mostly Docker stuff on AWS ECS or just throwing things on Vercel. But I am finally dipping my toes into hosting open-source LLMs for a new client project and man, the infra side of this is a whole different beast. I am super excited to get this out there but the hosting costs for GPUs are throwing me for a loop.
We are building a custom support agent using a fine-tuned Llama 3 8B model. The client is based in Germany so I need something with decent European latency. Here is what I am trying to figure out:
I looked at Replicate and RunPod but keeping a dedicated GPU instance running gets pricey fast, and the serverless cold starts on some of these platforms seem brutal. What hosting services are you guys using to deploy these mid-sized models without breaking the bank?
> serverless cold starts on some of these platforms seem brutal Yeah, I tried running that on a NVIDIA A10G GPU on RunPod but the cold starts unfortunately killed our UX. Had to switch to a dedicated NVIDIA L4 GPU on GCP instead.
In my experience, serverless is the only way to hit that budget for Llama 3 8B. I've tried many setups over the years, and you should look at Baseten or Modal. Here is what works best:
Like someone mentioned, those cold starts are a total vibe killer for real-time chat! I ran into the same wall with a project last year and it was honestly so frustrating to watch the loader just... spin. Before I dive into what worked for me, are you gonna run it at FP16 or are you looking at quantization? Tbh that makes a massive difference for staying under that 150 budget!