Cost & Model Operations
Control inference cost, choose hosting patterns, route models, and understand operational trade-offs.
9 stories (4 articles · 5 videos)
Start here
A few good first pieces before you browse the full feed.
7 min readMulti-model orchestration: routing by cost, latency, and quality
Routing different tasks to different models can reduce cost or latency, but only workload-specific evaluation can show whether the added complexity pays off. The patterns, measurements, and failure modes.
Intermediate
8 min readCost-optimizing inference: prompt caching, routing, and output control
Build a trace-based inference cost model, optimize the largest measured contributors, and prove that each change preserves task quality.
Advanced
8 min readSelf-hosted vs hosted inference: a break-even model you can audit
At what scale does self-hosting beat API calls? The actual math, the operational realities, and the patterns that distinguish teams who should self-host from teams who should keep paying for managed inference.
AdvancedMore in this topic
4 min readFree vs paid ChatGPT: what the upgrade actually buys
Identify the task a plan limit blocks, check current eligibility, and use a renewal test to decide whether an upgrade earns its cost.
New to AI
19 minutesIs This the End of RAG? Anthropic's NEW Prompt Caching
Prompt Engineering. Walks through Anthropic's prompt caching against Gemini's context caching with concrete latency-and-cost reductions per use case (long-document chat, few-shot, multi-turn). The breakdown of cache-write surcharge vs. cache-read discount is exactly what the article assumes when it talks about when caching pays off.
Advanced
56 minutesBuild Hour: Prompt Caching
OpenAI. OpenAI's own Build Hour on prompt caching — the 1024-token threshold, the prefix-stability requirement, steep audio-caching discounts for realtime (check the current pricing page for the exact rate), time-to-first-token impacts at long inputs. Useful when you are sizing the engineering effort to actually hit the cache reliably on your production prompts.
Advanced
19 minutesEvery AI Model Explained
Tina Huang. A clean tour of the current model landscape grouped by tier — flagships, lite models, mid-tier, specialized — with concrete picks for what each tier is actually good for. This is the "know your options before you route" half of the article, and Huang frames cost-vs-capability the same way the article does without leaning on benchmark hype.
Intermediate
9 minutesRouteLLM achieves 90% GPT4o Quality AND 80% CHEAPER
Matthew Berman. Walks through the LMSYS RouteLLM paper and code: a small classifier sits in front of a strong/weak model pair and decides which one to call, hitting roughly 95% of the strong model's quality at a fraction of the cost. The view count is under the usual 100k bar, but for the specific "show me real model routing, not just model comparisons" niche this is the cleanest explanation on YouTube and lines up directly with the article's quality/cost tradeoff section.
Intermediate
32 minutesFast LLM Serving with vLLM and PagedAttention
Anyscale. Walks through why naive LLM serving wastes 60–80% of GPU memory, how PagedAttention borrows OS-style paging to fix that, and how continuous batching changes throughput. This provides background for the article's quality-equivalent cost model. Measure capacity and utilisation for your own workload instead of transferring a benchmark figure.
Advanced