News

Tools

CONFIRMED: Gemini can read file slices to reduce AI processing costs

Google’s API selects pages, cells and media intervals without loading everything into the model. Savings depend on the slice, and complete-file limits still apply.

Lupa dourada ilumina duas páginas e um trecho de planilha em uma pilha de documentos coloridos.

CONFIRMED

Google launched controls on November 23 that let Gemini read selected parts of files through its application programming interface, or API. Instead of loading an entire report into a model, an application can select pages, spreadsheet cells or audio and video intervals. Input token billing, the units used to process content, follows the material actually loaded. The potential saving comes from no longer paying for reading that the task does not require.

Less document, more useful work

The feature works across Gemini 4 models in Google AI Studio and the enterprise Gemini platform. The announcement also adds native uploads for Microsoft Office and OpenDocument files, including documents, presentations and spreadsheets. A file can be uploaded once and reused across requests. Slicing happens on Google’s servers, reducing the need to keep converters, document renderers and video tools inside an application’s infrastructure. It changes the integration work around the model rather than merely increasing the amount of material it can receive.

Choosing a slice also means choosing what to see

Control extends beyond page numbers. For documents, developers can select extracted text or page images and set their resolution. For spreadsheets, they can choose a worksheet, cell range and layers containing data, formulas or visuals. Video controls cover time intervals, resolution and frame rate, alongside transcripts, frames or audio. For a business, that makes it possible to match processing cost to the question: finding a number requires a different kind of reading from interpreting a chart and its layout.

Evidence of savings is not a universal guarantee

Google cites partner tests: LiteLLM reported a 67% reduction in prompt tokens for a Portable Document Format (PDF) file and 33% for a workbook. Vercel reported using 14 times fewer tokens for a text-extraction reading compared with rendering an entire PDF. Independent coverage from AlphaSignal puts these results in the context of the file and slice selected. These are partner measurements, not a promise of equivalent savings for every company or a benchmark conducted by MaxAssistant. A smaller input bill is also not automatically the same as a cheaper complete workflow.

Reading less can hide essential information

Existing file-size and page limits still apply to the complete uploaded file. Slicing does not make oversized documents unlimited. Updating a model is not enough either: without processing options, documents retain page-image defaults and spreadsheets include values, formulas and worksheet names. An automation must select its material deliberately. Missing a relevant note or cell could produce a cheaper but incomplete answer, even when the selected section has been read correctly.

The practical effect is a new context discipline

Order triage, proposal comparison and report preparation are examples of tasks that could benefit when a question depends on a small part of a file. MaxAssistant sees the change shifting competition from maximum context size toward the quality of selection. Before switching models, a company may gain more by deciding what the model genuinely needs to read. The team remains responsible for checking whether a slice preserves the information needed to reach a sound answer.

Sources

Google: Introducing file slicing controls in the Gemini API; AlphaSignal: Gemini API file slicing and partner token measurements