Google adds controls over which parts of files Gemini API processes

Google released a Gemini API feature on November 23 that lets users specify PDF pages, spreadsheet cells and time ranges in audio or video so the server processes the selected portions. Google said token charges for files apply only to the parts the model examines.
Select document pages, spreadsheet cells or video segments
The feature is available in Google AI Studio and on the Gemini platform and works with all Gemini 4 models. For documents and slides, users can choose the page range and resolution and specify page text or images. For spreadsheets, they can choose worksheets and cell ranges and select content such as data, formulas or images. For video, they can set a time range, resolution and frame rate and choose which elements to process from the transcript, video frames and audio. Audio-only files also support time-range selection.
Reuse a file after uploading it once
Google also released support for direct uploads of Microsoft Office and OpenDocument files. Files uploaded once through the Files API can be referenced repeatedly at the same URI. Google suggested using low-resolution previews or extracted text to find the relevant material, then processing only the necessary pages or other portions at high resolution. Existing file-size and page-count limits still apply to uploaded files.