From Dev.to
What an LLM API call really costs: the formula and four levers that move the bill
Prices are quoted per million tokens, but the bill depends on how many tokens you send, how many you get back, and which pricing rules apply. Figures below were checked against the providers' own page...
