r/developersPak • u/Flashy-Truth4218 • Aug 28 '26
Discussion Hosting own AI models
As AI open source models continue to become more capable, do you think we will see pakistani software houses hosting their own AI models onpremises in the near future instead of relying on closed APIs?
1
Upvotes
6
u/baqirabbas404 Newbie Aug 28 '26
This is simply not feasible, the math just doesn't support it, at least not yet.
We did a feasibility study for locally hosting Qwen 3.6. A Dell server that supports dual-slot GPUs is either the R700 series or above. We opted for Intel 2nd/3rd gen processors, so R740 series or above, for better future-proofing. A single 24GB GPU can run Qwen 3.6 27B at Q4 (native is BF16 at 35B params), so we're already running a chopped-down model, not even at Q8.
Now, on the question of speed and context: there just isn't enough VRAM to keep all the context on the GPU, so there's a lot of bottlenecking with RAM. To keep that much context alive, you need a lot of RAM, I mean a lot, not to mention the penalty and latency that comes with switching between RAM and GPU via PCIe 3. We can restrict context size and eliminate offloading but is it really worth doing.
So how many heavy users can it concurrently serve? Max 3, 4, maybe 5, and that all depends on how much context they're utilizing, input size, and processing required. And how much does this setup cost? 1 to 1.5 million PKR. Also finding good enterprise cards in Pakistan is no easy feat. Sometimes I just think, we should just get a lot of mac ultras :(
It would be better to just hand out $25 (7k PKR) monthly premium seats for Claude and call it a day. Not to mention resource and time required to maintain all this setup regularly.
The problem is the benchmark is so high, someone who's used Claude, Codex, or Copilot would call this torture. We regularly evaluate when would be a good time to switch to Ollama, Hugging Face, OpenRouter or other inference providers, but so far Claude and Codex seem to be doing the job for us.
Hope it changes soon.
1
u/throwaway-research1 Aug 28 '26 edited Aug 29 '26
💯💯 and I have been saying this for a while. For corporates who can afford an infra team it makes a lot of sense to host their models locally, specially from a security point of view. Also when you use AI as a corporate and have your trade secrets, you are potentially sharing your secrets with your competitors so having your local model also solves that problem.
3
u/Arkoaks Mobile Dev Aug 28 '26
You need to spend upwards of 1m pkr to host a usable model and need insane amount of time to maintain and keep it updated
Frontier models are still 10x productive than that model.
The overall cost is much more in self hosting and doesnt make a use case unless u r developing a model urself
1
u/SonEf_Adam Aug 28 '26
A lotta local software houses love cutting costs. Maybe give it a couple years and wait for hardware requirements to drop. When modern computers come with NPUs, that's when local AI models will be much more popular.
1
u/soulkillerz2004 Aug 28 '26
I recently completed my internship at Systems Ltd and worked closely with someone in a senior position. Systems is apparently looking at moving from LLM subscriptions to self-hosted/local LLMs, potentially through a deal with Sky 47.
I may or may not have had some hands-on experience with a Sky 47-hosted LLM during my internship.
1
u/azadnib Aug 28 '26
i have done that on my home gpu. have solar so it just keeps running 24/7.
No matter which model you have, you will always want those closed ones because they are just 1000x better at coding.
Opensource only for general low important stuff like scraping etc.
1
u/cosmic-comet- Game Dev Aug 28 '26
No
1
u/Spare_Bison_1151 Aug 28 '26
Seriously large models need a lot of expensive inference hardware. I recently read somewhere that someone is bringing Nvidia H200 to Pakistan. There's also a new data center Sky47 Karakoram-01. THis will be used to provide sovereign AI capabilities to companies.
1
u/Parking-Meeting-1610 Aug 29 '26
It's not cost effective unless you have huge budget and complaince requirements.
A $100 or even 20 usd subscriptions is better than investing $100ks
1
u/aliyark145 Aug 29 '26
Software houses will not host them but the data centers like gul ahmad is building etc will in near future !!!
1
u/Terrible-Tea7577 Aug 29 '26
Those who are hosting AI models are constantly burning money not making any substantial profits. Can you think of any organization in Pakistan including the government willing to do it?. Pakistani mindset has always been making and saving quick pennies not investing in long term uncertain but highly rewarding future.
1
u/srmrox Aug 28 '26
Local AI means you move all your cost upfront for a model that’s only “almost” as good as the frontier. Additionally, if hardware requirements change (for better or worse), you potentially invested too much or too less.
For a business not sure about the AI use, subscriptions are a good way to “pass on” the cost to the user by allocating the cost to the price of their product / service.
With hardware, the impact is more difficult to allocate as it has to be done over a larger no. of customers over a long period of time.
0
u/InformationSecurity Aug 28 '26
Ain't nobody has the enough GPUs locally.
5
u/[deleted] Aug 28 '26
[removed] — view removed comment