Gemini API adds targeted file slicing
Developers can now pass Office files, PDFs, audio, and video directly into the Gemini API and target specific pages, spreadsheet cells, layers, or timestamps server-side. The feature eliminates upfront document parsing pipelines while billing tokens exclusively for the requested slices.
Server-side file slicing turns Gemini from a raw model endpoint into an active document execution environment, quietly challenging third-party parsing middleware.
- –Native Office ingestion (.docx, .pptx, .xlsx) bypasses fragile local preprocessing, OCR setups, and PDF conversion libraries
- –Cell-level spreadsheet targeting and page-level slicing ensure token usage scales with the answer rather than the document size
- –Reusable file URIs across conversation turns let agents inspect document structures first and fetch specific sections on demand
- –Support inside function_result payloads directly enables tool-calling loops where agents dynamically zoom in on relevant data
- –Puts immediate cost and complexity pressure on specialized document ingestion APIs like Unstructured or LlamaParse
DISCOVERED
11m ago
2026-11-23
PUBLISHED
1h ago
2026-11-23
RELEVANCE
AUTHOR
OfficialLoganK