AI
Context window: what it is
The term Context window explained in plain Arabic from an official or primary source, with an original example, common mistakes and what was not verified.
Last reviewed:
What it is
The Gemini long-context page likens the context window to short-term memory: a limited amount of information you pass the model so it can generate a response. It says that in Gemini 4 the 1M-token window is shared across input, thinking and output tokens. For each model's exact size see the Models page.
An example
Our example: if you paste a long report and ask after a long chat, the context may or may not hold what you pasted, depending on the model's size.
Common mistakes
- Assuming a big window always means better understanding; the source describes capacity, not quality.
- Forgetting that output uses the same window.
Source
Our summary is based on the page Gemini API: Long context in our own wording, read on 2026-12-01. Read the official page for details.
Latest updates
The source page was read on 2026-12-01. Definitions can change, so check the source.
Similar tools
For neighbouring terms read the linked glossary pages, and for the full list read the glossary index.
Not verified
I read only the source page named, and our examples are illustrative and untested.
Related pages
Sources
- Gemini API: Long context · read on
Wording is ours, from the official source. Images and video belong to their owners and are credited with a link to the official page.