67How do you estimate the true cost of self-hosting an LLM versus paying per-token API?▼hardDatabricksAWSMicrosoft2 replies◆ premiumThe per-token sticker price masks the real decision. Self-hosting only pays off 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 question before it's a recall question. Flat search is off the table, HNSW may not fit, and PQ swaps recall for RAM. Here is the call 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 costly, so multi-region HA for LLMs is not simply web-app HA with bigger machines. 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 guessed 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?▼hardOpenAIAnthropicNVIDIA◆ premiumWhen each request thinks for 30,000 tokens, serving swings from compute-bound prefill to memory-bound decode, and the KV cache turns into the resource you genuinely schedule. The levers that governed chat traffic stop being the ones that count.Open full answer →
68What is goodput for an LLM service, and why is tokens per second a vanity metric?▼hardOpenAIAnthropicNVIDIA◆ premiumRaw tokens per second is gameable: crank the batch size and the dashboard looks great while every request misses its latency target. Goodput is the throughput that actually meets your SLOs, and it is the number you size and autoscale on.Open full answer →