Gemini API adds server-side file slicing, so developers can request only chosen pages, spreadsheet ranges, or media segments and pay tokens only for those parts.
Who it is for
Developers building document, spreadsheet or video workflows on the Gemini API who want to cut token spend on large files.
Key points
Works across all Gemini 4 models; existing file size and page limits still apply.
Documents: page range, resolution (low, medium, high) and content layers (page_text or page_image).
Spreadsheets: sheet index and cell range; video: time clips, fps and resolution, with transcript, frames or audio layers.
Also adds native upload for Microsoft Office and OpenDocument formats, available in Google AI Studio and the Gemini platform.
AI:Gemini 3.7 Flash, 3.6 Flash and 3.5 Flash-Lite gain agentic video understanding, where the model chooses which video segments, frame rates and modalities to inspect instead of fixed 1 FPS sampling.