I gave my AI agent a 2MB PDF. Here's what happened to my token count.
An engineer building a document-processing AI agent discovered that processing a 2MB PDF inline consumed 97,354 input tokens, costing $0.29 per document at Claude Sonnet 4-6 pricing. By offloading fil…