LLM Inference Engineering

The engineering side of serving models in production: model routing, prompt caching, API migration, and vendor evaluation. Written for the people who own the endpoint when it pages.

Inference

Structured Outputs: JSON You Can Actually Parse

The most common LLM integration failure is the answer that will not parse: JSON mode, schema enforcement, and the validation gate that makes output trustworthy.

8 min readAug 26, 2026
Inference

Prompt Injection: The Threat Nobody Budgeted For

Prompt injection needs no exploit — just a sentence in the input: the threat model, the defense layers, and why the tool list is the blast radius.

8 min readAug 26, 2026
Inference

What Is a Token, Anyway?

What a token actually is: how the tokenizer cuts text, why language and format change the count, and how to measure instead of guess.

8 min readAug 24, 2026
Inference

Streaming: Why First-Token Time Beats Total Time

Users forgive long answers that start fast and never forgive silence: first-token time, streaming mechanics, and the rendering loop that changes the feeling.

8 min readAug 21, 2026
Inference

Semantic Caching: When the Answer Already Exists

Semantic caching returns stored answers for new questions that mean the same thing: when it pays, the false-hit problem, and the invalidation nobody demos.

8 min readAug 19, 2026
Inference

The Catalog Moves: Living With Model Versions and Deprecations

Model catalogs move: versions ship, prices change, old ids retire. Pin vs float, what a healthy deprecation policy looks like, and how to never miss one.

8 min readAug 10, 2026
Inference

Timeouts, Retries, Idempotency: The Resilience Checklist Nobody Writes Down

Every LLM integration fails the same five ways. The unglamorous checklist — timeouts, retries, idempotency, circuit breakers, degradation — in one place.

8 min readAug 5, 2026
Inference

Latency Is a Feature You Pay For

LLM latency is three numbers, not one: time to first token, per-token speed, total time. What each is ruled by, and which knobs you actually control.

8 min readJul 27, 2026
Inference

Rate Limits Are an Architecture Input, Not an Error

A 429 is not an exception, it is the contract. Reading rate limits as a capacity plan, the four patterns that absorb them, and what retry storms cost.

8 min readJul 22, 2026
Inference

The Enterprise Inference Vendor Checklist

A procurement-ready checklist for evaluating LLM inference providers: data policy, pricing transparency, reliability evidence, catalog, and exit terms.

8 min readJul 10, 2026
Inference

Prompt Caching and the Economics of the Static Prefix

The static prefix is the quiet multiplier on the bill: how prompt caching works, the prefix rule that earns the discount, and the five things that poison it.

8 min readJul 6, 2026
Inference

Why Hard-Coding One Model Is Now Your Biggest AI Cost Line

Pinning every request to one LLM feels simple. It quietly sets your price ceiling, your quality floor, and your negotiating position.

9 min readJul 3, 2026
Inference

What "OpenAI-Compatible" Actually Buys You

Every inference provider claims an OpenAI-compatible API. What compatibility actually covers, what it leaves behind, and how to test it in an afternoon.

9 min readJul 1, 2026
Inference

Embeddings and Vector Search: The Hidden Cost

Embeddings and vector search sit between question and answer — and their cost is rarely priced right. The three bills, the index lifecycle, and the quality dials.

8 min readMay 11, 2026
Inference

LLM Observability: What Logs Miss

Logs show what happened; traces show why. The observability stack that catches drift, the dashboards that earn their noise, and what to watch first.

8 min readMay 8, 2026
Inference

Quantization: Smaller Models, Cheaper Bills

Quantization shrinks models, speeds them up, cuts the bill — at a quality price. The mechanism, the eval discipline, and when to leave the weights alone.

8 min readMay 6, 2026
Inference

Context Window Management Without Losing the Thread

Every conversation eventually outgrows the context window. Summarization, retrieval, and the other strategies — and what each one costs in fidelity.

8 min readMay 4, 2026