Gemini · Google · Developers

Gemini API can now read only the pages, sheets and cells you choose

Google's Gemini API now slices Word, PowerPoint, Excel and OpenDocument files by page range, sheet or cell range, and bills only the part the model reads.

In an entry dated November 18, 2026, Google’s Gemini API release notes add multimodal file processing and slicing: Word, PowerPoint and Excel files, plus their OpenDocument equivalents, can be passed straight to the API, and you can send only part of a file. Google’s document processing docs give the details below.

What to know

  • File types: .docx, .doc, .dotx and .odt documents, .pptx, .ppt and .odp presentations, and .xlsx, .xls and .ods spreadsheets, sent inline or through the Files API as a document block.
  • Defaults on Gemini 4: with no options set, documents and slides are read as page images at medium resolution (Google says about 560 tokens per page), and spreadsheets as all sheets with values, formulas and sheet names. Gemini 3 and 2.5 read DOCX and PPTX as extracted text instead.
  • Page slicing: for PDFs, documents and slides, processing.page_options takes start_page, end_page and content_layers ("page_image", "page_text" or both). Pages are counted from 1, and an end_page past the last page is clamped.
  • Spreadsheet slicing: processing.spreadsheet_options takes sheet_index (tab position, from 1), visible_cells (an A1 range such as A1:G40) and content_layers ("data", "formulas" and "visual" for a rendered snapshot of charts and layout).
  • Resolution: low, medium or high, which Google puts at about 280, 560 and 1,120 tokens per page.
  • Billing: Google says that when you set these options, it counts and bills only the selected pages, sheets and layers. The model is also told the total page count and sheet names, so it can ask for another range in a later turn.
  • Where it works: all Gemini 3 and Gemini 4+ models, in user input and inside function results.
  • Limits: up to 50 MB per file, 2,000 pages or slides per Office or OpenDocument file (1,000 per PDF), and 50,000 cells per sheet. Google notes the limits apply to the whole uploaded file even when you slice it.

Why it matters

Until now, the cheapest way to ask about one tab of a large workbook or a few slides of a deck was to cut the file up yourself. Slicing makes “read pages 12 to 18” or “look at Sheet 3, A1:H50” a request option. Google’s own tip is to scan a big deck as text first, then ask for high-resolution page images only for slides with charts. Our new guide to prompting AI with spreadsheets and slide decks has templates that follow that pattern, and the long document review guide covers checking the answers.

This builds on Google’s November 5 update that added PPT, ODP and ODS input. See the Gemini page for Google’s other recent changes.

Source: Google AI Studio release notes. We summarise in our own words; check the source for the full details.

More AI news

stay in the loop

New guides, prompts and AI model news by email