changelogGoogle

Google adds file-slicing controls and native Office file support to the Gemini API

TL;DR

Google launched native file-slicing controls in the Gemini API on November 23, 2026, along with native upload support for Microsoft Office and OpenDocument files. Developers can request selected pages, spreadsheet ranges and media segments, with tokens billed only for the content Gemini inspects.

1 min read
0

Google on November 23, 2026, launched native file-slicing controls in the Gemini API, together with native upload support for Microsoft Office and OpenDocument files. Developers can request selected pages, spreadsheet ranges and media segments, and tokens are billed only for the content Gemini inspects.

What changed

The update has two parts:

  • File slicing: developers can ask for specific pages, spreadsheet ranges or media segments instead of submitting a whole file.
  • Native Office and OpenDocument uploads: Microsoft Office and OpenDocument files can be uploaded directly to the Gemini API.

Billing follows the slice. Tokens are charged only for the content Gemini inspects, not for the full file.

Target use case

The update is aimed at agents that need a narrow piece of a larger file: a chart in a long report, one worksheet in a workbook, or a short passage in a recording. Before this change, the workflow described in the announcement involved converting and loading an entire file in the client.

Details not covered here

This report is based on a short feed summary from Unite.AI. It states the launch date, the two features and the billing behavior. It does not list the other details of the release.

What this means

For developers building agents on the Gemini API, slicing moves file selection into the API request. Because billing is tied to the content Gemini inspects, a request for one worksheet or one page is charged for that content rather than the whole file. Native Office and OpenDocument support also means those files can be uploaded as they are, without a client-side conversion step first.

Source: unite.ai ↗

Comments

Loading...