Tagged “Llm”
8 articles with this tag.
- Claude models & selectionThe Claude model family in November 2026 — Fable, Opus, Sonnet and Haiku — with context windows and prices, how adaptive thinking and effort levels work, a task-to-model guide for product and engineering work, routing and fallbacks, and how to run your own selection.
- Training, scaling & samplingHow foundation models are made and why they behave as they do: training data and its biases, model size, parameters, tokens and FLOPs, scaling laws and compute-optimal training, supervised fine-tuning, preference fine-tuning (RLHF, DPO), sampling strategies, test-time compute, structured outputs, and the probabilistic roots of inconsistency and hallucination.
- How LLMs workTokens, embeddings, the transformer, attention, context windows, sampling and the training stages that turn a next-token predictor into an assistant — explained simply, with diagrams and review questions.
- Inference, latency & costWhat happens when you call an LLM: prefill and decode, the KV cache, time to first token, throughput, batching, streaming, quantization, prompt caching, rate limits and how to estimate cost.
- Model selectionHow to choose LLMs: capability tiers, open-weight vs proprietary, benchmarks and their limits, a weighted scoring matrix, model routing and cascades, and avoiding lock-in.
- Prompt & context engineeringSystem prompts, few-shot examples, chain-of-thought, structured output, prompt templates and context engineering — how to make LLM behaviour reliable enough for production.
- Prompting vs RAG vs fine-tuningThe three ways to adapt an LLM to your enterprise — what each changes, what each costs, when to use which, and how LoRA, PEFT and distillation fit in. With a decision tree.
- Claude API for buildersBuilding product features on Claude: the Messages API, effort and thinking, tool use and the tool runner, structured outputs, prompt caching, streaming, batches, long-running agents (compaction, Agent SDK, Managed Agents), Spring AI, cloud deployment options and production error handling.