Gemini API can now inspect only the required slices of large files
Google has added server-side file slicing controls to the Gemini API, along with native upload support for Microsoft Office and OpenDocument formats.

AT A GLANCE
Key points
- Developers can select pages, spreadsheet ranges and media intervals on the server.
- Only the content Gemini inspects is counted for token billing.
- Native Office and OpenDocument upload support is available through the API.
What is changing?
On November 23, 2026, Google released file slicing controls for the Gemini API. Developers can now select only the required pages, cell ranges, time segments or content layers from PDFs, Office documents, presentations, spreadsheets, audio and video instead of sending the entire file to the model. Google says tokens are billed only for the portion Gemini actually inspects.
A file can be uploaded once through the Files API and reused by URI across turns and tool calls. An agent can first scan extracted document text at lower cost to locate the relevant section, then inspect only that page as a high-resolution image. This can reduce repeated whole-file processing when the task is to find one table in a long report or a short scene in a long video.
For documents and presentations, developers can choose start and end pages, resolution and text or image layers. Spreadsheets support sheet and cell-range selection; video supports time ranges, frame rate and transcript, frame or audio layers; audio supports start and end offsets. Microsoft Office and OpenDocument files can also be uploaded natively without a conversion step.
The features are available today through the API in Google AI Studio and Vertex AI. Existing file-size and page limits still apply, and Google says native slicing works across Gemini 4 models. Before production use, developers should test whether the selected layer preserves the visual layout, formulas or audio context required by their own files.
This report is prepared with AI assistance and checked against sources. Automated checks do not constitute human editorial review. Editorial approach
Explore the original sources
Source date: 23 November 2026.
Published by AI Radar: 23 Nov 2026, 22:00 (Istanbul, UTC+3).
FOLLOW THE TOPIC
Topics and tags
Share your discovery.
Send this story to a friend.
Reader comments
What do you think about this development? Share your experience or question. Comments are published after editorial approval.
Your name/nickname and comment become public if approved. Read: Privacy notice.






Loading comments…