---
title: "Claude Context Window: Size and Limits (2026 Guide)"
description: "Claude context window is a per-model limit of 1,000,000 tokens, separate from plan caps."
url: https://www.activepieces.com/blog/claude-context-window-size-and-limits-2026-guide
updated: 2026-12-06
---

> Every page on www.activepieces.com is available as markdown: add `.md` to the URL, or send `Accept: text/markdown`. Site index: https://www.activepieces.com/llms.txt

# Claude Context Window: Size and Limits (2026 Guide)

By Petra Vlk · December 6, 2026 · 16 min read · Filed under [Automation thoughts](https://www.activepieces.com/blog/category/automation-thoughts)

**Summary**

Claude's 1,000,000-token context window is set by model, not plan, so paying more buys usage cap space, not conversation space.

- Context window is 1,000,000 tokens since August 2025.
- One PDF page is about 2,400 tokens.
- In an earlier test, Sonnet 4.6 at full window retrieved as low as 65.1 percent.

Hitting your plan's usage cap tells you nothing about the context window, and the reverse is true too.

The window is a per-model ceiling, and it has grown to 1,000,000 tokens since August 2025, which matters whether you're chatting directly or wiring a model into an [Activepieces](https://www.activepieces.com) flow.

### What the context window is, in one definition

The [Claude](https://claude.com/pricing) context window is the most text a model can hold in view for one request. It's counted in tokens and covers your prompt, the history, attached files and the reply together.

![OpenAI provider Models configuration showing pricing and context windows for various GPT models in Activepieces.](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/f457631e-01f9-4853-ae7b-544fe200e7b7/arcee-ai-pricing-models-and-cost-per-token-2026-ef16bc25.webp)

[OMCircle](https://omcircle.ai/radar/ai-models/anthropic) tracks how far it has stretched. Per [Morphllm](https://www.morphllm.com/claude-context-window), Claude 1 managed 9,000 tokens, so a long contract didn't fit. In May 2023 it reached 100,000, more than eleven times larger, and whole documents became routine.

A conversation could run twice as long before the oldest messages fell out once Claude 2.1 raised the window to 200,000, [Turboai](https://www.turboai.dev/docs/claude-code/env-vars/CLAUDE_AUTOCOMPACT_PCT_OVERRIDE) reports.

From August 2025 it's 1,000,000, five times that, which means a full codebase can fit, along with the temptation to fill it with things that don't belong there.

### Context window by model (API docs table)

Read the empty answers as the finding: for a plan, there's no number to plan around. The table shows what each row's source supports and where it's silent.

| Row | Context window | Max output | Reset window | Source |
|---|---|---|---|---|
| Fable 5.2 | Per-model; ceiling of 1,000,000 tokens since Aug 2025 | Not stated in this source | None; the window applies per request | [OMCircle](https://omcircle.ai/radar/ai-models/anthropic) |
| Opus 5.5 | Per-model; ceiling of 1,000,000 tokens since Aug 2025 | Not stated in this source | None; the window applies per request | [OMCircle](https://omcircle.ai/radar/ai-models/anthropic) |
| Sonnet 5.5 | Per-model; ceiling of 1,000,000 tokens since Aug 2025 | Not stated in this source | None; the window applies per request | [OMCircle](https://omcircle.ai/radar/ai-models/anthropic) |
| Haiku 5.5 | Per-model; ceiling of 1,000,000 tokens since Aug 2025 | Not stated in this source | None; the window applies per request | [OMCircle](https://omcircle.ai/radar/ai-models/anthropic) |
| Free plan | No fixed number published | No fixed number published | No fixed number published | [OMCircle](https://omcircle.ai/radar/ai-models/anthropic) |
| Paid plans | No fixed number published | No fixed number published | No fixed number published | [OMCircle](https://omcircle.ai/radar/ai-models/anthropic) |

_Prices and plan limits checked against [docs.claude.com](https://docs.claude.com/en/docs/about-claude/models/overview) and [claude.com](https://claude.com/pricing) and [openai.com](https://openai.com/chatgpt/pricing) and [gemini.google](https://gemini.google/subscriptions) on December 5, 2026._

Because the model rows carry no reset, a window can't "run out" over a day. It overflows inside a single request, which is a different failure from a rate limit.

### Context window by Claude.AI plan

You won't find a plan in the table with its own window figure, because the ceiling belongs to the model you pick.

What a plan changes is how many messages you can send. That's why a long chat can hit the usage cap while the window still has room, and why a short chat full of pasted files can overflow it with the cap untouched.

![A stuffed jar beside a large untouched stack of tickets](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/784021e8-cf8e-4e56-a98c-b312ae957cee/claude-context-window-size-and-limits-2026-guide-27132ed5.webp)

Where the table says "No fixed number published", nothing in the sources above gives a figure to quote for that item. Usage caps on plans are the clearest case.

Don't budget around a number you have seen only in a forum post. Measure what you actually send, then trim it.

## Claude context window usage in conversations

Count more than the messages you typed, because everything the model reads or writes in one conversation counts. Once you have measured your own sends, this is the list to measure them against:

- Chat history, resent in full each turn, so a long thread charges you for its early messages again and again.
- Uploaded files, where one PDF page is about 2,400 tokens.
- The system prompt, the standing instructions sent with every request.
- Tool results, such as a 1,000-line code file read into the chat at about 10,000 tokens.
- Thinking tokens, the model's reasoning before it answers, which can outrun the answer itself.
- The model's reply, where a page of prose is about 900 tokens.

Those sizes come from [aicontexttools.com](https://aicontexttools.com/how-many-tokens-is-my-document):
- A PDF page costs more than two and a half text pages, so a 20-page PDF is roughly 48,000 tokens before you ask anything.
- The same source puts a one-hour transcript at 16,200 tokens, about 18 text pages, and a Claude Code payload at 19,000.
- The takeaway: **files and tool output fill the window faster** than anything you type, so those are the first things to trim.

![A 20-page PDF printed as a thick stack of paper on a desk beside a much shorter stack of plain text pages, the PDF stack…](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/6ab2832b-7def-43ed-bbd0-df8fc90c0159/claude-context-window-size-and-limits-2026-guide-78bf4f3f.webp)

### Context window versus rate limit versus usage cap

Raising one of these limits does nothing for the others. The context window is a published ceiling on how much one conversation can hold, and it's set per model.

A rate limit restricts how fast you send, and a usage cap restricts how much you use across a period.

That matters when a plan upgrade is on the table. **A higher plan can buy more usage, but it doesn't make an overstuffed conversation fit if the model's window is the limit.** Check the model's page for its window before you pay for anything.

### The context error versus a 429

You can tell the two errors apart by what happens next. A context error means this one request is too large for the model. A 429 means you are sending too many requests, or too many tokens, too quickly.

To troubleshoot request issues:
- Wait a minute and retry a request that got a 429, and it may well go through.
- Retry an oversized request unchanged and it fails the same way every time.
- The fix for a context error is a smaller request: drop old turns, shrink or remove files, or summarise tool output.

![How Claude's largest context window has changed](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/3d930e38-d891-47c9-be84-1b2787ee3c50/claude-context-window-size-and-limits-2026-guide-8d264150.svg "Source: OMCircle")

Applying the wrong fix wastes the afternoon, and a pause won't shrink a 48,000-token PDF. The fix for a 429 is to slow down, spread requests out, or batch them.

## Costs and requirements for larger context windows

Holding more of that PDF takes a larger window, and that comes with its own price, access conditions and accuracy loss. The table below sets out those five columns for each current model.

I couldn't confirm Anthropic's figures for these models, so those cells say so rather than carry a guess. Read the numbers on [Anthropic's pricing page](https://claude.com/pricing) before you budget against them.

| Model | Input $/M, standard | Input $/M, above 100K | Cache read price | Batch discount | Plan or beta header for largest window |
|---|---|---|---|---|---|
| Opus 5.5 | Unconfirmed | Unconfirmed | Unconfirmed | Unconfirmed | Unconfirmed |
| Sonnet 5.5 | Unconfirmed | Unconfirmed | Unconfirmed | Unconfirmed | Unconfirmed |
| Fable 5.2 | Unconfirmed | Unconfirmed | Unconfirmed | Unconfirmed | Unconfirmed |
| Haiku 5.5 | Unconfirmed | Unconfirmed | Unconfirmed | Unconfirmed | Unconfirmed |

Until a cell is confirmed, treat it as unknown. A job sized on a guessed rate will be wrong by whatever the premium turns out to be.

### Per-token prices and long-context pricing

Compare the two input columns row by row. If a model charges more above 100K, every request that crosses that line is billed at the higher rate, and one oversized attachment can reprice the whole call.

![A long parcel crossing a floor line, turning darker throughout](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/05214f32-a30d-4b45-a5ce-f75d99920a06/claude-context-window-size-and-limits-2026-guide-e30a02eb.webp)

Keep routine requests under the line and send the large ones deliberately.

Price isn't the only cost of filling the window.

In a test of retrieval at a full 1M window, [Hacker News](https://news.ycombinator.com/item?id=47368829) figures put Opus 4.6 between 91.9 and 78.3 percent retrieved, and Sonnet 4.6 between 90.6 and 65.1 percent, meaning retrieval success depends on where information sits within the window.

At the bottom of Sonnet's range, **roughly one fact in three was missed**. The models tested are older, but the lesson carries: a full window isn't a reliable one, so you pay a premium for room you shouldn't fill.

### Claude prompt caching and batch discounts for context

When a reused prefix leads every request, caching bills it at the cache read price instead of the input price.

The saving is real only if the same system prompt or document comes first each time, so keep the stable material first and the changing question last.

Compare the cache read column with the standard input column to see how much each repeat saves.

If the work can wait, as overnight summaries and bulk classification can, the batch discount is what it's for. It doesn't help an interactive session, because you give up the immediate answer in exchange for the lower price.

### Which plan or tier unlocks the largest window

Though the window belongs to the model, access to the largest one can depend on a plan, an API tier or a beta header. That's the last column of the table.

The consumer Free plan costs $0 and, per [Claude's pricing page](https://claude.com/pricing), allows "limited usage every 5 hours and every week." That limit is your usage cap, separate from any window size, so upgrading changes how much you can send, not what one conversation can hold.

![What common content costs in Claude tokens](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/f5d960ba-20e5-420d-aab9-dd1ab9dfc1a6/claude-context-window-size-and-limits-2026-guide-2298f20f.svg "Source: aicontexttools.com")

## Six mistakes that waste the Claude context window

Before you pay for a larger window, fix these six habits, which account for most wasted window: pasting everything, never restarting, mistaking the window for the usage cap, ignoring output and thinking tokens, skipping caching, and trusting recall you never tested.

### Filling the window with material Claude doesn't need

Pasting a whole contract, report or repository when the question concerns one clause or one function is the most common mistake. Every token you send is a token that can't hold the answer.

Before you type anything, the tool's own overhead is already large, and code costs far more than prose.

> Every token you send is a token that can't hold the answer.

*(chart)*

So send the clause, the function and the error message. Leave the rest of the file out unless the task needs it.

Because every turn resends the whole conversation, old tangents keep costing you long after they stopped mattering. Start a new chat when the subject changes, and carry over a short summary instead of the transcript.

### Confusing the window with the usage cap

Don't confuse this ceiling with your usage cap. The window limits what fits in one request. The cap limits how much you can use over a period. A short chat can still hit the cap, and a long one can hit the window first.

![Admin dashboard showing AI usage metrics, spending by source, project costs, and AI model usage breakdown with charts and…](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/ea1d663a-9db3-4541-8961-a76af556747d/google-antigravity-mcp-how-to-add-servers-2026-s-d0008d5d.webp)

Ask for exhaustive reasoning or a very long reply and you use up room you thought you had reserved for the input, because output and thinking tokens count toward both.

Treat long-context recall as a claim to test, not an assumption. Put a known fact in the middle of your real material, ask for it back, and see whether it returns. If it doesn't, shorten the input rather than hoping.

### Stop paying full price for repeated Claude context

If every request opens with the same instructions, reference document or tool definitions, you are paying to process identical text again and again. Prompt caching exists for this case.

Mark the stable prefix as cacheable, keep it at the front, and put the part that changes after it. Anything that varies inside the prefix, even a timestamp, defeats the cache.

### Not measuring tokens before sending

Guessing is how people end up at an error screen. Before you send a request, the API's token-counting endpoint reports its size. Every response also returns a usage block with input and output counts, so you can see what each call cost.

In Claude Code, the /context command shows what's already occupying the window. For remaining usage, read the usage page for your plan rather than inferring it from how the session feels.

## Run long Claude jobs in Activepieces with your own key

For rate limits, Activepieces helps. It's an open-source automation builder that can pace and retry your Claude calls, but it can't make a request fit in a window the model doesn't have. Measure, trim and cache first, then automate what is left.

![OpenAI provider configuration showing selectable AI models with pricing and capabilities filtering](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/79f90e63-e9fa-44a2-ac86-8f8caec78b2e/how-much-does-xai-grok-api-cost-pricing-in-2026-42d8bbed.webp)

Start with the connection. Add the Claude step to a flow, choose to create a new connection, and paste an API key from your Anthropic console.

The calls then bill against your own API account, so the limits you meet are that account's limits, not those of a chat subscription.

Activepieces runs whichever Claude model you picked on that key, so the spend lands on your Anthropic account at your own rate rather than in a bundle someone else priced.

A tool that resells you the model has made that choice for you before you open it, which is awkward when the window is exactly what you're trying to size.

The Activepieces pricing page lists bring-your-own-key from the Plus plan at $20 a month, which includes 10,000 credits and charges $0.007 a credit beyond that. On that key every AI step is 1 credit, so your monthly bill depends on how many steps you run.

On a resold model the same step is 2 credits on a fast model, 10 on a smart one and 20 on a frontier one, and the model cost then sits in your Anthropic bill rather than in that credit count.

Keep that key in the connection and never in a prompt field, because anything in a prompt field is also in the run history that other people on the workspace can open.

Then set the step itself:

1. Pick the model from the [published model list](https://docs.claude.com/en/docs/about-claude/models/overview). For high-volume, latency-sensitive work such as subject lines or tagging, Claude Haiku 5.5 is the one Anthropic describes for that job. Claude Sonnet 5.5 is its pick for the best mix of speed and intelligence.
2. Set max tokens to the shortest reply the task needs. A subject line doesn't need a long ceiling, and a low cap stops a runaway answer from eating output budget on every run.
3. Keep the prompt to the fields the step uses. Passing a whole record when it needs one column is how a window fills with the wrong things.

In the screenshot, step 7 of a "Sales Outreach" flow, an Ask AI step, is selected. The right panel holds a Text AI step on the Anthropic provider, a prompt asking for an email subject line, and a "Tested Successfully" result in the Output tab.

![Activepieces workflow showing an AI step configured to generate email subject lines using Claude.](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/97c97455-bf79-46ff-933c-592f5be82a3d/claude-context-window-size-and-limits-2026-guide-12fededa.webp)

Before you loop it over a thousand records, run it on one real record and read what came back before you pay for the rest. That test run is your measurement.

### Handling the 429 in a workflow

After that, the failure to plan for is the 429, the response that means you sent requests faster than your account allows. In the step's error settings, turn on retry so a rejected call is tried again instead of ending the run.

Place a Delay step between batches of items so the retry isn't fighting the same burst that caused the error.

Be clear about what this buys. A retry and a delay make a long job finish.

A prompt that is too large for the model's window will fail on every attempt, and retrying it only repeats the failure. Trim the input before it reaches the step.

## Frequently asked questions

Does Claude remember earlier chats beyond the window? No. A new chat starts with an empty window, so anything you want carried over has to be pasted in or kept in a Project's files.

Starting fresh clears the old transcript, which is why a short summary pasted into a new chat often works better than dragging a long thread along.

Is the Claude context window the same on Free and Pro? Don't assume it is. The window is a ceiling published per model, while Free and Pro differ mainly in how much usage you get.

Check Anthropic's published figure for your model and your plan, and treat any number quoted in a forum thread as unverified until you have.

### Can I get a bigger window by paying for Max?

Max buys a larger usage allowance, not a promise of a larger window. Those are two separate limits, and confusing them is the most common way people pay for the wrong fix.

Same goes for Projects: they give you somewhere to keep files, but whatever Claude reads from them takes up room in the window, so a heavy Project leaves less space for the conversation.

Two related points are worth knowing. Prompt caching doesn't enlarge the window: it makes a repeated, unchanged opening part of your input cheaper and faster to process, but those tokens still sit inside the ceiling.

Extended thinking uses space too, since the reasoning Claude produces in a turn counts toward that turn's budget, so a long reasoning pass can crowd out the answer you wanted.

### Why does Claude say the chat is too long with messages left?

Because you have hit the window, not the usage cap. The usage cap counts how much you may send in a period. The window counts how much one conversation can hold at once.

You can have plenty of allowance left and still be refused, because every earlier message, pasted document and reply is re-read on each turn.

To clear the error, shrink what is in the chat: start a new one, carry over a short summary, and drop attachments Claude no longer needs. Buying more usage won't clear it.

### Does a longer window mean better answers?

Not by itself. A bigger window means more fits, not that Claude uses all of it equally well.

Stuff a window with irrelevant pages, old drafts and duplicated instructions, and the model has more to wade through and more chances to latch onto the wrong passage.

Put in what the task needs, in the order it needs it, and a smaller window will often beat a larger one filled carelessly.

## Related reading

- [GLM 5.3 Prime: Pricing, Benchmarks & Context Window](https://www.activepieces.com/blog/glm-53-prime-pricing-benchmarks-context-window)
- [Claude Team Plan (2026 Guide)](https://www.activepieces.com/blog/claude-team-plan-2026-guide)
- [Claude Pro Pricing in 2026: Free Plan, Limits and Cost](https://www.activepieces.com/blog/claude-pro-pricing-in-2026-plans-limits-and-cost)

## References

- [aicontexttools.com](https://aicontexttools.com/how-many-tokens-is-my-document)
- [OMCircle](https://omcircle.ai/radar/ai-models/anthropic)
- [Hacker News](https://news.ycombinator.com/item?id=47368829)
