Method

How the number is calculated

No black box. Formulas, defaults, sources, and limits are below.

Formulas

api_month = queries_per_day × days × (input_tokens/1e6 × input_price
                                    + output_tokens/1e6 × output_price)
hosting_month = vps_month + other_month
total_month = hosting_month + api_month + hardware_depreciation
per_query = total_month / (queries_per_day × days)
break_even_queries = ceil(20 / per_query)

In local mode, API cost is set to 0 and hardware cost is spread over the depreciation months. If you leave hardware at 0, only hosting is counted.

Defaults

Sources and check date

All prices checked 2026-10-21. Prices, taxes, exchange rates, and plans change; these numbers are for decisions, not invoices.

What it cannot tell you