inference cost
Inference cost is the hidden tax on every AI application that reaches production. Engineers from LinkedIn, Netflix, DoorDash, and Shopify all confront the same math: longer prompts mean slower responses and higher bills. This section covers how they solve it. Yandex Music's team replaced 15 specialized candidate generators with one transformer called Sona. Full attention over 8,192 events was too expensive, so they built History Compression, a technique that roughly halves inference cost by splitting history into older and recent blocks. The result: +4.53% Active Users and +6.30% Total Listening Time in a 7-day A/B test on smart speakers. Shopify introduced gisting, which compresses long LLM prompts into smaller sets of learned tokens, improving throughput. Smart caching strategies from Analytics Vidhya show how reprocessing the same tokens wastes compute. And QCon AI New York's December 2026 program dedicates talks to inference cost alongside agent permissions and eval loops. The pattern is clear: leaner inference is not a luxury. It is the difference between a demo and a deployed system.

Inside Production AI at LinkedIn, Netflix, and DoorDash
Engineers from LinkedIn, Netflix, and DoorDash are pulling back the curtain on what it actually takes to run AI in production. QCon AI New York's full program, out December 15-16, covers agent permissions, eval loops, inference cost, and team adoption, real problems, not theory. If New York's new AI safety law has you thinking about developer transparency, their coverage of guardrails offers a practical parallel. This is a grounded look at systems that already work at scale.
One transformer model replaced 15 specialized generators in Yandex Music's A/B test
One transformer replaced 15 specialized generators in Yandex Music's production stack. That's the kind of result that makes you rethink how we build recommenders. Sona, their single-model generative recommender, achieved a +4.53% lift in Active Users and +6.30% in Total Listening Time on smart speakers. History Compression cuts inference cost roughly in half while retaining most of the quality. For deeper context on how models manage long contexts efficiently, see our article on smarter token compression techniques.

Build leaner AI apps with smarter token compression techniques
Building leaner AI apps doesn't have to mean sacrificing quality. Smarter token compression techniques let you reduce costs while actually improving response accuracy. These prompt engineering strategies strip away the noise, keeping only what matters for your model. It's a practical shift: spend less on tokens, get better outputs, and ship lighter applications. For a real-world example, see how one developer slashed AI search costs while keeping queries accurate. The approach is straightforward, and the results speak for themselves.

Smart Caching: Optimizing LLM Performance and Reducing Costs
Every request your LLM handles may carry millions of tokens, yet much of that data repeats across calls. Reprocessing it wastes time and drives up compute costs. Smart caching targets exactly this waste, and the new piece breaks down the four cache layers that make serving faster and cheaper. It's a practical read for anyone tired of paying twice for the same work. For a deeper look at distributed systems, our guide to distributed algorithms pairs well with this one.

Shopify's Gisting Technique Compresses AI Prompts for Faster Inference
Shopify's engineering team has introduced gisting, a technique that compresses long LLM prompts into a smaller set of learned tokens. The result? Better throughput and lower inference costs without sacrificing performance. That's a practical step toward making AI more accessible, especially for teams wrestling with unwieldy system prompts. We see this as a meaningful move for developers who want efficiency without complexity.