Gemini API adds file slicing: 67% fewer tokens, but is it trustworthy?

andrewaltair · reddit · 2026-11-24

Google added file slicing controls to the Gemini API on Nov 23, letting apps process only chosen PDF pages, spreadsheet cells, or recording segments. Google reports 67% fewer prompt tokens on one PDF and 33% fewer on a workbook. The author flags a reliability risk: reading only a summary tab can miss a separate tab defining revenue, yielding cheaper but wrong answers — apps should show the range actually read and let users expand it.

Related event: Gemini API adds native file slicing for PDFs, Office files, and media(7 posts)→

Original post →

More from coding & agent

coding & agent channel →