SprintMeUp

The basics: what an AI does

Five things to know before anything else. Everything later on this path rests on them.

What an AI does when you ask it something

You write a question. The AI reads it and writes an answer, one small piece at a time: each time it picks the piece most likely to come next, given everything before it. It learned how language goes by reading an enormous amount of text.

The program that does this is called a model, or an LLM: a large language model, a model trained on a very large amount of written language. ChatGPT, Claude and Gemini are apps built on such models.

  • Good atWriting, summarising, translating, explaining, comparing two texts, turning notes into a tidy draft.
  • Not on its ownIt cannot open your files, read your mail or look up today's news unless it is given a way to (stage 2).
  • Knows until a dateWhat it learned stops when its training stopped. Anything newer it does not know.

The prompt: what you ask

The prompt is what you write to the AI. The answer can only be as clear as the request. Say what you want back, the limits, and how you will know it is right.

Vague“Summarise this contract.”

Clear“List what changes for me in this contract, in five lines at most, quoting the clause each time.”

Tokens: the currency you buy to use an AI

An AI does not count words. It cuts every text into small pieces called tokens: a short word is one token, a long word can be two or three. As a rule of thumb, in English one token is about three quarters of a word, so 100 tokens are about 75 words (OpenAI's rule of thumb). Other languages usually need more tokens for the same text.

Tokens are what you pay with. Here is how it works, from the machine to your bill:

  1. Behind it, there are machines. Every answer is computed in large data centres, on computers fitted with graphics chips called GPUs, which are very fast at the kind of sums a model does. They are expensive to buy and use a lot of electricity.
  2. The provider counts tokens. It counts the tokens it reads (your question, your documents, the earlier messages) and the tokens it writes (the answer). The more text goes in and out, the more machine time is used.
  3. Tokens are priced in dollars. Each model has a price per million tokens: one price for reading and one for writing. Writing usually costs more than reading, and stronger models cost more than lighter ones.
  4. It reaches you in one of two ways. Pay as you go: through the developer access (called the API) you pay exactly for the tokens used. Or a monthly plan: you pay a fixed price and the tokens are hidden behind a usage limit or “credits”.

Why it matters: a long chat, a large document or an agent that goes round many times all use more tokens, so they cost more and take longer. Today's real prices, model by model, are on Models and costs.

The context: how much it can see at once

For each answer, the AI looks at everything it is given at that moment: your question, the earlier messages, the documents you added. This is the context, and it has a size limit, counted in tokens, called the context window.

When a conversation gets too long, the oldest parts drop out or are shortened, and the AI seems to “forget”. More is not always better: the fuller the window, the slower and more expensive each answer, and the more it misses things in the middle. Give it the three pages that matter, not the whole manual.

Why it sometimes gets things wrong

The AI writes what is likely, not what it has checked. Most of the time likely and true are the same; sometimes they are not, and it states something false with full confidence: a date, a name, a law, a source that does not exist. This is often called a hallucination.

  • Give it the sourcePaste the document or the page, and ask it to answer only from that.
  • Ask it to quote“Quote the sentence you used” makes a wrong answer easy to spot.
  • Check what mattersNumbers, names, dates and anything you will sign, send or pay.
Next · stage 2From chat to agentsWhat changes when the AI starts doing things?