Skip to content
All articles
BLOG / TOPIC

Cost and production

Cost and reliability are design decisions. These articles cover where LLM spend goes and the levers that reduce it, in the order that protects quality.

8 articles on this topic

Ordered from foundations to advanced, newest first within each level.

  1. How to choose an AI model for everyday work, not by releaseMatch model tier to task, test on your own work, and stop re-deciding with every launch. A practical guide using one vendor's published lineup as an example.Foundations 8 min readLast reviewed 2026-10-28
  2. Context engineering vs prompt engineering: what changesWhat context engineering is and how it differs from prompt engineering: what goes into context, budgets, ordering, compaction and how to evaluate it.Foundations 9 min readLast reviewed 2026-10-31
  3. Agent skills and SKILL.md: format and how to write oneWhat the Agent Skills SKILL.md format requires, how progressive disclosure keeps context small, and a practical checklist for writing a skill that triggers.Intermediate 9 min readLast reviewed 2026-10-17
  4. API or local models: where the cost break-even sitsWhen does running a model yourself beat paying for an API? A total-cost framework, an illustrative break-even calculation and the non-cost factors that decide.Intermediate 9 min readLast reviewed 2026-10-11
  5. How to cut LLM costs: caching, routing, compressionSemantic caching, model routing and context compression compound. How each lever works, how to apply it safely, a worked example and where teams go wrong.Intermediate 11 min readLast reviewed 2026-10-28
  6. Prompt caching in production: KV cache engineering guideHow to order prompts for high KV cache hit rates across Anthropic, OpenAI and Gemini: monotonic ordering, dynamic tailing, and the cost math.Advanced 11 min readLast reviewed 2026-11-16
  7. Reasoning models in production: managing test-time computeHow to run reasoning models in production without latency spikes, timeouts or runaway costs. Thinking budgets, routing, and token handling.Advanced 12 min readLast reviewed 2026-11-16
  8. AI agent loops: stopping conditions and guardrailsWhy agents loop forever and the guardrails that stop them: iteration limits, cost budgets, tool-call deduplication, progress checks and clear 'done' criteria.Advanced 12 min readLast reviewed 2026-10-29

Go further than reading