Tag
Google added file slicing to the Gemini API, letting apps specify which PDF pages, spreadsheet cells, or audio segments to process, with reported token savings of up to 67% on PDFs but raising accuracy risks when context is truncated.
Google introduced native file slicing controls in the Gemini API, letting developers pass PDFs, Office files, audio, and video to Gemini 4 models and slice specific pages, cells, or timestamps server-side, paying tokens only for inspected slices.