Claude and the Gemini API both accept PDFs up to 1,000 pages. ChatGPT accepts the biggest file, 512 MB, with a 2 million token cap. Claude analyzes charts and graphics only in PDFs of 100 pages or fewer, and Gemini's app help page states no page cap at all. Every figure is as of December 2026, from each company's own help pages.
Those numbers measure different things. Your "longest PDF" is whatever hits the first limit: file size, page count, tokens, or the model's working memory. The sections below separate them, quote each vendor's wording, and end with a checklist. Limits change often, so check the linked pages before relying on a figure.
The Limits Side by Side, as of December 2026
The table covers the consumer chat apps, not the developer APIs, which have their own rules further down. "Not stated" means the official page read for this post gives no number.
| What to check | ChatGPT | Claude | Gemini |
|---|---|---|---|
| Max size per document | 512 MB per file (documents and presentations) | 500 MB per file in chats; 30 MB per project file | 100 MB per file (video up to 2 GB) |
| Page limit | Not stated; 2 million tokens per text or document file | 1,000 pages per PDF | Not stated for the app |
| Reads charts and images in a PDF | Yes, text and images including charts and diagrams; plans not listed | Text and visuals for PDFs of 100 pages or fewer; text only for 101 to 1,000 pages | App page does not say; the API page lists text, images, diagrams, charts and tables |
| Files per chat | Not stated per chat; 80 uploads per 3 hours, 3 per day on Free | Up to 20 files per chat | Up to 10 files per prompt |
| Context window (working memory) | Instant: 27K Free, 54K Go and Plus, 128K Pro. Reasoning: 256K Go and Plus, 400K Pro | 1M tokens on Opus 5.5, Sonnet 5.5 and Haiku 5.5; 500K on Opus 4.8 and Sonnet 4.6, among others (paid plans) | 32K without an AI plan, 128K on AI Plus, 1M on AI Pro and Ultra |
Two cautions. The Claude context row comes from a paid-plans page and gives no Free plan figure. ChatGPT's Business and Enterprise rows were not available in the version read, so none is given.
Size and Token Caps: Which App Accepts the Biggest File
For a single big document, ChatGPT has the most room. Per OpenAI's FAQ, each file can be up to 512 MB for documents and presentations, and text and document files stop at 2 million tokens apiece. Spreadsheets sit outside that token cap and are limited to roughly 50 MB, depending on row size.
Claude's chat limit is 500 MB per file, but the number that bites first is the page cap of 1,000. Gemini's app accepts 100 MB for every non-video file type, according to its help page. That page also notes ZIP files can be up to 100 MB and hold up to 10 files.
A token is a chunk of text, roughly three quarters of a word in English, so 2 million tokens dwarfs most documents. The real question is how much of the file the model keeps in view when it answers.
Upload size is not reading capacity
OpenAI's FAQ does not say how much of a 2 million token file the model holds in its context at once. Its pricing page lists context windows of 27K tokens for Free Instant, 54K for Go and Plus Instant, and 128K for Pro Instant, with Reasoning at 256K for Go and Plus and 400K for Pro. Because those windows are much smaller than 2 million, a very long file is plausibly searched in pieces rather than read end to end. That is an inference from the two numbers, not a statement from OpenAI. For a deeper look at this gap, see the post "Does AI Read Your Whole PDF? Not Always".
Gemini states its working memory plainly. Without an AI plan the context window is 32K tokens, AI Plus gets 128K, and AI Pro and Ultra get 1 million, which Google equates to up to 1,500 pages of text. Google also warns that content past the window "could lead to responses that don't take into account all the content provided."
Claude's own help page lists 1M or 500K token windows in chat for its current models, with models including Opus 5.5, Sonnet 5.5 and Haiku 5.5 at 1M and Opus 4.8 and Sonnet 4.6 at 500K. For models not listed, it says the window is 200K. It also says project files must fit within the context window in total. Chat uploads are limited by the per-file, file-count and page limits instead. The post "Claude Context Window by Plan" goes through the plan details.
Page Limits and What Each App Reads Visually
Claude gives the clearest page rules. Its support page says Claude analyzes both text and visual elements such as charts and graphics for PDFs of 100 pages or fewer, and processes text only for PDFs of 101 to 1,000 pages. PDFs over 1,000 pages cannot be uploaded.
Anthropic's developer documentation gives a different set of figures for the API. A request can carry up to 600 pages, or 100 pages when the context window is under 1M tokens, and the first-party API caps request size at 128 MB. Each page is processed as an image, and the docs warn that dense PDFs with small fonts, complex tables or heavy graphics can use up the context window before the page limit is reached. App limits and API limits are separate, so a number from one does not apply to the other.
ChatGPT states no page limit. Its FAQ says it "can analyze both text and images in PDFs, including charts and diagrams," without naming plans. It adds that files saved as GPT knowledge or project files may not include embedded images automatically, and that attaching the PDF directly to a chat, or uploading the images separately, avoids that.
Gemini's consumer help page states no PDF page limit and says nothing about images inside PDFs. The developer documentation is more detailed: up to 1,000 PDF pages and 50 MB per file, with models that understand text, images, diagrams, charts and tables. On Gemini 3 and 4 models a page costs about 280 tokens at low resolution, 560 at the medium default and 1,120 at high. By that arithmetic, a 1,000 page PDF at the default setting is roughly 560,000 tokens, which fits inside a 1M window. This is a calculation from the documented rate, not a figure Google publishes for the app.
Which App Wins on Size, Pages, Memory and File Count
- Biggest file in megabytes: ChatGPT, at 512 MB per document, with the 2 million token cap.
- Most pages with a stated cap in a consumer app: Claude, at 1,000 pages, though visuals are analyzed only when the PDF is 100 pages or fewer.
- Longest working memory on a paid plan: Claude (1M on the newest models) and Gemini (1M on AI Pro and Ultra) tie on paper. ChatGPT's published windows top out at 400K for Reasoning on Pro.
- Many files in one prompt: Claude, at 20 per chat, against Gemini's 10 per prompt. ChatGPT states a rate limit instead of a per-chat count.
Which Is Best for Scans and Image-Heavy PDFs
No official consumer page ranks the three on scanned documents, so no winner can be named from the sources read. What the pages do say points in a direction. A scan is a picture of text, so the tool has to treat the page as an image. Claude's API page says each page is processed as an image and its help page limits visual analysis to PDFs of 100 pages or fewer. Gemini's API page says it renders PDF pages to 2-megapixel images at 288 DPI and advises avoiding blurry scans or low-contrast pages. OpenAI's FAQ says images in PDFs are analyzed, but it does not mention scanned or image-only PDFs.
A simple rule follows. Up to 100 pages, any of the three can look at the page images, and Claude's app documents that limit most clearly. Over 100 pages, Claude's app processes text only, so scanned pages may yield little. Test a few pages first, then check a number or name in the answer against the original.
Make a scan easier to read
- Scan at a readable resolution, flat and well lit. Gemini's documentation specifically warns against blurry scans and low-contrast pages.
- Split a very long scan into chapters of 100 pages or fewer before uploading to Claude, so each part keeps its visual analysis.
- Ask for page references with each answer, such as "Quote the sentence and give the page number."
- Where a PDF mixes text and charts, upload the chart pages as images if the tool may skip embedded pictures, as OpenAI's FAQ suggests for project files.
Upload Error Messages in Claude, ChatGPT and Gemini, and Their Causes
Vendors word rejections differently, and not all print the exact cause. This is the wording from their help pages.
- Claude, "Uploaded file is too large." Claude's page lists this as the error for a PDF over 1,000 pages. Split the file and try again. A file under 500 MB can still hit this if the page count is too high.
- ChatGPT, "upload limit reached." The phrase comes from OpenAI's troubleshooting section, which describes an error shown once a user or organization hits a cap. The trigger is either the rate cap (80 files every 3 hours, 3 per day on Free) or storage (25 GB per user, 100 GB per organization), so the file itself is not the problem. OpenAI adds that it may lower these limits during peak hours.
- Gemini, "You've reached your limit for chats with files." According to Google's page, rolling limits apply to how much you can attach and analyze in a period of time, and the limit resets after some time. A different notice, "Your uploads may be too large for the best results," cautions that answers may miss connections or details.
- A silent partial read. No message appears. The answer simply misses content from late pages. This is a context or retrieval limit, not an upload error, and the fix is asking about one chapter at a time.
A Decision Checklist for Your Next Long PDF
- Count pages and megabytes first. Over 1,000 pages: split it, because Claude rejects it and Gemini's API page caps at 1,000.
- Does the file contain charts, diagrams or scanned pages? If yes and it is 100 pages or fewer, Claude's visual analysis covers all of it. If longer, split into sections of 100 pages or fewer.
- Is it a huge but plain text file (hundreds of megabytes, millions of tokens)? ChatGPT's 512 MB and 2 million token caps are the highest stated.
- Do you need to compare several documents in one prompt? Claude allows 20 per chat and Gemini 10 per prompt. Merge or split files to fit.
- Check your plan's context window before trusting a whole-document summary. On Gemini without an AI plan it is 32K.
- Ask for quotes with page numbers and verify two or three against the original. Do this before using any figure, clause or date from an answer.
- Work in sections for anything that matters. One chapter per question beats one question about 800 pages.
For anything legal, financial, medical or contractual, treat an AI answer as a reading aid and not as advice. The rules on what you may upload, and what your employer, school or client allows, differ by organization, and they have the last word.
MemX: Finding One Fact Across Many Saved Files
MemX is built differently from the three tools above, and the difference is not a larger upload window. The Chat With Documents feature page describes saving PDFs, scans and photos, then asking in plain words; MemX replies from your own files and shows the memory it used. Its worked example is finding a notice period inside a very long lease PDF.
That fits one situation: you keep many files over time and need a fact from one of them, not a summary of a single 800-page document. The feature page states that answers include source thumbnails with dates, and that you can open the original file to check, which matters for dates and amounts. Asking and searching need an internet connection.
Its limits matter here. The feature page does not state a maximum file size, page count or files-per-account figure, so do not assume it matches the figures in the table above. MemX is also not a tool for loading a whole book at once and getting a chapter-by-chapter analysis. It describes its approach to privacy as private by architecture: a key per account, encryption at rest, every read logged. If your task is one very long PDF with charts, the vendor limits above are the ones to plan around.
01Which AI can read the longest PDF?
By stated page cap, Claude (1,000 pages in the app) and the Gemini API (1,000 pages). ChatGPT states a 512 MB and 2 million token cap per file but no page count. Gemini's app help page gives no page limit. How much each reads at once depends on its context window.
02How many pages can Claude read in a PDF?
Claude's support page says up to 1,000 pages. It analyzes text and visuals such as charts when the PDF is 100 pages or fewer, and text only for 101 to 1,000 pages. A PDF over 1,000 pages triggers the error "Uploaded file is too large."
03What is ChatGPT's file size limit for PDFs?
OpenAI's FAQ says documents and presentations can be up to 512 MB per file, with text and document files capped at 2 million tokens. Spreadsheets are roughly 50 MB. Free users get 3 file uploads per day, and others up to 80 files every 3 hours.
04How many files can I upload to Gemini at once?
Google's Gemini Apps help page says up to 10 files, subject to availability, can be attached in the same prompt. Non-video files can be up to 100 MB each. It also says there are rolling limits on how much you can attach and analyze over time.
05Why does the AI miss content in a long PDF?
Upload limits and reading capacity differ. A file can upload fine yet exceed what the model holds in its context window, or be searched in pieces. Gemini's help page warns that content past the window may be ignored. Split the file and ask about one section at a time.
