67How do you estimate the true cost of self-hosting an LLM versus paying per-token API?▼hardDatabricksAWSMicrosoft2 replies◆ premiumThe per-token sticker price hides the real decision. Self-hosting only wins past a volume break-even most teams misjudge. Here is the back-of-envelope a staff engineer does on the whiteboard.Open full answer →
49Your vector index won't fit in RAM at a billion vectors. How do you choose between HNSW, IVF-PQ, and disk-based ANN?▼hardGleanPineconeAWS1 replies◆ premiumAt a billion vectors the index choice is a memory budget problem before it's a recall problem. Flat search is out, HNSW may not fit, and PQ trades recall for RAM. Here is the decision a staff engineer makes on the whiteboard.Open full answer →
63Design a multi-region, highly available LLM serving platform with failover and bounded cost.▼hardAWSMicrosoftOpenAI2 replies◆ premiumGPUs are scarce and expensive, so multi-region HA for LLMs is not just web-app HA with bigger boxes. Capacity, routing, and failover all bend around the GPU constraint. Here is the design.Open full answer →
45How do you load-test and capacity-plan an LLM inference service before launch?▼mediumAWSNVIDIAOpenAI2 replies◆ premiumLaunching an LLM service on a vibes-based GPU count is how you get paged on day one. Capacity planning for LLMs differs from web services because tokens, not requests, are the unit. Here is how to size it.Open full answer →
65Reasoning models made your traffic decode-heavy: 30k thinking tokens per request. What changes in your serving stack?▼hardNewOpenAIAnthropicNVIDIA◆ premiumWhen every request thinks for 30,000 tokens, serving flips from compute-bound prefill to memory-bound decode, and the KV cache becomes the resource you actually schedule. The levers that ruled chat traffic stop being the ones that matter.Open full answer →