LLM Inference: Techniques for the Efficient Frontier
Baseten breaks down LLM inference engineering into two categories: techniques that move a deployment along the latency–throughput efficient frontier, and techniques that push the entire frontier out. This distinction matters when you're deciding whether to tune settings or adopt a new approach.
Techniques that manage tradeoffs
These let you target a specific point on the frontier—like favoring latency for interactive users or throughput for batch workloads. The frontier is jagged, so expect to find cutoff points empirically.
- Batch sizing – The number of concurrent requests. Small batches give excellent per-user latency but high cost per token. Large batches improve throughput and lower cost at the expense of latency.
- Parallelism strategy – How the model is split across GPUs. Increasing Tensor Parallelism (TP) lowers latency via fast NVLink all-to-all communication. Expert Parallelism (EP) can be tuned: lower EP for better latency, wide EP (across a rack) for throughput. Attention Data Parallelism (ADP) replicates attention layers to boost system throughput at the cost of per-request speed.
- Quantization – Running with lower precision (weights, activations, KV cache) improves latency and throughput. It introduces a quality–efficiency tradeoff, which can be jagged—some quantization levels offer big serving gains with little quality loss.
Techniques that push out the frontier
These create more headroom to allocate as you see fit. Baseten gives examples like using better hardware or algorithmically more efficient attention mechanisms.
The article assumes you're running a model like GLM-5.3 or Kimi K3 for agentic coding, with KV cache reuse and KV-aware routing already enabled.
For a deeper dive into which techniques fall into each category and how to measure the tradeoffs, read the full post.
📖 Read the full source: HN LLM Tools
👀 See Also

AGENTS.md Pattern for React Native: Claude Code Generates Better Project-Aware Code
A Reddit user shares their AGENTS.md file for React Native/Expo projects that includes folder structure, theme tokens, custom hooks, and component patterns. The result: Claude Code and Cursor generate code using the exact project conventions instead of generic React Native code.

How to Cut OpenClaw Agent Costs by 80% with Model Switching
A user tracked token usage for 14 days and found 67% of spend was on tasks where cheap Flash models matched Opus quality. Switching to Flash by default and using /model mid-session cut costs from ~$170 to ~$35/month.

Spent $850 on OpenClaw in One Month? Fix Your Architecture, Not Your Model
A developer burned $850 in a month on OpenClaw multi-agent setup — with $350 gone in a single day. The fix wasn't a cheaper model — it was system design: strict context pruning, session resets, n8n for non-reasoning tasks, and a routing tier for cheap vs. strong models.

Get Emoji-Decorated Checklists in Claude by Adding One Line to CLAUDE.md
Add a one-line marker set to your user-level CLAUDE.md to make Claude decorate checklists with status emojis — 14 fixed icons for done, running, failed, blocked, etc.