Why AI Models Use Different Numbers of Tokens for the Same Text
The same paragraph can produce different token counts. Learn how tokenizers split text, why counts vary and how to compare practical API costs.
Read moreExplore the notebook
Clear explanations of the ideas and mechanics behind artificial intelligence.
The same paragraph can produce different token counts. Learn how tokenizers split text, why counts vary and how to compare practical API costs.
Read morePrompting supplies instructions. Fine-tuning adapts behaviour. Learn when each helps, and why current facts still need a reliable source.
Read moreLearn how KV caching speeds up AI generation, why longer prompts consume memory, and how cached calculations differ from lasting conversational memory.
Read moreLearn what an AI context window holds, why long chats can lose important details, and how to keep requirements and evidence available for better answers.
Read moreFollow a fictional delivery-policy question through retrieval-augmented generation, from document search to a cited answer, and learn how to spot missing evidence, outdated sources and misread exceptions.
Read more