Gemini API gains file slicing: developers request only the pages, ranges and segments they need

Gemini API gains file slicing: developers request only the pages, ranges and segments they need
AI-generated illustration

Google has added native file slicing to the Gemini API, alongside native upload support for Microsoft Office and OpenDocument formats.

23 November 2026 · News · Verified against the original sources on 24 November 2026

What happened

Google has added native file slicing to the Gemini API, alongside native upload support for Microsoft Office and OpenDocument formats. Developers can now request specific parts of a file — pages of a document, ranges of a spreadsheet, segments of video or audio — instead of sending the whole file, and tokens are billed only for the parts Gemini inspects. For documents and slides, slicing accepts a page range, a resolution (low, medium or high) and content layers for page text and page image. Spreadsheets accept a sheet index, visible cells and layers for data, formulas and visuals. Video accepts start and end offsets, frames per second and resolution, with transcript, frames and audio layers; audio accepts time intervals. The controls work across all Gemini 4 models, and existing file size and page limits still apply. Files are uploaded once via the Files API and the URI can be reused across turns and tool calls. In Google's worked example, a document is skimmed with Gemini 4 Hydrogen and the relevant slice is then examined in detail with Gemini 4 Neon. Partner results quoted in Google's post — Vercel reporting 14 times fewer tokens when skimming versus rendering a whole PDF, and LiteLLM reporting 67% fewer prompt tokens for a PDF and 33% for a workbook — are the partners' own claims as published in the post, not Google's measurements. The feature is available in Google AI Studio and on the Gemini platform now.

How we covered this: facts above come only from the sources listed below. AiTopMix did not independently test the product in this story.

Sources

Checked on 24 November 2026. If a source page has changed since, the source is the final word.

Related article: Gemini 4 Hydrogen: Google’s Fast, Cheap Model Is Now in Search and the Free Gemini App.

Related article: Gemini 4 Neon: Price, Access and Where It Fits in the Gemini 4 Family.

Related article: Gemini API file slicing explained: send the pages that matter, pay only for what Gemini reads.

← All news Back to the directory