Cost and latency
Lesson 20 of 20 · AI.Micro
Every token costs money and time. Pick the right model size, trim prompts and cache what repeats.
Providers charge per million tokens, usually more for output than input. A RAG prompt with 1,200 tokens of context and a 150-token answer, a thousand times a day, adds up. Drag the slider. (Prices here are illustrative.)
Check yourself
What usually drives the cost of a model call?
Do it in the browser: a real generative AI tool, a short mission and instant feedback. No install.
Start this lesson — free