The Illustrated Guide to Local AI

Chapter 7

The Speed of Thought

Imagine you are standing on the side of a busy highway. You watch the traffic flow. Some vehicles zip past you in a blur. Others crawl along, heavy and slow. This difference in speed is not about the driver. It is about the size of the vehicle.

Think about a small sports car. It is light. It has a powerful engine. It can accelerate quickly. It moves from one point to another with ease. Now think about a heavy truck. It carries a massive load. It takes time to get up to speed. The same logic applies to the computer programs we call AI models. When you ask a question, the model does not simply pull an answer from a shelf. It builds the answer. It works through the problem. This process is called inference. In plain words, inference is the act of working through the answer, step by step, one word at a time. Imagine you are writing a letter. You do not write the whole letter at once. You write one word. Then the next. Then the next. The AI does the same thing. It looks at your question. It breaks the question into small pieces. These pieces are called tokens. Think of tokens as individual words or parts of words. If you say "hello," that is one token. If you say "unbelievable," the computer might split it into two tokens because it is longer. The computer counts these pieces to measure the size of the conversation. Now, look at the highway again. A small car has a light engine. It can spin its wheels quickly. It moves fast. A small AI model is like a sports car. It is light. It has fewer parts to manage. It moves fast. This speed is measured in tokens per second. Tokens per second means how many pieces of the answer the computer can produce in one second. If a model produces ten tokens per second, it writes ten words every second. That feels like a quick conversation. You do not have to wait long. You see the answer appear almost as fast as you can read it.

Now think of the heavy truck. A heavy truck has a big engine. It carries a lot of weight. It cannot spin its wheels quickly. It moves slow. A large AI model is like that truck. It is powerful. It knows more facts. It can handle complex ideas better. But it takes longer to start moving. This delay is called processing speed. Processing speed is how long the computer needs to think before it gives you an answer. If you ask a simple question, a small model acts like a sports car. It zips through the traffic. You get your answer in a blink. You do not feel the wait. The computer is light. It has fewer parts to move. It does not need to carry heavy loads. It just runs fast. This speed is measured in tokens per second. A token is a small piece of text. It is like a single word or a part of a word. Think of a token as a single brick in a wall. The computer builds the wall one brick at a time. It places each brick carefully. It checks the shape. It checks the fit. This work takes time. A small model places bricks quickly. It is light. It does not need to lift heavy stones. It just runs. It does not stop to think about the weight. It moves with ease. This is why small models feel instant. You type a question. The answer appears. There is no pause. The computer is not tired. It is not heavy. It is not burdened.

If you remember only one thing

Inference is the act of working through the answer, step by step, one word at a time. Small models are like sports cars — fast on the open road. Large models are like heavy trucks — powerful, but slow to get moving.

Cards from this chapter