Why use Sub Agents: how they save context window
Working with Claude on a long task and noticing it forgets details the longer you talk? One reason is a full context window. This article explains what a context window is, how big it is for each model, and how Sub Agents help the main Agent work longer and more clearly.
The 30-second summary
Context Window is Claude's desk. Everything it uses to answer must sit on this desk. Most current models have 1 million tokens (it varies a little by app) Sub Agent are team members who work at their own desks and send back only a summary. The main Agent's desk stays clear, so it thinks clearly and can keep going longer. Your job is to hand off the task and decide Yes or No.
What is a context window
To understand Sub Agents, start with the context window: everything Claude can see when giving one answer, including the answer it is writing.
The context window is Claude's work desk
Everything Claude needs to see when answering must sit on this desk. Anthropic calls it working memory. The desk has limited space; the more you pile on, the harder things are to find.
How big is each Claude model's context window
Most current models have a 1 million token context window, except Haiku 5.5 in Cowork at 500K. Numbers vary a little by app. These cards summarise Anthropic's official docs
via the API
- Chat in the Claude app (paid plans)1M
- Claude Code1M
- CoworkNot stated
- Max output per response128K
via the API
- Chat in the Claude app (paid plans)1M
- Claude Code1M
- Cowork1M
- Max output per response128K
via the API
- Chat in the Claude app (paid plans)1M
- Claude Code1M
- Cowork1M
- Max output per response128K
via the API
- Chat in the Claude app (paid plans)1M
- Claude Code1M
- Cowork500K
- Max output per response128K
in chat on paid plans
- API · Claude Code · CoworkSee each model's docs
Chat figures are for paid plans · 1M tokens is roughly 555,000 English words per Anthropic's docs. Thai text may give a different word count.
Without vs with Sub Agents: what's the difference
The Claude Code docs explain that each Sub Agent runs in its own context window and returns only the summary. See how different the main Agent's desk looks.
Without Sub Agents
One Agent does everything. Every file, search result and log piles onto one desk.
With Sub Agents
Each Sub Agent works at its own desk and sends back only a summary
The percentages are a made-up example to show the idea. Real amounts depend on the task and file sizes.
How the work flows: Person, Agent, Sub Agent
Think of a real team: you own the work, the main Agent is the team lead, and Sub Agents are specialist team members. Your only job is to hand off the task and decide.
Step 3: each Sub Agent works out its own approach in a separate context, and they can run at the same time
Hand off work split across Sub Agents
A template for multi-step work that keeps only summaries in the main chat
Task: [e.g. build next month's Facebook content plan for ...] Split the work with Sub Agents like this: 1) Research Sub Agent: find trends and 3 competitors, summarize in no more than 10 lines 2) Writing Sub Agent: draft 8 posts based on step 1 3) Review Sub Agent: check facts, typos and brand voice Send back only summaries, don't paste raw data into this chat. When done, summarize for me to decide: what's ready to use, and what I need to choose.
When Sub Agents are worth it
Sub Agents don't suit every task. Use them when there's lots of raw data or the work can run in parallel.
Use Sub Agents
- Reading many files or documents
- Researching many sources and summarizing
- Work that splits into pieces done in parallel
- You want someone separate to review the work
- Long work with many rounds in one chat
Not needed yet
- Short questions answered in one message
- Work where you need every raw line in the main chat
- Small tasks where splitting takes longer
Ask Claude which work to split off
Paste into a long working chat to get advice on which steps should use Sub Agents
Look at the work we've done in this chat. Which steps need lots of file reading, lots of research, or could run in parallel, and should go to a Sub Agent? Make a table: step · split it? · reason · best model (Haiku / Sonnet / Opus). Also tell me which approach would use more quota.
Checklist before using Sub Agents
- The task has lots of raw data or can be split to run in parallel
- Tell each Sub Agent exactly what to send back and how long
- Ask for summaries only, no raw data in the main chat
- Use a light model like Haiku for easy work, Sonnet or Opus for deep thinking
- Remember Sub Agents use quota too
- A person always makes the final Yes or No call
References: Claude Docs: Models overview, Claude Docs: Context windows, Claude Code Docs: Subagents, Claude Help Center: How large is the context window on paid Claude plans? (As of November 2026) · Context sizes and app features may change. Check the latest docs.
Know someone who uses Claude for long tasks and finds it forgets details? Send them this article. Share to Facebook Share on LINE


