What Is Generative AI? I Asked a Model for a Random Number 20 Times and Got 7 Fourteen Times
Generative AI creates new text, images or code instead of picking an answer from a fixed list. I asked a model on my laptop the same eight questions 20 times each. A coffee shop slogan came back 16 different ways. A random number from 1 to 10 came back as 7 fourteen times.
Generative AI is artificial intelligence that creates new content, such as text, images, audio or code, in response to a prompt. Earlier AI mostly sorted things into known categories or predicted a number. Generative AI writes something that was not there before. I asked an open model on my laptop the same eight questions 20 times each to see what "generative" means in practice. A slogan for a coffee shop came back 16 different ways. A random number from 1 to 10 came back as 7 fourteen times.
What generative AI is
The word "generative" separates two kinds of systems. A classifier looks at an input and picks one answer from a list someone fixed in advance: spam or not spam, which department should handle a letter, whether a payment looks like fraud. A forecasting model produces a number. Both are useful and both are still everywhere.
A generative model produces new content of the same kind it learned from. A text model writes sentences, an image model draws pictures, a code model writes code. ChatGPT, Claude and Gemini are generative AI products built around large language models; I explained how those work in What Is an LLM?. Most image generators work on a different principle, refining a picture out of noise step by step, but they share the same property: each run produces something new.
For text, the mechanism is simple to state. The model writes one token at a time, a word or a piece of a word (how tokens work), and each time it looks at the likely next pieces and picks one. How it picks is controlled by a setting called temperature. At zero it always takes the most likely piece. Above zero it sometimes takes a less likely one, which is where the variety comes from.
What I measured
I ran Qwen3 with 4 billion parameters on my MacBook Air (Apple M4, 24 GB) through Ollama 0.40.4. I wrote the method and the eight prompts before the first run. Each prompt asked for a one-line answer, and there were four kinds, two prompts each:
- creative: a slogan for a small coffee shop, a name for a grey cat;
- a choice with no right answer: name one fruit, pick a random number from 1 to 10;
- a fact: the capital of Australia, the author of Pride and Prejudice;
- arithmetic: 17 times 23, the number of days in a leap year.
Each prompt went to the model 20 times with its default settings (temperature 0.6) and 5 times at temperature 0. This model always reasons before it answers; I counted only the final answer. I counted how many different answers came back, ignoring capital letters and full stops.
What came back
| Prompt | Different answers out of 20 | Most common |
|---|---|---|
| Coffee shop slogan | 16 | "Small coffee, big smiles", 3 times |
| Name for a grey cat | 5 | Ash 7, Grey 5, Mist 4 |
| Name one fruit | 1 | apple, 20 times |
| Random number from 1 to 10 | 3 | 7 fourteen times, 5 four times, 4 twice |
| Capital of Australia | 1 | Canberra, right 20 of 20 |
| Author of Pride and Prejudice | 2 | "Jane Austen" 19, "Austen" 1, right 20 of 20 |
| 17 × 23 | 4 | 391 every time; 3 times the model wrote out the working instead of one number |
| Days in a leap year | 1 | 366, right 20 of 20 |
At temperature 0 every prompt gave exactly one answer, five times in a row. For the slogan it was "Small coffee, big warmth."
What the numbers say about "generative"
Variety appears only where many answers are almost equally likely. A coffee shop slogan can be written a thousand ways, and the model's 20 answers fell into 16 versions. Even then it leaned on one pattern: "Small coffee, big smiles", "Small cup, big joy", "Small brew, big smiles", "Small coffee, big heart". It varied the words inside a shape it liked.
"Random" is not random. Asked for a random number from 1 to 10, the model said 7 in 14 answers out of 20. It never said 1, 2, 3, 6, 8, 9 or 10. Asked for any fruit, it said apple all 20 times. A generative model does not draw from a fair lottery. It writes the most typical answer, with a little room to wander. If you need a random number, use a random number generator, not a language model, and for passwords or keys a cryptographic one.
Facts were stable here, and that is the good case. Canberra, Jane Austen, 391 and 366 were right every time. These are facts the model has seen thousands of times. The risk is with facts it has seen rarely or never. In my LLM test the same model, given the sentence "The first person to walk on Kepler-442b was" to continue, wrote "a 20-year-old woman named Aisha". No one has visited that planet. It generates a fluent answer either way.
The same machine produces both. The randomness that gives a writer 16 slogans to choose from is still switched on when you ask a factual question. On these four well-known facts it changed nothing. On a fact the model has seen rarely, the same setting means the second answer may not match the first, and I measured how often confident wrong answers appear on a harder task in What Is AI Hallucination. Variety is a feature for text that only has to sound right. It is a cost for anything that has to be right.
Why companies are careful with it
In my experience, generative AI still makes many errors and inaccuracies. That is why it is hard to use in closed corporate networks, cut off from the internet, and for commercial work, and why, in my view, large companies do not trust it yet. Even when it gives a link to its source, someone still has to check it. That checking is the bottleneck of the technology today.
The earlier kinds of AI that I built for years had a fixed set of answers, so their errors could be counted against a test set and the system could be signed off. A generative system can say something nobody listed in advance. The error is not one of five known categories; it can be anything that reads well.
What it is trained on is still argued about
The questions around generative AI are not only about accuracy. On November 26, 2026, CNN reported that some artists in the United States, the United Kingdom and Canada were deleting their Instagram and Facebook accounts or weighing it over proposed Meta terms. According to CNN, the terms would let automated software scrape external websites linked from business accounts, such as portfolios and online stores, without the owners' permission, and the artists fear their work would end up training AI. A Meta spokesperson told CNN the company is pausing the changes and that the current terms remain in effect. What a model is trained on and what it produces are both still being argued about.
What to take from this
- Generative AI creates new content; earlier AI mostly chose from a fixed list. That difference is where both its usefulness and its errors come from.
- The same prompt can give different answers. In my test, a slogan had 16 versions out of 20. At temperature 0 it had one.
- It writes the typical answer, not a random one. Fourteen of 20 "random" numbers were 7, and the fruit was apple all 20 times.
- Check anything that has to be true. Use the variety for drafts and options, and verify facts, figures and links before they leave your desk.
What this does not show
One small open model and eight prompts, 20 answers each at the default setting and 5 at temperature 0. Commercial chatbots use their own settings and instructions, so their spread will differ. The facts I asked about are very well known, so 20 out of 20 here says nothing about rare facts. Images, audio and video models generate differently from text models.
Sources
- Ollama API: Chat
- Artists are quitting Instagram and Facebook over fears AI will steal their work, CP24
- Artists are quitting Instagram and Facebook over fears AI will steal their work, CNN
- What Is an LLM? I Asked One Who First Walked on Kepler-442b, BESK TECH
- What Is a Token in AI? I Ran the Same 71 Tasks on Three Models, BESK TECH
- What Is AI Hallucination, and Why You Cannot See It, BESK TECH
Vladimir Beskorovainyi, Enterprise AI Architect & CTO, author of the Amazon bestseller "Enterprise AI: The KATA Way", founder of Besk Tech (besk.tech)