Gemini API File Slicing & Native Office Support: Server-Side Slicing, Token Benchmarks, and Trade-Offs
Google DeepMind launched native server-side file slicing controls and Microsoft Office/OpenDocument support in the Gemini API on November 23, 2026. Developers can target specific PDF pages, spreadsheet cell ranges, and video/audio intervals—paying only for inspected slices—with Vercel reporting 14x fewer tokens on PDF text skims and LiteLLM measuring 61%–96% input-token reductions across targeted slices, subject to original upload limits and whole-file defaults.
8 min read