cost
FDE interview questions tagged cost, across every topic.
17 questions · 3 unlocked for you
Concepts behind "cost"
The curriculum that explains the ideas these questions test.
Core
AI Cost and Unit EconomicsUnit economics is the napkin math that decides whether an AI deployment ships: cost per request driven by input and output tokens, multiplied by volume, against the human or manual baseline it replaces. It also governs the API-versus-self-host break-even, which only flips in favor of your own GPUs above a real utilization threshold.⚙️ System Design for AI in ProductionSign in
Advanced
Model Routing and CascadesModel routing sends each request to the cheapest model that can handle it, escalating only when needed. Most production traffic is easy, so paying frontier prices for every request is usually the largest avoidable line in an AI bill. The engineering is in deciding cheaply and in knowing what to do when the router is wrong.🧠 Foundations of LLMs & GenAI🔒 Premium
Advanced
Prompt Caching and Semantic CachingTwo different caches solve two different bills. Prompt caching reuses the model's internal computation over a stable prefix, cutting cost and time-to-first-token on every call that shares it. Semantic caching skips the model entirely when a near-identical question has been answered before, and it is the one that can serve a wrong answer confidently.🧠 Foundations of LLMs & GenAI🔒 Premium
Advanced
Agent vs Workflow vs a Single CallThree architectures sit under the word agent, and they differ by who decides what happens next. A workflow has its steps written in advance; an agent chooses its next action from what it just observed. Picking the wrong one is the most expensive early decision in an AI deployment, and picking the boring one is usually correct.🤖 Retrieval & Agents🔒 Premium
