BeginnerAbout 14 min

    Multimodal LLMs (Vision)

    Read the full article on Substack

    7 min read.

    Slice an image into patches and watch it become tokens, follow attention flowing between words and pixels, and price what a screenshot really costs in context.

    Think of it this way: An image enters the model the way a mosaic enters a description: broken into tiles, each tile summarized as a "visual word", and the words read in order alongside your question. Big tiles read fast but blur the details; small tiles keep detail but take far more words.

    →… ×256each patch becomes one vectorread by the LLM like text tokens

    16×16 patches make 256 image tokens. Real vision encoders use patches of 14 to 16 pixels.

    Check your understanding

    Answer from memory before you scroll back up. Pulling an idea out of your head is what makes it stay there.

    How an image reaches the LLM

    Schematic

    Fill in the missing stages of the vision path.

    Tap a piece, then tap where it goes — or drag it. Tap the tray to take one back.

    Input image

    fixed-size squares
    encodes patches
    aligns the spaces

    LLM, alongside text tokens

    3 pieces left to place

    Quiz

    20 questions
    Question 1 of 20
    Score: 0

    How does an image enter a vision-language model?

    Done with this lesson?

    Sign in free to keep your progress, streak and quiz scores.

    Keep going