LLM Token Cost Calculator
Estimate what an LLM workload actually costs - per request and at scale - with editable input and output rates.
Workload & pricing
Rates are editable, illustrative estimates - not real vendor prices.
Total cost
- Input (2,000 tok)$0.03
- Output (800 tok)$0.06
- Total / request$0.09
Estimate only. Verify rates with your provider.
Understanding LLM token cost
Large language models bill by the token, and a token is roughly three-quarters of a word. Providers publish two rates per model - one for the input (your prompt and context) and a higher one for the output the model generates. Because output is priced at a premium, the shape of your workload matters as much as the model you pick.
The trap most teams fall into is reasoning about a single call when the bill is driven by scale. A fraction of a cent per request looks free until you multiply it by millions of requests a month. Estimating up front - then watching the real number - is the difference between a predictable line item and a surprise invoice. If you are wiring LLMs into your development flow, treat cost as a first-class metric next to your AI coding metrics and measurement of AI-generated code.
FeatureFactory helps engineering teams plan, build, and measure AI web development - including the cost and quality of what your agents ship. Dig into AI coding ROI, explore AI agent observability, or browse the rest of our free tools.
Frequently asked questions
(input_tokens / 1,000,000 × input_rate) + (output_tokens / 1,000,000 × output_rate). Multiply by your request volume for the total.Measure what your AI ships - cost included
FeatureFactory ties token spend to real engineering outcomes, so you know whether the AI is worth what it costs.
Get early access