Explain it in 60 seconds
How LLM costs work
Machine Learning · LLM Fundamentals · Beginner
How are LLM API costs typically calculated, and how do you estimate them?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Priced per million input and output tokens; output usually costs more.
- Cost = (input tokens × input price) + (output tokens × output price).
- Long prompts, documents and chat history add up.
- Reasoning models may use extra "thinking" tokens.
- Reduce with smaller models, caching, shorter prompts, batching.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.