Multimodal AI: How Models Read Images, Audio and Text Together

Macro close-up of a webcam CCD image sensor chip, representing the visual input side of multimodal AI

Multimodal AI is a model that can take in, and sometimes produce, more than one type of data, such as text, images, audio and video, within a single request. Instead of passing a photo to one system and your question to another, a multimodal model reads both together and answers with the image as context. Current models from Anthropic, OpenAI and Google all accept images alongside text, and some also handle audio, video or image generation.

Image: Andrew Magill, Wikimedia Commons, licensed under CC BY 2.0.

This guide explains what “modality” means, how these models connect different data types, what each major API accepts as of October 2026, how images are converted into tokens and billed, and how to write prompts that actually use the image instead of ignoring it.

Modalities: the vocabulary

A modality is a type of data: text, images, audio and video are the main ones, with documents like PDFs often treated as a mix of text and images. A single-modal model works in one type only: a classic language model reads and writes text; an image classifier only sees pictures. A multimodal model accepts at least two.

It helps to separate input from output, because they are not symmetric. Many models accept images as input but only write text; image generation is often a separate model or a separate tool. When someone says “this model is multimodal”, ask two questions: which modalities can it read, and which can it produce?

  • Image in, text out: describe a photo, read a chart, extract fields from a scanned invoice, explain an error in a screenshot.
  • Text in, image out: generate or edit an image from a description.
  • Audio in, text out: transcription, or answering a spoken question.
  • Audio in, audio out: live voice conversation without a separate speech-to-text and text-to-speech step.
  • Video in, text out: summarize a recording, find the moment something happens.

How a model learns to connect images and text

The core idea is to map different data types into a shared representation, so that a photo of a dog and the words “a dog” end up close together. A landmark example is OpenAI’s CLIP, described in the 2021 paper Learning Transferable Visual Models From Natural Language Supervision. CLIP was trained on 400 million image-caption pairs collected from the internet to predict which caption goes with which image. Because it learned visual concepts from natural language, it could recognize categories it was never explicitly trained on, simply by being given their names.

Modern chat models extend that idea. In broad terms, an image is cut into small patches, each patch is turned into a vector by a vision encoder, and those vectors are fed into the language model alongside the text tokens. From the model’s point of view, the image becomes a sequence of tokens it can attend to while reading your question. Audio works similarly: the sound is converted into a representation (often a spectrogram, a picture of frequencies over time) and then into tokens. The exact architectures of commercial models are not fully published, so treat this as the general pattern rather than a description of any specific product.

The same shared-space idea powers cross-modal search: because text and images live in one vector space, you can search a photo library with a sentence. If you want the mechanics of that space, see how embeddings turn text into numbers.

What the major APIs accept today

Capabilities differ by provider and by model, and they change often, so check the official page for the model you use. The table summarizes image input as documented by each provider in October 2026.

DetailClaude APIOpenAI APIGemini API
Image formatsJPEG, PNG, GIF (first frame), WebPPNG, JPEG, WebP, non-animated GIFCommon image formats; see Google’s docs
How images become tokens28×28-pixel patches: ⌈width/28⌉ × ⌈height/28⌉ tokens, after resizing to the model’s limitPatch-based, with a detail setting (low, high, original, auto) controlling resolution258 tokens if both sides ≤384 px; larger images split into 768×768 tiles at 258 tokens each
Resolution controlResized automatically; newer models allow a long edge up to 2,576 px, others 1,568 pxdetail parameter per imageTiling as above
Other input modalitiesPDFs: each page is read as both extracted text and a page imageAudio: transcription, text-to-speech and realtime speech-to-speechAudio (32 tokens per second), video, PDFs
Image outputNo image generation in the vision docsYes, through GPT Image models and the image generation toolYes, through Gemini’s native image generation models (the Nano Banana family)

Sources for the table: Anthropic’s vision documentation, OpenAI’s images and vision guide and Google’s Gemini token documentation.

Worked example: what one screenshot costs in tokens

Images are not free context: each one is converted into tokens that count against the context window and are billed as input. Anthropic’s documentation gives concrete figures that show why resolution matters. A 1000×1000-pixel image costs 1,296 tokens. A 1920×1080 screenshot costs 1,560 tokens on models with the standard resolution limit (it is downsized to 1456×819 first) and 2,691 tokens on newer high-resolution models, which keep it at full size.

You can do the arithmetic yourself for Claude. Take a 1456×819 image: ⌈1456/28⌉ = 52 and ⌈819/28⌉ = 30, so 52 × 30 = 1,560 tokens. For Gemini, a small 300×300 thumbnail is a flat 258 tokens, while a large image is billed per 768×768 tile, so a picture covering four tiles costs roughly four times as much.

Practical consequences:

  • Crop before you upload. If you need one error dialog from a 4K screen, crop to the dialog. You pay for fewer tokens and the model sees the relevant part at higher effective resolution.
  • Do not shrink text to illegibility. Anthropic warns against cropping out key context or compressing so hard that JPEG artifacts appear. The goal is the smallest image in which every detail you care about is still readable.
  • Reuse uploads. If the same image is used across turns, upload it once through a files API and reference it by ID instead of resending base64 every request.
  • Budget for many images. A batch of 50 product photos can consume more context than the text around it. The general rules are in the guide to context windows.

Prompting with images: before and after

The main prompting change with multimodal models is that you can show instead of describe, but the text still has to say what to look at and what to produce. A vague prompt next to a good image often gets a generic description of the image instead of the analysis you wanted.

Before

[screenshot attached]
What's wrong here?

The model has to guess whether “here” means the error message, the layout, the data in a table or the code in the background. It will often describe everything at a shallow level.

After

Image 1: screenshot of our checkout page in Chrome after clicking "Pay".
Image 2: the browser console at the same moment.

Context: the page should show an order confirmation. Instead it stays
on the spinner. This started after yesterday's deploy.

Task:
1. Transcribe every error message visible in Image 2 exactly as written.
2. Say which error most likely explains the stuck spinner, and why.
3. List anything in Image 1 that looks inconsistent with a successful
   payment (amounts, status text, missing elements).
If any text is too small or blurry to read, say so instead of guessing.

Why each part is there:

  • Images first, labeled. Anthropic’s docs say Claude works best when images come before the text, and recommend labeling multiple images (“Image 1:”, “Image 2:”) so you can refer to them unambiguously.
  • Context the image cannot show. Expected behavior and the recent deploy are facts the model cannot see in pixels.
  • Transcribe before interpreting. Asking for the exact text first makes misreadings visible, so you can catch them before trusting the diagnosis.
  • Permission to say “unreadable”. Without it, models tend to fill gaps with plausible guesses. More techniques for this are in reducing AI hallucinations with better prompts.

Where multimodal models still fail

Both Anthropic and OpenAI publish lists of known vision limitations, and they overlap heavily. Knowing them tells you where to add a human check or a non-AI tool.

  • Counting: counts of many small objects are approximate.
  • Precise positions: spatial reasoning and coordinates are approximate. OpenAI gives the example of reading chess positions.
  • Small, rotated or low-quality images: accuracy drops for tiny images (Anthropic mentions images under 200 pixels), rotated or upside-down text, and heavy compression.
  • Charts with subtle encodings: OpenAI notes difficulty when line styles or colors are the only thing distinguishing series.
  • Non-Latin text: OpenAI lists weaker performance on scripts such as Japanese or Korean.
  • Specialized medical images: both providers state their models are not designed to interpret diagnostic scans such as CT or MRI.
  • Identifying people: Claude will not name people from their faces.
  • Metadata: OpenAI notes the model does not see file names or metadata, so do not rely on a file name to carry context; put it in the prompt.

For anything that must be exact, such as invoice totals or measurements, pair the model with a deterministic check: re-add the line items in code, or compare extracted fields against your database.

Native multimodal vs. a pipeline of separate models

There are two ways to give a text model access to images or audio, and they behave differently. In a pipeline, a separate model converts the image to a caption or the audio to a transcript, and the language model only ever sees that text. In a native multimodal model, the image or audio tokens go straight into the same model that reads your question.

AspectPipeline (caption or transcribe first)Native multimodal
Information passed onOnly what the first model chose to write downThe full image or audio representation
Question-specific detailLost if the caption did not mention itThe model can look for what your question asks about
Tone, layout, visual styleMostly lostAvailable to the model
DebuggabilityEasy: you can read the intermediate textHarder: no intermediate step to inspect
Cost controlTranscribe once, reuse cheap text many timesMedia tokens paid on every request that includes them

Pipelines are still a good choice when you need a searchable transcript anyway, or when you will ask many questions about the same long recording. Native input is better when the question depends on details a generic caption would skip.

When you do not need a multimodal model

For text-only work such as writing, summarizing text or coding from a text description, multimodal input adds nothing. It starts to pay off when the source material is visual or spoken: screenshots, scanned forms, diagrams, slide decks, recorded calls. If you are choosing between providers for a mixed workload, the trade-offs beyond vision are covered in GPT vs Gemini vs Claude: choosing a model.

Sources

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top