驕カ鄙ォ繝サBack to blog

ChatGPT Context Window Explained: Limits, Truncation, and Better Context

Summary

  • ChatGPT has a finite context window measured in tokens, with a maximum combined token limit that varies by selected model, mode, and plan.
  • When a chat gets long or you paste large inputs, older parts of the conversation can be truncated from what the model can use in the current turn.
  • Better results come from context hygiene: concise briefs, structured constraints, and periodic "state refresh" summaries you control.
  • Features like Custom Instructions, Memory, and Projects can support continuity, but you still need to fit task-critical details into the current turn's token budget.
  • A lightweight snippet workflow (templates, summaries, key constraints) can make it faster to re-anchor context when you start a new chat.

If you have ever felt like ChatGPT "forgot" something you said earlier, you likely ran into the context window: the amount of information the model can consider at one time. That limit is measured in tokens, and it includes both what you send and what the model generates back.

This guide explains tokens, why the context window is finite, what truncation looks like, and practical ways to keep "better context" inside the limit. Limits vary by the selected model and plan, and some modes can have different limits than others. For OpenAI's official background on tokens and token limits, see What are tokens and how to count them. For model- and mode-dependent limits in ChatGPT (including differences by GPT-5.5 mode and plan), see GPT-5.3 and GPT-5.5 in ChatGPT.

What is the ChatGPT context window?

The context window is the maximum amount of information (measured in tokens) that can be included for a single response. In practice, each turn has a budget: the total tokens included for the model to consider plus the tokens it generates in its reply must stay within a maximum combined token limit. OpenAI describes this as a model's maximum combined token limit, and notes that practical limits vary by model version and usage tier.

Two practical implications matter most:

  • Long chats do not stay fully "active" forever. As the conversation grows, not everything can fit into the current turn's budget.
  • Your input competes with your output. Pasting a large document and asking for a long, detailed answer uses the same combined budget.

Tokens: the unit that actually hits the limit

OpenAI defines tokens as the units models process, and every model has a maximum combined token limit. That is why "how long it looks" (pages, paragraphs, word count) can be a misleading way to predict whether you will hit the limit.

From a practical workflow perspective, token usage can climb quickly with:

  • Code and logs: lots of symbols, indentation, and repeated identifiers.
  • Structured data: JSON/YAML with many keys and punctuation.
  • Long lists and tables: repeated patterns and dense formatting.
  • Multiple drafts pasted repeatedly: each full re-paste consumes more of the budget.

If you want the official explanation of tokens and how limits work at a high level, start here: https://help.openai.com/en/articles/4936856-what-are-tokens-and-how-to-count-them.

Why context limits vary by model, mode, and plan

In ChatGPT, the available context window can vary depending on which model you select and, in some cases, which mode you choose. OpenAI notes that current ChatGPT context-window sizes vary by selected GPT-5.5 mode and plan, and that manually selected Thinking has different limits from Instant. For the official, up-to-date description of those differences, refer to https://help.openai.com/en/articles/11909943-gpt-5-3-and-gpt-55-in-chatgpt.

Because limits can differ across models and tiers, a reliable habit is to write prompts and "context packs" that still work when the available window is smaller than you expected.

What happens when you exceed the context window?

When your input plus the included conversation context plus the model's response would exceed the maximum combined token limit, you can run into one (or more) of these outcomes.

1) Truncation: older messages fall out of the active context

As a chat grows, older parts may no longer be included in what the model can use for the next response. When that happens, the model is not responding to those older details because they are not present in the current turn's context.

Common symptoms of truncation:

  • The model contradicts earlier decisions (tone, formatting rules, definitions).
  • It re-asks questions you already answered.
  • It ignores constraints that used to be followed (length limits, "must include" items).
  • It loses track of variable names, document structure, or acceptance criteria you set earlier.

2) The response is shorter than you expected (or cuts off)

If there is not enough remaining budget for a long answer, you may get a shorter response than requested. If you need a long output, you often need to reduce the input size or explicitly ask for the answer in parts.

3) The system rejects the request

Sometimes you will see an explicit error indicating the input is too long. This is the clearest failure mode, but truncation can be harder to notice because the chat still produces an answer.

Context hygiene: practical ways to get better context within limits

"Better context" is not the same as "more context." It is about including the highest-signal information in a form the model can use, while keeping the total within the token budget for the current turn.

Use a compact "working brief" (and re-use it)

Instead of relying on a long backscroll, create a short brief you can paste at the start of a new thread (and re-paste later if needed). A good working brief includes:

  • Goal: what you are trying to produce.
  • Audience and tone: who it is for and how it should read.
  • Constraints: length, format, must-include points, must-avoid points.
  • Source-of-truth excerpts: only the few paragraphs or requirements that truly matter.

Copy/paste working brief template:

  • Goal: [one sentence]
  • Audience: [who]
  • Tone: [how it should sound]
  • Output format: [headings / bullets / JSON / etc.]
  • Constraints: [3-7 bullets]
  • Key definitions: [2-5 bullets]
  • Essential reference: [paste only what is necessary]

Do "state refresh" summaries when the chat gets long

When you notice drift or forgetting, stop and create a compact state you can carry forward. Ask ChatGPT to produce a structured summary you can reuse, then paste that summary as the new source of truth (either in the same chat or in a fresh chat).

Prompt you can use:

  • Summarize the current state as:
  • Decisions made (bullets)
  • Constraints to follow (bullets)
  • Open questions (bullets)
  • Current draft or current plan (only the latest version)
  • Then ask me 3 clarifying questions before continuing.

Separate instructions from reference material

Mixing "what to do" with large blocks of source text makes it harder to trim when you approach the limit. A simple structure helps you cut the right parts first:

  • Instructions: task, constraints, output format.
  • Reference: only the excerpts needed for this step.
  • Checks: what "good" looks like (acceptance criteria).

Iterate with changes, not full re-pastes

If you are revising a document, repeatedly pasting the entire draft consumes the budget quickly. After the model has the current draft once, try switching to change-based instructions:

  • "Replace paragraph 2 with the following…"
  • "Keep everything else the same, but change the tone to…"
  • "Here are three sentences that must be included verbatim…"

A compact decision table: which context tactic to use when

Situation What to do Why it helps within a finite context window
You are starting a new task Paste a short working brief (goal, constraints, essential excerpts) Front-loads the highest-signal context without relying on chat history
The chat is long and the model starts drifting Create a structured "state refresh" summary and continue from that Compresses many turns into a smaller, reusable state
You need to use a long document Triage first, then paste only relevant sections in chunks Avoids spending the budget on text that does not affect the output
You need a long answer Ask for the output in parts (outline first, then sections) Reserves budget for generation instead of consuming it with input
You are iterating on a draft Send diffs/edits instead of re-pasting the full draft each time Reduces repeated tokens and keeps the active context focused

How Custom Instructions, Memory, and Projects relate to context limits

ChatGPT includes features that can help you carry preferences and continuity across conversations. They are useful for reducing repetition, but they do not change the need to keep task-critical details within the current turn's token budget.

Custom Instructions: reusable preferences across chats

Custom Instructions are configured in ChatGPT personalization settings, apply across chats, and can be edited or deleted for future conversations. They are a good place for stable preferences (tone, formatting rules, role, recurring constraints) so you do not have to restate them every time. Official guide: https://help.openai.com/en/articles/8096356-custom-instructions-for-chatgpt.

Memory: continuity with boundaries

When enabled, ChatGPT Memory can use context from chats, files, and connected apps. OpenAI also notes that the memory summary does not include everything ChatGPT may remember. Saved memories are stored separately from chat history, so deleting a chat does not by itself delete a saved memory from that chat. Official FAQ: https://help.openai.com/en/articles/8590148-memory-in-chatgpt-faq.

Projects: keep related work together

Projects group chats, uploaded files, and project instructions for ongoing work, and projects have built-in memory. Project-only memory can reference chats inside the project but not conversations outside it; default-memory behavior depends on plan and settings. Official guide: https://help.openai.com/en/articles/10169521-projects-in-chatgpt.

Optional supporting workflow: keep reusable context snippets easy to paste

If you frequently reuse the same brief templates, constraints, or "state refresh" formats, it can help to keep those snippets somewhere you can quickly search and paste from. This does not change the context window, but it can reduce repeated rewriting when you start a new chat or need to re-anchor a long one.

CopyCharm is a Windows desktop app that saves copied text locally, lets you search past clips, favorite important clips, and separately save reusable prompts. One practical workflow:

  • What you save: your working-brief template, your preferred state-refresh format, and recurring constraints (style rules, acceptance criteria, definitions).
  • When you retrieve it: right before starting a new ChatGPT chat, or when you notice drift and want to paste a compact "source of truth" again.
  • How you reuse it: search for the snippet, copy it, then paste it into ChatGPT (or another AI tool) as the first message or as a mid-thread refresh.

Official site: https://copycharm.ai/.

Frequently Asked Questions

FAQ 1: What exactly counts toward ChatGPT's context window?
Answer: The context window is measured in tokens and is constrained by a maximum combined token limit. That combined limit covers the tokens included for the model to consider in the current turn plus the tokens generated in the response. Limits vary by model and usage tier. OpenAI's overview is here: https://help.openai.com/en/articles/4936856-what-are-tokens-and-how-to-count-them.
Takeaway: Input and output share one finite token budget per response.

Back to FAQ Table of Contents

FAQ 2: What is truncation, and how can I tell it happened?
Answer: Truncation is when older parts of a long conversation are no longer included in the active context for the next response because the total would exceed the token limit. You may notice the model forgetting earlier constraints, contradicting prior decisions, or re-asking questions you already answered.
Takeaway: If the chat is long and behavior changes, assume older context may have dropped out.

Back to FAQ Table of Contents

FAQ 3: What are tokens, and why do token limits matter?
Answer: Tokens are the units models process, and every model has a maximum combined token limit. Token limits matter because they cap how much information can be included for a single response, including both what you provide and what the model generates. OpenAI explains tokens and counting here: https://help.openai.com/en/articles/4936856-what-are-tokens-and-how-to-count-them.
Takeaway: Token limits are the practical ceiling on "how much you can fit" into one turn.

Back to FAQ Table of Contents

FAQ 4: Why do context limits vary by model, mode, and plan?
Answer: Different models (and sometimes different modes within a model family) can have different maximum combined token limits, and availability can depend on plan. OpenAI notes that current ChatGPT context-window sizes vary by selected GPT-5.5 mode and plan, and that manually selected Thinking has different limits from Instant: https://help.openai.com/en/articles/11909943-gpt-5-3-and-gpt-55-in-chatgpt.
Takeaway: Always design prompts that still work if the available window is smaller than expected.

Back to FAQ Table of Contents

FAQ 5: Do Custom Instructions, Memory, or Projects remove context-window limits?
Answer: They can help with continuity and reusable preferences, but you still need to fit task-specific details into the current turn's token budget. Custom Instructions are saved in personalization settings and apply across chats (official guide). Memory can use context from chats, files, and connected apps when enabled, and saved memories are stored separately from chat history (official FAQ). Projects group chats, uploaded files, and project instructions and have built-in memory (official guide).
Takeaway: Use these features to reduce repetition, but still manage what you include for each response.

Back to FAQ Table of Contents

FAQ 6: What is the fastest way to "reset" context without losing progress?
Answer: Create a structured "state refresh" summary (decisions, constraints, open questions, and the latest draft or plan), then start a new chat and paste that summary as the new source of truth. This keeps the essentials while reducing how much history you rely on.
Takeaway: Carry forward a compact state summary instead of a long backscroll.

Back to FAQ Table of Contents

FAQ 7: How do I work with large documents without overflowing the context window?
Answer: Start by stating your goal and pasting only a short excerpt, then ask what additional sections are needed to complete the task. Provide the document in smaller, relevant chunks (for example, one section at a time). If you need a full-document outcome, extract only the parts that affect the output (definitions, requirements, key paragraphs) and use those as the reference section in your working brief.
Takeaway: Triage first, then feed only the sections that change the answer.

Back to FAQ Table of Contents

FAQ 8: How can CopyCharm support better context hygiene for ChatGPT?
Answer: If you reuse the same brief templates, constraints, or state-refresh summaries, CopyCharm can store copied text locally, let you search past clips, favorite important clips, and separately save reusable prompts. You can then copy a saved snippet and paste it into ChatGPT when starting a new thread or when you need to re-anchor a long conversation. Official site: https://copycharm.ai/.
Takeaway: Faster retrieval of reusable snippets can reduce repeated rewriting when you need to reintroduce context.

Back to FAQ Table of Contents

CopyCharm for AI Work
Turn copied work snippets into clean AI context.
CopyCharm helps you turn copied work snippets into clean, source-labeled context packs for ChatGPT, Claude, Gemini, Cursor, and other AI tools. Copy, search, select, and export the context you actually want to use.
Download CopyCharm

Related Guides