# Knowledge Cutoff

> The Knowledge Cutoff is the date after which a language model has no information from its training data.

## What is a knowledge cutoff in an LLM?

The point in time up to which a model's training data was collected. The model knows nothing about later events, library versions or APIs unless this information is provided in the context, for example with search or RAG.

- Topic: Language Models
- Type: concept

## Example

Wrong:

```text
How many days are left until the end of the month?
```

Right:

```text
Today is {{currentDate}}.
How many days are left until the end of the month?
```

The model has no clock, so passing the current date lets it answer instead of guessing from its training data.

## Common mistakes

- AI suggests deprecated APIs or old package versions because they were common before its cutoff.

## Key points

- The current date is passed in the prompt when answers depend on it.
- Code using a fast-changing library is checked against current docs, not the model's memory.

## Interview questions

### Does an LLM know today's date?

No. A model only knows its training data, so the app must pass the current date in the prompt when the answer depends on it.

### Can a model know about events after its cutoff?

Not by itself. Web search, RAG or documents in the prompt can give it newer information at request time.

### Why does a model state the wrong cutoff date for itself?

Models often do not know their own cutoff exactly, because data near the cutoff is sparse. Trust the provider's documentation over the model's answer.

## Related cards

- [Pre-Training](https://wonderium.dev/ai/pre-training.md)
- [Grounding](https://wonderium.dev/ai/grounding.md)
- [RAG](https://wonderium.dev/ai/rag.md)
- [Hallucination](https://wonderium.dev/ai/hallucination.md)

---

- Level: [Artificial Intelligence](https://wonderium.dev/ai.md)
- HTML version: https://wonderium.dev/ai/knowledge-cutoff
- Last updated: 2026-11-25
