Google Launches Gemini API File Slicing for Office and Media
-
- by THEFLGHT,
- November 29, 2026
- in Artificial-Intelligence
Google has launched Gemini API file slicing, letting developers send selected pages, spreadsheet cells and media segments to its models instead of processing entire files. The November 23 release also adds native Microsoft Office and OpenDocument support across Google AI Studio and the Gemini platform.
The change targets a practical cost of building AI agents: preparing large files before a model can examine them. It gives software more control over what enters the model's context, but does not establish a universal savings rate or remove the need to check whether excluded material matters.
Gemini API File Slicing Adds Selective Document Processing
Google's announcement says the controls work across Gemini 4 models. Processing happens on Google's servers, reducing the need for developers to run local document renderers or video-extraction utilities merely to prepare model inputs.
The release supports four main selection patterns:
- Document and presentation page ranges
- Spreadsheet tabs and cell ranges
- Video intervals, frame rates and content layers
- Audio time intervals
The document-processing reference specifies inclusive page ranges starting at page one. Developers can request extracted text, rendered page images or both. For page images, it lists approximate token use of 280, 560 or 1,120 per page at low, medium or high resolution.
Spreadsheet controls go beyond selecting a file. A request can identify a worksheet and an A1-style cell range, then choose evaluated values, raw formulas or a rendered view of charts and layout. The distinction is useful when the task concerns a calculation rather than just its displayed answer.
Google's documentation says the model also receives page counts and worksheet names, allowing it to request additional ranges later. A narrow first look therefore need not be the final look, although the application must support those follow-up requests.
Video Controls Trade Sampling Cost Against Missing Detail
The video reference describes start and end offsets expressed in seconds, alongside configurable frame sampling. In static processing, the default is one frame per second; Google warns that this can miss rapid motion or quick scene changes.
That creates a different decision from simply shortening a recording. An application examining a presentation might need occasional frames and a transcript, while one investigating a brief visual event could require denser sampling. Those are workflow choices, not evidence that one setting is equally suitable for every video.
The API also defines boundary behavior. An end offset beyond the video's duration is clamped to the end, but a start offset beyond its duration produces an invalid-argument error. Developers still need validation and error handling around automatically selected clips.
Further Reading
Files API Reuse Comes With a 48-Hour Expiry
Google says developers can upload a file once and reuse its URI across turns, including tool responses. Tokens are billed for the portions inspected, but existing size and page limits still apply to the uploaded file as a whole.
The separate Files API documentation adds an operational constraint: uploaded files are automatically deleted after 48 hours, and applications can delete them manually sooner. Reusing a reference is therefore not the same as maintaining a permanent document archive.
For a continuing business workflow, that means the original file and the temporary API reference should be treated separately. A later review may require a fresh upload. Teams should also retain the page, cell or time ranges used to support an answer, so reviewers can trace its evidence.
Gemini Agent Savings Depend on Complete-Task Testing
Android Central's November 24 report independently confirms the release and expanded native file support. That coverage is not an independent measurement of savings, and TheFLGHTS has not benchmarked the feature.
The relevant comparison is the cost of a successfully completed task, not just the first input. An agent that repeatedly requests missing pages may consume some of the tokens saved by its initial selection. A cheaper answer that overlooks a decisive footnote is not an equivalent result.
A useful evaluation would compare full-file and selective processing on the same assignments, recording answer quality, missed evidence, latency and cumulative token use. It should include difficult examples where a relevant chart, formula or qualification sits outside the most obvious range.
Google has supplied a more selective input mechanism, not a guarantee that agents will select evidence correctly. The next test is whether developers can turn that control into repeatable savings without sacrificing completeness—particularly in workflows where an omitted detail can change the answer.
Archive photograph: Googleplex, California, photographed July 27, 2016 by The Pancake of Heaven!, via Wikimedia Commons, under CC BY-SA 4.0. Cropped and resized to 16:9; this crop uses the same license. The photograph does not depict the file-slicing launch.
0 Comments:
Leave a Reply