flâneur — a map of the web's best reading

LLM inference economics from first principles

tensoreconomics.com · 9,978 words · saved by 1 readers

The main product LLM companies offer these days is access to their models via an API, and the key question that will determine the profitability they can enjoy is the inference cost structure.

LLM Inference Economics from First Principles Piotr Mazurek and Felix Gabriel May 14, 2025 122 11 17 Share The main product LLM companies offer these days is access to their models via an API, and the key question that will determine the profitability they can enjoy is the inference cost structure. In this text we will explain where the cost of serving/hosting LLMs comes from, how many tokens can be produced by a GPU, and why this is the case. We will build a (simplified) world model of LLM inference arithmetics, based on the popular open-source model-LLama 3.3. The goal is to develop an accur

Explore this link on the map →

related reading