Artificial intelligence
How a language model works: tokens, context window and temperature
What a token is, what the context window limits, what temperature does and why language models are confidently wrong. Explained for developers, no maths.
Topic
3 articles · AI for developers: practical guides, examples and explanations written by Aimran.
Artificial intelligence
What a token is, what the context window limits, what temperature does and why language models are confidently wrong. Explained for developers, no maths.
Artificial intelligence
Why models charge per token, how to count tokens exactly for GPT and approximately for Claude, and how to cut the cost of each call without losing quality.
Artificial intelligence
An AI agent combines a language model with tools and a decision loop to complete tasks. How it differs from a chatbot, how it works, its risks and when to use one.