Skip to content

Systems & architecture

#llm

6 posts tagged #llm on DiCodeWeb, from fundamentals to production, newest first.

6 postsUpdated Oct 24, 2026

Posts

LLM Cost and Latency in Production: Token Accounting, Caching, Routing and Fallbacks

What happens to an LLM feature once real traffic arrives: where latency actually comes from, a per-feature token and cost meter with tenant budgets, structuring prompts for provider prompt caching, exact and semantic caching, model routing, trimming context, batch APIs, parallel calls, retries with fallback and circuit breakers, and the dashboard I watch.

Systems & architecture8 min

Evaluating LLM Features: Knowing They Work and Keeping Them Working

Building a golden dataset from real usage, deterministic checks first, LLM-as-judge with rubrics and its biases, pairwise comparison, running evals in CI on prompt or model changes, tracking cost and latency alongside quality, online signals, tracing, and how to avoid overfitting your eval set.

Systems & architecture8 min

Structured Outputs for LLM Features: When You Need Data, Not Prose

How I build product features on LLMs that return typed JSON: structured output modes in the major APIs, defining schemas with Zod, handling refusals and truncated output, retry with repair, versioning prompts in code, realistic expectations about temperature, and designing schemas models handle well.

Systems & architecture8 min
All tags