Lesson 5.5 · 5 of 7 · 4 min read · Reviewed 24 Nov 2026
Knowledge cutoffs and what the model can't know
By the end, you can
- Explain knowledge cutoffs.
- Design around what the model can't know.
What the model can’t know
| Gap | Example | How to fill it |
|---|---|---|
| Events after the training cutoff | Last week’s launch | Retrieval, tools, web search |
| Your private data | Customer orders, internal docs | Tools and RAG |
| The current date and time | “What’s due tomorrow?” | Put the date in the system prompt |
| The user | Name, plan, preferences | Look up and include |
| Live state | Stock levels, service status | Tools |
Cutoff dates
The models overview page lists training data cutoffs for each Claude model. Models may know a little about the period just before their cutoff, but coverage of very recent events is thin.
Signs of trouble
- Confident statements about recent versions of software or prices
- “As of my knowledge” answers to questions your app should answer from data
- Old policies quoted as current
Design rules
- Never rely on training data for facts your business owns. Look them up.
- Give the date. A one-line “Today is 2026-11-24” prevents many date errors.
- Allow “I don’t know”. Tell the model to say when it lacks the information (7.3).
- Cite sources for factual answers (7.2).
Key points
- A model's training data stops at a cutoff date; it doesn't know about later events unless you tell it.
- It also doesn't know your private data, your users, or the current time unless you provide them.
- Supply fresh or private facts through the prompt, retrieval or tools, and give the current date when it matters.
Fill the gaps the model can't know
Route each question to the source that can answer it, and put today's date and fresh facts into the request.
You will have: A router that labels five questions by the gap they hit, and a request with the date and retrieved facts in the system prompt.
Steps
- Run the starter: every question is routed to 'model knowledge'.
- Fill in route(): send date questions to 'date', account questions to 'private data', stock and status questions to 'live tool'.
- Build a system prompt that states today's date, 2026-11-24, and lists the retrieved launch facts.
- Send the launch question to the simulated client with that system prompt and print the stop reason.
- Check that only the general question is left to model knowledge.
Done when
- 4 of 5 questions are routed away from model knowledge.
- The system prompt contains 'Today is 2026-11-24'.
- The request completes with a stop reason printed.
Open in the Playground No API key needed.
Starter code (Python)
import anthropic
client = anthropic.Anthropic()
QUESTIONS = ["What's due tomorrow?", "What is my current plan?", "Is the Leeds warehouse in stock?",
"What did we launch last week?", "What is photosynthesis?"]
FACTS = {"launch": "Last week we launched Atlas Lite, a smaller version of Atlas for teams of up to 10."}
def route(q):
# TODO: return 'date', 'private data', 'live tool', 'retrieval' or 'model knowledge'
return "model knowledge"
for q in QUESTIONS:
print(f"{q:36} -> {route(q)}")
system = "You are a helpful product assistant." # TODO: add today's date and the retrieved FACTS
reply = client.messages.create(model="claude-sonnet-5-5", max_tokens=200, system=system,
messages=[{"role": "user", "content": QUESTIONS[3]}])
print("stop_reason:", reply.stop_reason)
Show a solution
import anthropic
client = anthropic.Anthropic()
QUESTIONS = ["What's due tomorrow?", "What is my current plan?", "Is the Leeds warehouse in stock?",
"What did we launch last week?", "What is photosynthesis?"]
FACTS = {"launch": "Last week we launched Atlas Lite, a smaller version of Atlas for teams of up to 10."}
def route(q):
t = q.lower()
if any(w in t for w in ["tomorrow", "today", "due"]):
return "date"
if any(w in t for w in ["my plan", "my current", "my account", "my order"]):
return "private data"
if any(w in t for w in ["in stock", "status", "outage"]):
return "live tool"
if any(w in t for w in ["launch", "last week", "new release"]):
return "retrieval"
return "model knowledge"
routes = [route(q) for q in QUESTIONS]
for q, r in zip(QUESTIONS, routes):
print(f"{q:36} -> {r}")
print(f"routed away from model knowledge: {sum(r != 'model knowledge' for r in routes)} of {len(QUESTIONS)}")
system = ("You are a helpful product assistant. Today is 2026-11-24.\n"
"Use only these facts for company news:\n- " + FACTS["launch"] +
"\nIf the facts don't cover the question, say so.")
print(system.splitlines()[0])
reply = client.messages.create(model="claude-sonnet-5-5", max_tokens=200, system=system,
messages=[{"role": "user", "content": QUESTIONS[3]}])
print("stop_reason:", reply.stop_reason)