Chapter 1. How generative AI works and its limits
Learning objectives
- Explain tokens, context windows, probabilistic generation, and knowledge cutoff dates using everyday analogies.
- Distinguish between models, products, and tools, and discern whether an answer was 'Generation' or 'Retrieval'.
- State the causes of hallucinations and identify situations where outputs must not be trusted at face value.
- Select reasoning models, general models, and model tiers according to task complexity and speed and cost requirements.
- Explain the uses and error types of multimodal inputs such as images, PDFs, and audio.
Introduction
Officer Min, a librarian at a district library, created a list of recommended books with AI to use for 'Youth Career Reading Week'. Twelve books were produced, neatly organized with author, publisher, publication year, and a one-line introduction. However, a colleague who was cross-checking the list against the bookshelves tilted their head in doubt. Two books did not exist in any bookstore, and while one book had the correct author, the title was different. The remaining nine books were accurate. If the list had been posted on the bulletin board as it was, students would have wandered around looking for non-existent books.
What surprised Officer Min was that the wrong books were written in the exact same tone and format as the correct books. The AI did not say, "I am not confident about these two books." How did the AI create such a list, why were nine books correct and three books wrong, and what signs would have revealed what was wrong in advance?
This chapter answers those questions. First, we understand the unit by which AI handles text (token) and the amount that can be read at once (context window), and examine the way it creates answers (probabilistic generation) and the temporal limits of what it knows (knowledge cutoff date). Next, we cover the causes and types of hallucinations, the differences between reasoning models and general models, and the limitations of image and document inputs. Finally, we organize "When should outputs not be trusted at face value?" into a checklist. This chapter forms the foundation of Discernment among AI competencies.
Key concepts
Distinguishing between models, products, and tools
When discussing AI, there are three things to distinguish first.
- Model: A computational engine that reads text and generates the next text. In terms of an automobile, it is the engine.
- Product: A service built for humans to use a model. Chat interfaces, file uploads, chat history, and sharing features belong here. Names like ChatGPT, Claude, and Gemini are usually product names, and multiple models run inside them. In terms of an automobile, it is the car body and dashboard.
- Tool: A separate feature that a model calls and uses when generating an answer. Representative examples include web search, code execution for calculation, internal document search, and external app connections. In terms of an automobile, it is the navigation system.
The response varies depending on where an error originated. Even with the same model, a product with its search tool turned on and one with it turned off produce completely different answers regarding Recent information. The starting point of this chapter is the habit of not stopping at "The AI was wrong," but asking, "Was the model wrong, was the tool turned off, or did the product provide outdated material?"
Tokens: The unit by which a model breaks down text
A model does not read text in units of words like a human does. It processes text by breaking it into pieces called tokens. OpenAI explains that a token can be a single character, part of a word, an entire word, or punctuation, and that spaces also affect how text is split. Using Lego as an analogy, it is like how building the same house requires a different number of blocks depending on which block set is used.
Token count, character count, and word count do not correspond one-to-one. Even for the same text, the number of tokens varies depending on the model, the encoding used by the model (the rules by which a tokenizer converts text into tokens), and the language. The approximations provided by companies are based on English.
| Company | Approximation in official docs | Caveat |
|---|---|---|
| OpenAI | Based on English, 1 token is approximately 4 characters, and 100 tokens are approximately 75 words | States explicitly that the relationship differs for other languages |
| Based on Gemini, 1 token is approximately 4 characters, and 100 tokens are 60–80 English words | Images, audio, and video are also counted as tokens |
It is natural that a Korean document and its English translation yield different token counts. If you Estimate length by multiplying English approximations directly against a Korean document, you may be far off the mark. If an exact count is needed, the rule is to count directly using the token calculation feature provided by the product or developer tools.
Tokens are broadly divided into three types.
| Type | Meaning | Why you need to know |
|---|---|---|
| Input tokens | Instructions, materials, and conversation history sent to the model | Increases the longer you paste |
| Output tokens | Answers generated by the model | Increases when requesting long reports |
| Reasoning tokens | Tokens used internally by a reasoning model before answering | Billed and counted as output because they are generated by the model, even if not visible |
Tokens are the unit of limits and costs. The amount that can be handled at once is determined in tokens, and the base pricing of language model APIs is also calculated primarily in tokens. OpenAI adds that different billing units may be used for other features. OpenAI notes that because reasoning tokens are billed as output tokens even if they are not visible as answer text, even a short answer can consume many tokens.
Context window: The workspace on the desk
A context window is the total size of text that a model references all at once when generating an answer. Anthropic explains that the context window is 'working memory', distinct from the vast material on which the model was trained, and that instructions, conversation history, attached images and documents, tool results, and even the answer currently being generated all go into it. If training data is a library that the model has accumulated over a long period, the context window is the desk currently spread out.
A larger desk does not mean it does the job better. Anthropic refers to the phenomenon where accuracy and recall drop as tokens increase as context rot, emphasizing that choosing what to include is just as important as the size of the space. It also notes that chat interfaces may manage context in a 'first in, first out' (FIFO) manner that pushes out older content as the conversation grows longer. This is why conditions set early on in a long conversation become blurred. Being able to fit something in is different from utilizing it without omissions. Omissions are especially frequent when conditions are scattered across multiple documents, discarded versions are mixed in, or an exception that alters the conclusion is hidden in a footnote.
Along with the context window, another thing to know is the output limit. A model also has an upper limit on the number of tokens it can generate in a single response. OpenAI notes that there is an output limit separate from the context window, and that reasoning models must also leave space for reasoning tokens to use beyond the visible answer. This means that even if putting in an entire long document is accepted, you may not be able to get back an equally long result all at once. You can think of input as the size of the desk, and output as the number of manuscript pages you can write at one time. Anthropic notes that in APIs, if the input alone exceeds the window, the request returns as an error.
Key point
When continuing a long task, provide a brief summary of confirmed conditions and decisions so far as the first message of a new conversation. It is like clearing the desk and placing only the necessary documents back on it. If the result is long, request it in chunks divided by chapters or sections.
Probabilistic generation: Very powerful autocomplete
Generative AI looks at the text up to the present and continues writing by probabilistically selecting plausible tokens to come next. It is easiest to think of it as a vastly larger and more sophisticated version of mobile keyboard autocomplete. Two properties arise from this approach.
- Answers may vary slightly even for the same question. This is because when there are multiple plausible candidates, a different one can be picked each time.
- In the generation process itself, there is no 'fact-checking step'. The model writes sequentially based on whether the sentence sounds natural, and does not separately check whether the sentence is true.
In developer APIs, a setting called temperature that adjusts the degree of randomness has existed for a long time. Google has explained that lower temperatures suit tasks requiring deterministic answers, while higher temperatures suit tasks requiring diverse answers. This setting is now being phased out. Since the Claude API removed temperature in the 2026-10-21 version, sending a value with it returns a 400 error. It is also deprecated in Gemini. If you want to receive answers in a consistent format, set the format using structured outputs provided today instead of temperature. Above all, lowering the temperature does not make it accurate. It can produce the same wrong answer every time, and Google advises keeping the default value because changing defaults in some models may degrade reasoning performance.
Therefore, just because the same answer is repeated does not make it a fact. Conversely, if you ask the same question multiple times and the answers contradict each other, it is a signal for suspicion. Introducing a method of running multiple times with the same instruction and comparing results, Anthropic explains that discrepancies between results can point to hallucinations. Remember the asymmetry: Consistency is not proof of truth, but inconsistency can be a warning light.
Knowledge cutoff date: The last newspaper read before departure
A model is trained on materials up to a specific point in time. Because it knows little or knows inaccurately about events after that point in time, they must be verified with external evidence such as search or attachments. It is like a person returning from working at an Antarctic station for a long time who only knows up to the last newspaper read before departure.
Anthropic's model documentation distinguishes between two dates. The reliable knowledge cutoff is the point in time when the model's knowledge is broadest and most trustworthy, and the training data cutoff is the broader range of materials used in training. This means that while the model may know a little about events between the two dates, its knowledge may be shallow or inaccurate. Even for events immediately preceding the cutoff date, training data may be scarce because enough text had not yet accumulated in the world.
In practice, rather than memorizing dates, the ability to judge whether this question is the type whose answer changes over time is more important.
| Things that rarely change | Things that change frequently |
|---|---|
| Spelling principles, mathematical formulas, historical facts of long ago | Prices, exchange rates, interest rates, inventory |
| General writing structures | Statutory amendments and new enforcement dates, government grant announcements |
| Definitions of widely known concepts | Persons in charge, contact information, business hours, product features and pricing plans |
For questions in the right column, the information may have already changed even if it predates the knowledge cutoff date. For such questions, the rule is to attach the latest materials or turn on the search feature, and have the answer state the reference point in time.
Caution
A model having a large context window does not mean it knows Recent information. The context window is the 'amount that can be read at once', and the knowledge cutoff date is the 'point in time when it was trained'. Explanations that conflate the two concepts are classic incorrect answers on the exam.
Generation and Retrieval: When making answers and when fetching them
Answers from AI products are produced in two ways. One is Generation of an answer using only the knowledge the model was trained on, and the other is making an answer based on materials after Retrieval through search or document lookup. The latter method is called grounding. It means anchoring the answer to real materials, like driving a stake into the ground.
Google explains that Google Search grounding in Gemini enables answering with Recent information beyond the model's knowledge cutoff date, and returns citations linking the answer to sources so users can verify them directly. The feature that searches internal documents to answer operates on the same principle.
Grounding is powerful, but it is not a panacea. Even if a search was performed, the following errors can still occur:
- The search results themselves are outdated or wrong.
- The model misinterprets search results, or blends content from multiple sources.
- Citations are attached, but the cited paragraph does not actually support the claim.
Therefore, looking at source citations in an answer is the beginning of verification, not the end. Chapter 4 covers the procedure for cross-checking sources claim by claim in detail.
Causes and types of hallucinations
Hallucination is a phenomenon where a model plausibly generates content that diverges from facts or contradicts given materials. Anthropic acknowledges that even the most advanced models can generate text that is factually incorrect or inconsistent with the given context. Rather than lumping everything under 'wrong', breaking it down by type reveals how to respond.
| Type | Appearance | Primary cause | Response |
|---|---|---|---|
| Fabricated sources | Non-existent books, papers, legal precedents, links | Probabilistic generation produces a 'plausible format' | Open and check sources directly in original text |
| Altered numbers and dates | Actual statistical values or years are subtly different | Fills in hazy memory areas with natural values | Cross-check numbers with source data; perform calculations with tools |
| Outdated information | Regulations or prices that have already changed | Knowledge cutoff date | Attach latest materials, search, display reference point in time |
| Blending content outside materials | Appends content not present in attachments | Fails to distinguish general knowledge from provided materials | Instruct "Use only information in the materials", require citations |
| Confusion between materials | Attributes content of Document A to Document B | Long context, similar documents | Label each document, require source attribution |
| Reasoning errors | Premises are correct, but conclusion is wrong | Judgment that skips steps | Require premises and calculation steps to be verifiable |
The basic countermeasures recommended by Anthropic are threefold: allowing the model to say it does not know when uncertain, having it quote relevant sentences verbatim before answering in long documents, and having it attach citations and sources to each claim while retracting claims for which supporting sentences could not be found. In addition, there is the method of scoping boundaries by instructing, "Use only the information in the provided documents and do not use general knowledge." Anthropic adds that while these techniques significantly reduce hallucinations, they do not eliminate them, so important information and high-stakes decisions must always be verified.
Confidence of tone and strength of evidence
An AI's answer is fluent and assertive even when wrong, and humans are more prone to believe someone who speaks with confidence. The three wrong books in the Introduction were also written in the exact same tone as the nine correct books. Confidence of tone and strength of evidence are separate matters.
A similar phenomenon is sycophancy. Research by Anthropic defines sycophancy as the behavior where a model produces answers tailored to a user's beliefs rather than truthful answers, and views human preference evaluations rating plausibly written sycophantic answers higher than accurate answers as part of the cause. In practice, it manifests like this:
- When a user counters with, "Really? That is different from what I know," it changes its answer without evidence.
- If a question contains a desired conclusion, it leans toward supporting that conclusion.
- When asked to evaluate a draft written by the user, it evaluates it more generously than it actually warrants.
The response is simple. When an answer changes, judge which side is correct based on external evidence, not the model's attitude. Write questions neutrally without revealing a desired conclusion, and when requesting an evaluation, explicitly specify room for critique, such as "Find three weaknesses first."
Reasoning models and general models
Most AI products today offer multiple types of models together. Among them, a reasoning model is a model that internally considers multiple steps before answering, whereas a general model is a model that immediately continues writing an answer upon receiving an instruction. OpenAI compares these to a 'planner' and a 'workhorse', explaining that one is not superior to the other but simply different, and that most workflows use a combination of both.
| Classification | Reasoning model | General model |
|---|---|---|
| Strengths | Ambiguous and complex multi-step judgments, finding relationships across scattered information, evaluating other outputs | Fast execution of clearly defined tasks |
| Weaknesses | Slow, and cost is high due to reasoning tokens | May skip steps in complex judgments |
| Suitable tasks | Comparison memos on pros and cons of multiple proposals, sorting contradictory requirements, establishing plans | Format conversion, bulk classification, short drafts, first-pass translations |
Two misunderstandings must be avoided. First, being a reasoning model does not mean it knows more Recent knowledge. Reasoning ability is 'how well it reasons with given information', and the currency of knowledge is determined by the knowledge cutoff date and whether search was used. Second, results arrived at after thinking for a long time can also be wrong. Conclusions of reasoning models must likewise have their evidence and calculations verified. How to instruct a reasoning model differs slightly from a general model, which is covered in Chapter 2 Going deeper.
Choosing a model tier suited to task difficulty
Even within the same family, companies release multiple tiers, ranging from large, slow, and expensive models to small, fast, and inexpensive models. Anthropic's model comparison chart describes the fastest tier as being for tasks where throughput is high and response speed is critical—such as classification, extraction, and routing—and the largest tier as being for demanding reasoning and long tasks.
When choosing a tier, ask the following four questions:
- How complex is the judgment? Is it a task with clear rules, or one where multiple conditions must be weighed?
- How much and how fast must it be processed? Is it thousands of cases a day, or a few cases a month? Must it respond within a few seconds?
- How harmful is it if it is wrong? Can a human correct it immediately, or does it go external and become difficult to reverse?
- Have you checked whether a small model is sufficient? Have you compared a small model with a large model across dozens of representative cases?
The last question is key. Rather than tier charts or names, a small comparative experiment conducted with representative cases of your own work is more trustworthy evidence. Recording accuracy, omissions, speed, and time spent on human corrections reveals in numbers which tier is needed. In high-throughput operations, a routing design that sends easy requests to small models and only difficult requests to large models is also commonly used.
Multimodal inputs
Multimodal is the ability to handle inputs in multiple formats such as images, PDFs, audio, and video, in addition to text. You can have it read amounts from receipt photos, explain trends in graph images, or summarize meeting recordings.
There are three properties to know regarding multimodal inputs:
- Images and sounds also consume tokens. Google notes that it converts images, video, and audio into token counts according to fixed rules, and Anthropic calculates tokens by dividing images into small tiles. A document photographed and uploaded also occupies space, and whether it uses fewer tokens than entering it as text depends on resolution and the model. Also remember that shrinking an image makes small text harder to read.
- There are distinct types of reading errors. Anthropic notes that errors can occur when interpreting images with low quality, rotation, or very small size, that judgments of spatial relationships are approximations, and that it may not count quantities accurately when there are many small objects. In practice, small text, blurry scans, row-and-column alignments in tables, and axes, units, and legends in charts are typical misreading points.
- There are things it cannot determine. Anthropic advises not to rely on models for detecting forged images, as they cannot determine whether an image was created with AI.
Audio is viewed divided into a transcription stage and an interpretation stage. People's names, technical terms, and overlapping speech are prone to errors in transcription, while who agreed to what is prone to errors in interpretation.
Anthropic notes that results are best when images come before text. And if the material involves important numbers, providing the original file (spreadsheet, source text) rather than an image is more accurate.
Situations where outputs must not be trusted at face value
We combine the concepts covered so far into a single checklist. If any of the following apply, do not use the output as is; go through a verification procedure.
| Signal | Why it is risky | How to verify |
|---|---|---|
| Recent information or frequently changing information | Knowledge cutoff date, outdated search results | Check latest original text, reference point in time |
| Specific numbers, dates, proper nouns | Prone to filling in plausible values | Cross-check with source data |
| Calculations and aggregations | The model simulates arithmetic in its head | Recalculate using spreadsheets or code execution |
| Sources, citations, links | Fabricated sources, unsupportive sources | Open original text and check relevant paragraph |
| Content outside attached materials | Blends with general knowledge | Require indication of supporting sentences |
| Values read from images, scans, or audio | Misreading | Cross-check against original |
| Used in Public release or irreversible decisions | Damage is severe when wrong | Human review and approval |
Verification methods also differ depending on the type of output. For facts, cross-check with original texts; for calculations, recalculate using another method; for interpretations, check premises and counterexamples; and for creative work, check whether it aligns with the purpose, audience, and constraints. Reviewing all results in the same way leads to missing critical errors.
Estimating memory for local models
For models downloaded as weights and run directly, memory must be calculated before looking at performance. The size of weights is estimated as number of parameters × bits per weight ÷ 8 bytes. Measuring bert-base-cased with Hugging Face Accelerate's Estimate tool yields float32 418.18 MB, float16 206.59 MB, int8 103.29 MB, and int4 51.65 MB. When the number of bits is halved, the size is also nearly halved. Lowering the number of bits in this way is called quantization. The number attached to the format name is not the actual number of bits. Based on Llama-3.1-8B, llama.cpp lists Q4_K_M at approximately 4.89 bits per weight and Q8_0 at approximately 8.50 bits.
Calculations do not end once the model is loaded. Hugging Face recommends factoring in up to roughly 20% on top of the loading Estimate during inference. In long conversations, the KV cache is the issue. It is a space that stores calculation results of previously processed tokens; as the context grows longer, it expands, occupying a large share of memory and becoming a bottleneck in long-context generation. This is why Ollama sets different default context lengths depending on VRAM size: 4k for less than 24 GiB, 32k for 24–48 GiB, and 256k for 48 GiB or more. When launching the server, this is changed via OLLAMA_CONTEXT_LENGTH or adjusted with the slider in the app settings. Required memory grows proportionally to OLLAMA_NUM_PARALLEL × OLLAMA_CONTEXT_LENGTH.
For a design studio that downloaded an 8-billion parameter model in Q4_K_M, the weights were 8 billion × 4.89 bits ÷ 8 ≈ 4.9 GB, and adding 20% made it about 5.9 GB. Increasing concurrent requests from 1 to 4 quadrupled the memory share for context. There are also models that are difficult to judge by parameter count alone. gpt-oss-20b has an architecture that uses only 3.6B out of a total 21B in computation per token, and runs within 16 GB of memory. gpt-oss-120b fits onto a single 80 GB GPU such as the NVIDIA H100 or AMD MI300X.
Local, on-device, and cloud: Where data is processed
Where data is processed is determined not by the program name, but by the connected model and settings. Models downloaded in Ollama run on your computer. Cloud models run on Ollama servers without downloading, and can be selected identically in the app or CLI. When calling them via API, an API key is used. Looking at the screen alone, it is difficult to distinguish between the two.
Even for local models, check the exposed scope. Ollama binds by default only to port 11434 on 127.0.0.1, accessible only from the same computer. Changing the address with OLLAMA_HOST opens it to the network, but Ollama has no built-in authentication. To share it among multiple people, place a reverse proxy like Nginx in front of it and control access there.
Apple's on-device foundation model has approximately 3 billion parameters and is tailored to Apple silicon through 2-bit quantization-aware training and KV cache sharing. Calling this model with the Foundation Models framework released alongside iOS 26, iPadOS 26, and macOS 26 incurs no inference cost and works offline. Developers use guided generation, constrained tool calling, and LoRA adapter fine-tuning. Starting from WWDC26 (June 2026), any model that conforms to the Language Model protocol, including cloud models like Claude and Gemini, can connect to this framework. Apps enrolled in the App Store Small Business Program with fewer than 2 million cumulative first-time App Store downloads can use next-generation Apple Foundation Models running in Private Cloud Compute without cloud API costs. Depending on what is connected, even with the same code, data may remain on the device or travel outside of it.
Suppose an accounting firm summarized client documents using Ollama on an office PC. If they changed only the bind address to use it from employee laptops as well, anyone on the same network called that server without authentication. If they switched to a cloud model due to unsatisfactory speed, documents left the office. Both changes occurred within the same 'local tool'.
Model lifespan: Retirement schedules and shifting settings
Pinning to a snapshot makes behavior consistent, but that snapshot will also close eventually. OpenAI shut down o1 and o4-mini, including dated snapshots, on October 23, 2026. Anthropic added claude-sonnet-4-5-20250929 to its deprecation list, stating a retirement date of November 30, 2026, and a replacement model of claude-sonnet-5-5. Anthropic provides notification at least 60 days before retiring a publicly released model. The deprecation table for the Gemini API is read differently: the shutdown date listed there is the earliest possible date, and Google announces the exact date separately in advance.
Settings also become obsolete. Manual extended thinking, which set thinking.type to enabled and specified the amount of thinking with budget_tokens, was deprecated in Claude Opus 4.6 and Claude Sonnet 4.6, and subsequent models do not accept it at all. Claude Opus 5.5, released on September 22, 2026, has adaptive thinking always enabled and cannot be turned off. The amount of thinking is adjusted with effort, whose default value differs by model.
| Model | Default effort |
|---|---|
| Fable 5.1, Claude Sonnet 5.5 | high |
| Claude Opus 5.5, Claude Haiku 5.5 | medium |
Input/output pricing per million tokens starts from $4/$20 for Opus 5.5, $2/$10 for Sonnet 5.5, and $0.10/$0.50 for Haiku 5.5. The context window for Opus 5.5 is 1M tokens, and maximum output is 128K tokens.
Suppose a travel agency team ran an itinerary summarization feature by passing budget_tokens and temperature into claude-sonnet-4-5-20250929. To migrate to claude-sonnet-5-5, both values had to be removed for requests to pass. Because temperature disappeared in the Claude API 2026-10-21 version, sending it caused a 400 error. Because the new model had a default effort of high, response times and output tokens could differ from the past. Remeasuring quality and cost with an evaluation set before the retirement date was necessary to avoid sudden disruptions.
Going deeper
Why calculation and aggregation are left to tools
A language model is not a machine that calculates numbers, but a machine that predicts the next token. While it usually gets short additions right, it can produce plausible but incorrect numbers when calculating sums in tables with many rows, ratios and rates of change, or aggregations with multiple conditions. The problem is that incorrect numbers look just as natural as correct numbers.
Google recommends using code execution tools for tasks that require arithmetic, counting, and calculation. Code execution is a feature where the model writes the calculation process as a program and actually runs it. It has the advantage that humans can verify not only the result but also the calculation formula. In an environment without a code execution feature, it is safe to leave calculations to spreadsheets and entrust AI only with interpreting the calculation results or organizing them into sentences.
This principle does not mean "AI is weak with numbers, so do not use it for numerical tasks." It means divide the roles. A tool with reliable calculation handles the calculation, the language model handles interpretation and description, and humans verify whether the connection between the two is correct. If a number is to be included in a report, one must be able to retrace who calculated it and by what method.
Models with the same name also change: Version and reproducibility
There are times when the format of an answer changes today even though you entered the same instruction as yesterday. This may be due to probabilistic Generation, but it may also be because the model itself behind the product has changed. The default model of a chat product can change to a new version as the product is updated. In developer APIs, companies provide snapshot names that pin the model to a specific point in time, and OpenAI recommends pinning to a specific snapshot and creating an evaluation set that measures prompt behavior in production environments where consistent behavior is required.
Therefore, if a team's template instructions suddenly behave differently, do not blame only the instructions, but check whether the model or settings have changed. For an AI feature that is used continuously, create a check set combining 10 to 20 representative cases with expected results, and rerun them with the same cases whenever the model changes to find differences.
At work
Butter unit price report of the Dawn Bakery purchasing team
Assistant Manager Oh of the headquarters purchasing team at the handmade dessert franchise 'Dawn Bakery' had to write a price trend report to determine next month's butter purchase volume. He asked an internal AI tool with web Retrieval turned off, "Please summarize the domestic butter wholesale price trends over the Recent 3 months and the outlook for next month," and received a neat table containing monthly prices and outlooks.
As Assistant Manager Oh was about to paste the table directly, three questions came to mind.
- When is this information from? The prices for the Recent 3 months were highly likely to be after the knowledge cutoff date. Because Retrieval was turned off, the model could not see the actual prices.
- Where did these numbers come from? There were no sources in the table. The more specific a number was, the more likely it was a 'plausible value' filled in by probabilistic Generation.
- How harmful is it if it is wrong? These were numbers used to determine purchase volumes, and buying incorrectly would lead to inventory losses.
There were two alternatives Assistant Manager Oh first considered. One was to ask the same question a few more times and use the numbers if they were identical, but he discarded this because repetition could not substitute for fact-checking. The other was to turn on Retrieval and ask again, but he decided to use it only as a supplementary means because Retrieval results could mix retail and wholesale prices and could differ from the unit prices the company actually received.
In the end, he attached the Recent 3-month unit price list PDFs received from three suppliers and requested again as follows: "Use only numbers present in the attached materials, and write the document name and page number that served as the basis next to each value in the table. Mark months not in the data as 'No data'. Do not calculate the average and rate of change directly; only indicate the columns to be calculated." The average and rate of change were calculated separately using a spreadsheet. The outlook was split into a separate request, instructing: "Explain the trends in the table above, but separate verified facts and Estimates into distinct paragraphs."
The result was less flashy than the first, but every number had supporting evidence attached, and missing months were revealed as blanks. Assistant Manager Oh cross-checked the table once against the original PDFs and included it in the report. The key point was not doubting the model's capabilities, but understanding the information it cannot see and the methods it does not verify, and filling those gaps with evidence and tools.
Dashboard capture report of the Summer Forest Camping operations team
Manager Kang of the operations team at the online camping gear store 'Summer Forest Camping' submitted a weekly performance summary to the executive meeting every Monday. To save time, he inputted three captured images of the sales dashboard screen into an AI and requested, "Please summarize last week's performance in five lines." On the dashboard, there was a dual-axis graph with sales revenue on the left axis and conversion rate on the right axis, along with a table by category in small print.
The summary was plausible, but a team member pointed out two issues. The conversion rate was written as ten times the actual rate, and the sales in the 'Tent' row of the table were swapped with the values from the 'Tarp' row right below it. Manager Kang broke down the causes as follows: the conversion rate error was an interpretation error confusing the units of the two axes, and the swapped rows were a reading error caused by incorrectly matching rows and columns in the fine-print table.
Manager Kang weighed three options. Increasing the capture resolution would reduce reading errors, but the axis interpretation error would remain. Not using images at all would eliminate misreading, but would forfeit the advantage of having trends explained at a glance. Therefore, he decided to use the original file for numbers and use images only for trend explanations.
He attached the CSV file downloaded from the dashboard as evidence for the numbers, and included the values for the total and the change compared to the previous week calculated in a spreadsheet. He used the images only for the request: "Explain in words two noticeable changes in the graph. Do not use numbers." Because this weekly summary was a lightweight task repeated every week in the same format, he compared over four weeks whether a fast general model could pass the standard instead of a large reasoning model. As the results were the same, he settled on the fast model.
The key point was separating what images do well (explaining the overall picture) from what raw data does well (accurate numbers), and addressing errors by dividing them into the reading and interpretation stages.
Common mistakes
- "If it is specific, it is accurate." Case numbers, dates, and numbers down to decimal places look reliable. However, probabilistic Generation easily creates plausible-looking fake information. Specificity is rather a signal to verify.
- "If you ask multiple times and get the same answer, it is a fact." The same model can repeat the same error. Repetition does not replace fact-checking. However, when answers contradict each other, it can be used as a signal for suspicion.
- "Lowering the temperature to 0 makes it accurate." Lowering the temperature does not guarantee accuracy, and depending on the model, changing the default value may even degrade performance. Currently, the Claude API removed this setting in the 2026-10-21 version, and it has also been deprecated in Gemini. To receive the format of the answer consistently, use structured output. Accuracy is secured through providing evidence and verification.
- "If the context window is large, it also knows up-to-date information." The context window is the amount that can be read, and the knowledge cutoff date is the training point in time. They are different axes.
- "If sources are attached, it is verified." Even if a source actually exists, that paragraph might not support the claim, and the Retrieval results themselves might be outdated. Citing sources is the starting point of verification.
- "I refuted it and it corrected its answer, so now it is correct." Models tend to change their answers to match user refutations. Which answer is correct is judged using external evidence.
- "Expensive reasoning models are always better." Using a reasoning model for simple, high-volume tasks can just be slow and expensive. A reasoning model does not know more up-to-date knowledge either.
- "Uploading as a photo saves space and reads numbers accurately." Images also occupy the context window, whether space is saved depends on resolution, and small text, tables, and chart axes are prime points of misreading.
Summary at a glance
| Concept | One-line definition | What to remember for the exam |
|---|---|---|
| Model, product, tool | Engine, vehicle body, navigation | First distinguish where the error originated |
| Token | Pieces into which a model cuts text | Different from character and word counts, varies by language, reasoning tokens are billed as output |
| Context window | working memory referenced at one time | Bigger is not always better (context rot), output limit is separate |
| Probabilistic Generation | Selecting the plausible next token | No fact-checking stage, consistency is not evidence, inconsistency is a warning |
| Temperature | Randomness setting (being phased out) | Lowering does not guarantee accuracy, removed in Claude API 2026-10-21 version and deprecated in Gemini, format with structured output |
| Knowledge cutoff date | Reference point in time of training materials | Distinguish between the two cutoff dates, frequently changing information requires recent evidence |
| Grounding | Tying answers to evidence via Retrieval and documents | Citing sources is the beginning of verification |
| Hallucination | Phenomenon of being plausibly incorrect | Allow saying 'don't know', quotes first, withdraw if no evidence |
| Sycophancy | Tendency to align with user beliefs | If the answer changes upon refutation, judge with external evidence |
| Reasoning model | Planner: complex judgment | Slow and expensive, unrelated to recency |
| Model tier | Large models and small models | Comparative experiments with representative cases, split and route easy and difficult tasks |
| Multimodal | Image, PDF, and audio input | Token usage, Reading error (text/rows and columns) and Interpretation error (axes/units/legend), use original for numbers |
Check the official docs
- OpenAI — Understanding and counting tokens: Definition of tokens, approximate values based on English, reasoning token billing, output limits.
- Google — Understand and count tokens: Approximate values based on Gemini, token calculation for images, audio, and video.
- Anthropic — Context windows: The context window as working memory, context rot.
- Anthropic — Models overview: Definition of the two knowledge cutoff dates, usage by tier.
- Anthropic — Reduce hallucinations: Allow saying 'don't know', quotes first, withdraw if no evidence, run multiple times and compare.
- Anthropic — Vision: Limitations of image input (low resolution, spatial reasoning, counting, identifying AI-generated images).
- Anthropic — Model deprecations: Retirement dates and replacement models by model, principle of notice at least 60 days in advance.
- Anthropic — Thinking, steering and cost: Default effort values by model.
- Hugging Face — Model memory estimator: Weight memory by dtype, 20% margin to allocate additionally during inference.
- Ollama — FAQ: Default bind address and port, reverse proxy, OLLAMA_NUM_PARALLEL × OLLAMA_CONTEXT_LENGTH memory calculation.
Self-check
1-1. Write one line for each to distinguish 'what it measures' for token, context window, and knowledge cutoff date.
1-2. In a model's documentation, the reliable knowledge cutoff date is stated as March, and the training data cutoff date is stated as May. Explain what attitude you should take toward the answer when asking this model about an event that occurred in April.
1-3. A reasoning model produced a two-line answer, but on the usage screen, output tokens were recorded as much as when receiving a long report. Write a possible reason.
1-4. Pair each of the following four outputs with the most appropriate verification method. Outputs: (A) Promotional copy for a new product (B) Quarterly sales total (C) Competitor launch date (D) Interpretation of causes of customer churn. Methods: Comparison with the source text, recalculation with a different tool, verification of premises and counterexamples, evaluation to check alignment with purpose, audience, and constraints.
1-5. You plan to take photos of twenty handwritten paper survey sheets and have an AI count the number of responses per question. Write two possible errors that may occur and the respective countermeasure for each.
1-6. When the same question was asked across five new conversations, the exact same answer was returned all five times. Write one sentence each on what this result tells you and what it does not tell you.
1-7. A team has three tasks: standardizing the English spelling of 500 product names incoming daily, writing a monthly review memo on entering a new market, and drafting an internal schedule announcement sent twice a week. Design a rule in two to three lines for selecting the model tier for each task, and write a method to verify whether that rule is appropriate.
Hands-on tasks
Exercise
Comparing when there is evidence and when there is none (40 minutes)
- Prepare two questions whose answers can be verified directly. One is a fact that rarely changes (e.g., the official name of a published international standard), and one is Recent information that changed within the past month (e.g., this month's operating hours of a local public facility).
- With the Retrieval function turned off, ask each question separately in three new conversations and record the answers in a table.
- Ask the same questions again, appending "If you are not certain, answer that you don't know."
- Finally, paste the content of an official page containing up-to-date information and ask, "Answer using only the contents in the pasted material and cite the supporting sentence."
- Compare all answers with the correct answers and mark them as 'Correct/Incorrect/Answered 'Don't Know''.
Done when: Results across the three conditions (no evidence, allowed to say 'don't know', material attached) are compiled into one table, and the reason the results differed for the Recent information question can be explained in two or more sentences using knowledge cutoff dates and grounding.
Exercise
Finding multimodal misreadings (40 minutes)
- Select one piece of public data containing numbers (e.g., a statistical table or graph published by a public institution), and prepare both a screen-captured image of it and the original numerical figures (table or CSV).
- Provide only the image and request, "Summarize five key figures and the trend from this material."
- Cross-check the results against the original numerical figures to find incorrect values, and classify each error into 'Reading error (text/rows and columns)' and 'Interpretation error (axes/units/legend)'.
- Rerun after modifying the request to attach the original numerical figures and use the image only for describing trends.
Done when: The error list is classified into the two types, and whether numerical errors decreased after modifying the request can be shown in a before-and-after comparison table.