cd /news/large-language-models/what-is-inference-engineering-the-la… · home topics large-language-models article
[ARTICLE · art-62313] src=pub.towardsai.net ↗ pub= topic=large-language-models verified=true sentiment=· neutral

What Is Inference Engineering? The Layer Doing 80% of Your LLM Bill.

A five-engineer team on Sonnet 4.6 saw a $4,800 monthly bill for Claude Code sessions, with only $960 attributed to the model itself and $3,840 coming from inference engineering — the layer between the model and the invoice. In 2026, new levers such as vLLM's FP8 KV cache (adding 15% throughput on Llama-3.1-8B), Ollama's MLX framework (nearly doubling Qwen3.5-35B token speed on M5 Max), and DeepSeek's prompt cache (running at 120x cheaper) can cut costs by 10x when pulled in the right order.

read1 min views59 publishedJul 16, 2026
What Is Inference Engineering? The Layer Doing 80% of Your LLM Bill.
Image: Pub (auto-discovered)

Member-only story

FP8 KV cache, prompt caching, quantization, speculative decoding, MoE routing. The five 2026 levers between your model and your invoice, ranked by which one to pull first. #

Read the article for free

[.]here There is a layer between your model and your invoice. It has five levers. Pull the wrong ones and your bill is 10x what it should be. Pull the right ones in the right order and it is 10x less.

Take a bill a five-engineer team on Sonnet 4.6 has seen. Around $4,800 for one month of Claude Code sessions, agent turns, and tool-heavy calls.

The Sonnet line item is $960 of it. The rest **$3,840 **lives in a layer most engineers do not touch.

The layer got a lot of new shape in the first half of 2026. In April, vLLM shipped FP8 KV cache, storing attention memory in 8-bit floats instead of 16, which adds about 15% throughput on Llama-3.1-8B

. In March, Ollama shipped MLX, Apple's tensor framework tuned for M-series Macs, which nearly doubled Qwen3.5-35B

token generation speed on the same M5 Max. DeepSeek's prompt cache, which reuses precomputed attention state when your prompt prefix repeats, started running at 120x cheaper per…

── more in #large-language-models 4 stories · sorted by recency
── more on @sonnet 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/what-is-inference-en…] indexed:0 read:1min 2026-07-16 ·