Home/Tech
TECH

Google’s Gemini API Can Now Read a Slice of a File, Not the Whole Thing

The new controls let a developer ask for certain pages, cells or a clip of a recording. Google says it only bills for what the model actually looks at.

Official Google graphic for Gemini API file slicing controls, with document and video panels on a light field
Official graphic issued with Google’s 23 November announcement of file slicing in the Gemini API. Google

If you have ever watched an AI choke on a 200-page PDF, the new Gemini API feature is aimed at you.

Last week, Google said the Gemini API can now slice files on the server. That means a developer — or an agent — can ask the model to look at only the pages, spreadsheet cells, or media segment that matter, instead of swallowing the whole file first.

The announcement is on the Google blog, under the names Rohan Doshi and Ben Caine of Google DeepMind.

What you can slice

You can upload a file once, then reuse it. For PDFs, Word documents and slide decks, you can pick a page range, a resolution, and whether the model should read the extracted text or a picture of the page. For spreadsheets, you can pick a tab and a cell range. For video and audio, you can clip a start and end time.

Google also added native uploads for Microsoft Office and OpenDocument files, alongside PDFs, audio and video.

The idea, Google says, is to skim cheaply first — for example, by reading the text of a whole report — then zoom in at high resolution on a single chart. Tokens are billed only for the parts the model inspects.

Google said the controls work across its Gemini 4 models, and that existing file-size and page limits still apply to the uploaded file. The company argued that this also spares developers from running office software and video tools on their own machines just to chop a file up before sending it over.

Sources

Rohan Doshi and Ben Caine, Google, 23 November 2026