Files and images in chat
Attach with the clip, or paste an image straight into the box. Up to 8 files go with one message.
Diagram as text
- You attach a file with the clip or paste an image. A message carries up to 8 attachments.
- An image is scaled down to at most 1536 px on its long edge and sent with the message, so a vision-capable model sees the picture.
- A text file of up to about 100,000 characters goes into the message as text.
- A text file over about 100,000 characters stays in the container. The model gets its path, line count and an outline, then reads the parts it needs.
- Any other file, such as a PDF or an Office document, is stored in the container and the model gets only its path.
Files uploaded to a chat may be checked for known malware. This check looks at the file, not your chat messages. A clean result cannot guarantee that a file is safe.
- Text files
- are read into the message
- Images
- go to vision-capable models
- Other files
- go to the container
It stays with the chat
Attachments are stored with the chat, so the model can refer back to them later.
Large files stay in the container
A text file over about 100,000 characters is not put into the message. It is kept in the container, and the model gets its path, line count and an outline, then reads the parts it needs. That is cheaper, because it does not read the whole file every turn. Files that are not text, such as PDFs or Office documents, go to the container too, and the model gets only their path. You can also put any file there yourself.
Sent with the message
Pasting a long text and pressing Enter at once sends the file with the message. Sending reads the live list of attachments, not the last drawn page.
In research and Ultracode runs
Deep Research and Ultracode runs take the files of the chat along as an attached brief. A file too large for the prompt appears as an outline, its first lines and its path under /work/uploads, and the agents read the rest in the container. Images are named but not described, because the planning models read text only. Only files of your own chat are used.
Attached to the chat
The whole file, every turn.
Read from the container
Only the part it needs.
The bars sketch the idea. They are not measured sizes.