A 64K intro is a demo whose executable is limited to 65,536 bytes, and Farbrausch released fr-08 in that category at The Party in 2000. The demoscene turned a fixed budget into a craft.
Inference work runs on budgets of that kind. A token budget caps what a request may spend, and a latency budget caps how long the first word may take.
A demo coder gives up bytes, and an inference engineer can give up answer quality. That loss has to be measured before it ships.
Latency and cost come from a small set of mechanisms, and each one trades against quality in a way that can be measured.
Latency
- What Time to First Token (TTFT) Measures. Covers how to measure and reduce the wait before the first word appears.
- Speculative Decoding: Speeding Up LLM Inference. Explains how a smaller draft model predicts tokens for a larger one to speed up generation.
- Where Voice AI Latency Comes From. Adds up a voice agent turn stage by stage and argues that endpointing is where to spend effort first.
Throughput and cost
- LLM Inference Optimization: What Actually Works in Production. Covers which optimizations are engine defaults in late 2026 and how to size the KV cache.
- What Happens When the KV Cache Fills Up. Explains the KV cache, sizes it from a model config, and compares what each eviction policy keeps when it fills.
- How Mixture of Experts (MoE) Models Work. Explains how a mixture-of-experts model activates a fraction of its parameters per token, and what that costs in memory.
- LLM token budgets: a practical guide to cost control. A guide to token budgets as a way to keep LLM spend predictable.
Context and output
- LLM Context Windows Explained. Explains why the middle of a long context gets less attention, what context rot is and what a long context costs.
- Structured Outputs with LLMs: JSON Mode, Function Calling, and When to Use Each. Separates JSON mode from structured outputs and function calling by what each one guarantees.
Where should inference optimization start?
Start by measuring the wait a user sees, which is time to first token. The guide to LLM inference optimization then says which techniques are already engine defaults.
Related topics
Memory holds what the context window cannot, and the AI agent memory topic covers that system.
Retrieval decides which tokens enter the context in the first place, covered in the RAG pipeline topic.