AI Cost Glossary
The vocabulary behind LLM bills: what each term means, why it changes cost, and which calculator or guide goes deeper.
Which token billing concepts actually change your monthly AI invoice?
This 17-term glossary explains the exact metrics that drive LLM spend—from input/output token asymmetry and blended rates to prompt-cache hit ratios, 50% Batch APIs, TTFT, throughput, and smart model cascading.
Expand the details
- Cost drivers: Output multipliers, quadratic multi-turn context growth, and cache misses.
- Cost levers: Prompt trimming, prefix caching, batch queues, and model cascading.
Batch API
Asynchronous bulk inference at a discount, usually with higher latency.
Blended Cost
A single cost derived from a mix of input and output tokens.
Cache Hit Rate
The share of input tokens served from the prompt cache.
Context Window
The maximum number of tokens a model can consider at once.
Fine-Tuning
Training a model on your own examples to specialise behaviour.
Input Tokens
Tokens sent to the model: system prompt, context, and user message.
LLM Routing
Sending each request to the cheapest model that can handle it.
Output Tokens
Tokens generated by the model.
Price per 1M Tokens
The standard unit for comparing LLM API prices.
Prompt Caching
Reusing repeated input tokens at a discounted cache-read rate.
Prompt Trimming
Removing filler, duplication, and low-value context from prompts.
RAG (Retrieval-Augmented Generation)
Retrieving relevant documents and adding them to the prompt.
Reasoning Tokens
Hidden or visible tokens a reasoning model spends before answering.
Throughput
Output tokens generated per second.
Time to First Token (TTFT)
How long a user waits before the first streamed token arrives.
Token
The unit AI providers bill for.
Token Budget
A planned number of tokens for a workload or feature.
Put These Concepts Into Practice
- Measure real BPE token splits in the Tokenizer Diff Arena.
- Strip filler words in the Prompt Token Trimmer.
- Compare vendor cache discounts on Prompt Caching Prices.
- Check async savings in the Batch API Calculator.
AI Token & Billing Glossary FAQ
3 short answers — tap a question to expand.
Why do LLM billing invoices separate input, output, and cache-read tokens?
Generating output tokens requires sequential memory-bandwidth passes for every token, making output 3×–5× pricier than prefilling input tokens—while warm prefix cache reads skip recomputation and bill at 75%–95% off.
What is the difference between TTFT latency and output throughput (tok/s)?
Time-to-first-token (TTFT) is how long the user waits before streaming starts; throughput (tokens/sec) is how fast the rest of the reply streams. Both affect interactive UX differently.
How do glossary metrics translate into actual monthly dollar estimates?
Once you understand token mix, cache hit rate, and context window limits, plug your numbers into the AI Token Cost Calculator or Token Price Converter to compute exact monthly spend.