Files, PDFs and images
For engineers
Sending documents and images to a model, staying inside size and token limits, and checking what it extracted
110 questions across four stages: Understand, Apply, Solve and Judge.
Try 5 questions
Practice items, not counted towards your mastery. No account needed.
Check yourself · 1 of 5
A 30-page PDF will be questioned dozens of times in one session. Which input route avoids re-sending it each time?
Check yourself · 2 of 5
You need the model to read one printed serial number from a large photo. What is the best preparation?
Check yourself · 3 of 5
A PDF is under the page cap but the request still fails with a context error. What is the most likely cause?
Check yourself · 4 of 5
An extraction returns clean JSON from a blurry scan. What does this tell you about its correctness?
Check yourself · 5 of 5
Where should the question go relative to a long document in the content blocks?
Topics
- Sending PDFs and documents to a model4 min read · Inline base64, URLs and uploaded file ids, how PDFs are read as text plus page images, and where to put the question
- Preparing images for vision requests4 min read · Supported formats, resizing, image token cost, cropping to the relevant region and labelling several images
- File size, page and token limits for documents4 min read · Request size caps, pages per PDF, images per request, token cost per page and how to split large documents
- Checking extracted data against the source document4 min read · Misread numbers, invented table cells, rotated scans and handwriting, and how to verify extraction at scale
Start here
- PDF support (Claude docs) (opens in a new tab)DocsFree
Request limits, the three ways to send a PDF, and how pages are read as text plus images.
- Vision (Claude docs) (opens in a new tab)DocsFree
Image formats, resolution and token cost, multi-image labelling and the stated accuracy limits.
- Files API (Claude) (opens in a new tab)DocsFree
Upload a file once and reference it by id; covers the per-file size cap.
Helps to know first
110 questions · last verified 2026-12