PDF token limits by AI model: a practical reference (2026)
Context windows, page estimates, tokenizer differences, and a practical rule for when to chunk versus send the full file.
Every time you send a PDF to an AI model, you are working inside a token budget. Go over the limit and the model either refuses the input or quietly drops content. The tricky part: each model family has a different ceiling, and those ceilings keep changing as providers ship updates.
The model limits and prices were checked on November 24, 2026. Sources are the providers' own model pages: OpenAI, Anthropic and Google. If a provider has shipped something newer since then, trust their page over this one.
Current context windows (November 2026)
| Model | Context window | Max output | Approx. dense PDF pages |
|---|---|---|---|
| GPT-6.2 Astra | 1.05M tokens | 128K | 2 100 to 4 200 |
| GPT-6.2 Sol | 1.05M tokens | 128K | 2 100 to 4 200 |
| GPT-6 Luna | 1.05M tokens | 128K | 2 100 to 4 200 |
| Claude Fable 5.2 | 1M tokens | 128K | 1 500 to 3 000* |
| Claude Opus 5.5 | 1M tokens | 128K | 1 500 to 3 000* |
| Claude Sonnet 5.5 | 1M tokens | 128K | 1 500 to 3 000* |
| Claude Haiku 5.5 | 1M tokens | 128K | 1 500 to 3 000* |
| Gemini 4 Carbon | 1 048 576 shared tokens | 65 536 default; long decode below | Budget depends on output |
| Gemini 4 Argon | 1 048 576 shared tokens | 65 536 default; long decode below | Budget depends on output |
| Gemini 4 Neon | 1 048 576 shared tokens | 65 536 default; long decode below | Budget depends on output |
| Gemini 4 Hydrogen | 1 048 576 shared tokens | 65 536 default; long decode below | Budget depends on output |
| Gemini 3.1 Pro (preview) | 1 048 576 tokens | 65 536 | 2 100 to 4 200 |
| Gemini 3.8 Flash | 1 048 576 tokens | 65 536 | 2 100 to 4 200 |
| Gemini 3.5 Flash-Lite | 1 048 576 tokens | 65 536 | 2 100 to 4 200 |
This refresh uses GPT-6.2 Astra, GPT-6.2 Sol, and Claude Fable 5.2 instead of the earlier versions in our October table. Older versions can still be available at different prices. Standard short-prompt rates per million input/output tokens are $8/$40 for Astra and Fable, and $2/$10 for Sol. These are new model rates, not price cuts on the earlier model IDs.
The page column assumes 250 to 500 tokens per page of dense text. Rows marked * are lower because Claude's current tokenizer produces more tokens for the same text (more on that below). The only reliable way to know your own number is to measure it.
An earlier version of this page listed GPT-4o at 128K and Claude 3.5 Sonnet at 200K. Those are no longer the current models, and the gap is the real news: almost every flagship model now takes around a million tokens. For most PDFs the question has moved from "will it fit?" to "what will it cost, and how well will the model use all of it?"
Cost has its own threshold, and it sits well below the window. Claude Haiku 5.5 bills a prompt over 100K tokens at five times its normal rate, the GPT-6 models double their input price above 272K, and Gemini 3.1 Pro goes from $2 to $4 per million above 200K. In all three cases the whole request is billed at the higher rate, not just the part over the line (see the Anthropic, OpenAI and Google pricing pages).
I left open-weight models like Llama and Mistral out. Their usable context depends on how and where you run them, so one number would mislead more than it helps.
Why these numbers are not what you can actually use
Gemini 4 Carbon, Argon, Neon, and Hydrogen each have a unified 1,048,576-token input and output budget. Their default synchronous output limit is 65,536 tokens; long decode can produce up to 1,048,576, subject to that shared budget. A million tokens of output is not an extra million on top of a full input window. Carbon and Argon's standard API price is $2 per million input tokens and $10 per million output tokens through November 30, 2026, then $4 and $20 from December 1, according to Google's pricing page. Neon is $3/$15 and Hydrogen $1.50/$7.50 per million input/output tokens. Flash 3.8 is $0.75/$3.75 through December 31, then $1.50/$7.50 from January 1, 2027. These are Standard rates, not Batch, Flex, or Contributor Tier discounts. Thinking tokens are included in the output price.
On most models the window is shared between what you send and what the model writes back, so a long answer comes out of the same budget as your document. Do not add a listed maximum output to a shared context window. System prompts, conversation history, and tool calls take their share too.
A safe planning rule: assume you can use about 80% of the stated window for your document. For a 1M window, plan for roughly 800K tokens of actual PDF content.
One more catch: these are API limits. Chat apps can set their own caps on file size or context, so pasting a PDF into a chat window doesn't guarantee you get the full number.
Tokenizer differences across models
The same PDF doesn't cost the same number of tokens everywhere. The clearest example right now is Claude. Anthropic's model page describes the current tokenizer as roughly 30% denser, depending on content, and gives about 555K words per 1M tokens versus about 750K for earlier models. Those figures are not an exact conversion from OpenAI encodings. PDFShore's cl100k count multiplied by 1.25 for Claude is only a planning estimate, not Claude's tokenizer or a guaranteed bill.
OpenAI's models page doesn't say which encoding the GPT-6 models use, so the o200k count in the Token Counter is an estimate for them, not an exact figure. Gemini has its own tokenizer too, and Google's token counting guide explains how to get an exact count from the API.
Non-English text usually costs more tokens per word than English, and how much more depends on both the language and the tokenizer. If your PDFs aren't in English, measure instead of estimating.
When to chunk versus when to send the full file
If your document fits comfortably within 80% of the context window, send it whole. Chunking introduces boundary problems and makes retrieval more complex.
If it does not fit, or if you are building a retrieval system that needs to serve many documents, chunk into segments sized for your embedding model (typically 256 to 1024 tokens per chunk).
Measure before you commit to a strategy
Run your actual PDF through a token counter before choosing a workflow. What looks like a 40-page document can easily be 25 000 tokens if it has dense tables, legal boilerplate, or non-English text.
If chunking is needed, the PDF Chunker splits with overlap and exports structured output directly from the browser.