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

CLAUDE.md Entries That Disable Opus 4.7’s Human-Pacing Behavior
Three CLAUDE.md directives that suppress Claude 4.7 Opus's break suggestions, time overestimates, and phase-splitting during long coding sessions.

AI Agents Exposed My Sloppy Prompts: Clarity Beats Smarter Models
A Reddit post reveals that AI agents don't magically fix unclear tasks — they just make the feedback immediate. The real problem was the user's own lack of clarity.

OpenClaw on M4 Pro: Hitting Walls with Browser-Use, Computer-Use, and Codex
A user reports agents stuck in terminal loops, getting blocked on sites, and broken Codex outputs, seeking config tweaks for the automation browser, macOS GUI control, and interrupt loops.

Agent Framework Token Bloat: A 500:1 Input-to-Output Ratio Is Normal
A self-hosted agent framework user reports ~21k input tokens per message and 500:1 input-to-output ratio from tool definitions, system prompt, and memory. Community confirms 15-25k baseline context is common for tool-using agents.