Signal

Google adds native file slicing to the Gemini API

Developers can specify which parts of a document, audio file or video Gemini should process, with support across Gemini 4 models.

1 min read
Google’s product illustration for native file slicing in the Gemini API
Google’s product illustration for native file slicing in the Gemini API. View source

Google added file slicing controls to the Gemini API. Developers can reference selected pages or media intervals when sending files for analysis, leaving the service to handle the selection. Google says the feature is available across Gemini 4 models.

The release also describes native support for Office files. For a request about one part of a long file, selecting that portion can reduce the amount of material Gemini needs to process and simplify client-side file handling.

Google says input usage is billed for the portions actually inspected. Developers still need to test whether the slices preserve enough context for the task, especially when relevant information spans several pages or media intervals.

Sources

More Models & Products reporting