LearnGrok
Guides
GuideIntermediateEveryday workflows

Working with files, images and long inputs

How to prepare documents and screenshots so you get a usable answer, and what to do when an upload is refused or an answer ignores half the file.

2 min read

Uploading a file and asking a vague question is the most common way to get a disappointing answer out of an otherwise capable assistant. The fix is mostly in how you frame the request.

Ask for an operation: not an impression

Compare:

  • "What do you think of this contract?" produces generic commentary.
  • "List every clause that creates an obligation on us, with the clause number and a one-line paraphrase." produces something you can check line by line.

The second version also makes errors visible: you can spot a missing clause. The first version hides them.

Long documents: say where to look

When an answer seems to have read only the beginning of a long document, it usually has, in effect: attention is finite and the request was diffuse. Two things help:

  • Name the section, page range or heading you care about.
  • Split genuinely large documents and ask per part, then ask for a merge of your own extracted notes rather than of the raw documents.

Screenshots: crop before you upload

Full-desktop screenshots make the model work to find the subject. Crop to the error dialog, the chart, the failing line. If you need surrounding context, say what it is in words rather than including 4,000 pixels of unrelated UI.

For screenshots of text (a stack trace, a config file, a log), paste the text instead of the image whenever you can. It is more accurate, cheaper, and the model can quote it back exactly.

When the upload is refused

See When a file or image upload is refused for the specific cases: unsupported type, size, and the difference between a client rejection and a server one.

Reuse rather than re-upload

If you keep asking about the same document, keep the useful extract (the table, the clause list, the schema) in a note and paste that into new conversations. It is faster, it costs less, and it gives every future answer the same starting point.

What changes

Accepted file types, size ceilings, page limits and how much of a long input a model will attend to are all version- and plan-dependent. Confirm current limits at x.ai rather than assuming what worked last month still holds.

Check this against xAI

Last checked against xAI’s own pages on 2026-08-20. Grok changes quickly; anything version-specific should be confirmed upstream before you rely on it.

More in Everyday workflows

Found something out of date?

Grok changes quickly and this page is a snapshot. If something here is wrong, or you know a better resource, send it over.

Suggest a link →

Advertise on LearnGrok

$420.69one-time, for a 30-day run

Square works best. PNG, JPEG or WebP, up to 2 MB.

Stripe on the next step. Live once approved.