Lilith Lilith.
CS EN PL
Start

Intelligence comes with a bill

Model economics asks how much a usable answer costs. Not the price of one token in isolation, but the whole path through a task: input context, output, retries after failure, tool calls, waiting time, monitoring, review, and possible damage repair.

That is why a model cannot be judged by a benchmark alone. A more expensive frontier model can be cheaper if it completes the task on the first attempt. A cheaper model can be more expensive if it needs shorter context, more retries, and more human supervision. The real unit is not a token. The real unit is a completed task.

Cost is not just token price

An AI system bill has several layers. Inference costs money directly. Latency costs user attention. Throughput decides whether the system can handle a queue of work. The context window affects how much data fits into one pass and how much must be handled through RAG, caching, or task splitting.

Then add operating costs: logging, evals, sandboxing, safety checks, data management, incident response, and human review. A product that looks cheap in a demo can become expensive in production simply because every failure needs a senior human with a shovel.

Frontier, open, and local models are not a religion

Model choice is not an ideology test. A frontier model makes sense where quality, reasoning, or long-horizon work outweigh the price. A smaller or open model makes sense where the task is narrow, volume is high, data is sensitive, or infrastructure control matters.

Local inference can reduce vendor dependency and improve control over data, but it does not automatically mean lower cost. Hardware, operations, updates, observability, and traffic spikes do not disappear. They just move from the API invoice into your own little hell.

The cheapest system is often not the smallest model

A good architecture mixes models by risk and value. A cheap model can classify, extract, or prepare context. A stronger model can decide only when the task is ambiguous, costly, or safety-sensitive. Caching, RAG, evals, and well-bounded tools often save more money than chasing the lowest token price.

This matters especially for agents. An agent that takes ten unnecessary steps is not cheap even on a cheap model. An agent that knows when to stop and ask a human can be economically better even with a more expensive model.

What to measure before cutting costs

Model economics needs metrics close to real work: cost per completed task, success rate, number of retries, latency to usable output, share of human escalations, cost of fixing errors, and the difference between automated and manual workflow.

Without that, cost cutting becomes a ritual. A team switches to a cheaper model, the token graph goes down, and customer support catches fire. The right question is not “which model is cheapest”. The right question is “which combination of model, context, tools, and control delivers the result at acceptable cost and risk”.