Tinker Multimodal models

by Samy (Kondasamy Jayaraman)

OK

PASS1,600 px: 2,610 image tokens; 5 of 5 fields read right.

Chapter 2 of 7

Size and detail

An invoice at full size costs thousands of tokens. Larkspur gets hundreds of invoices a week, and someone suggests sending them smaller.

This chapter: What do you lose when you send a smaller image?

About this chapter

You will learn

  • Why fewer pixels means fewer patches, and so fewer tokens
  • Why small print is the first thing to go
  • Why a very large image is scaled down before it is read

Words you’ll meet

Resolution
How many pixels an image has across and down. Here the size is the long edge in pixels.
Downscale
Shrinking an image to fewer pixels. The model’s provider does it to any image over its limits.
Small print
The smallest text on a page: terms, footnotes, fine detail. It blurs away first.

Step 1 of 3

At 1,600 px the invoice costs 2,610 image tokens, every field right. Lower means fewer patches, so fewer tokens.

Predict first.

Accounts wants invoices sent smaller, to save tokens. Shrink this one step by step: which field becomes unreadable first?