The Gemini API now lets developers load only the pages, spreadsheet cells and media segments they need from a file, and Google bills tokens only for the parts Gemini inspects. Google announced the Gemini API file slicing controls on November 23, 2026, in Google AI Studio and the Gemini platform, alongside native upload support for Microsoft Office and OpenDocument files.
For anyone building a tool that reads long reports, workbooks or recordings, the cost of a question now follows the part of the file it touches, not the size of the upload.
Gemini API file slicing works by range, layer and resolution
Google lists separate controls for each file type. Documents and slides take a page range (start_page, end_page), a resolution of low, medium or high, and a content layer of page_text or page_image. Spreadsheets in .xlsx, .xls and .ods take a worksheet tab (sheet_index) and a cell range (visible_cells), plus resolution and layers for data, formulas and visuals.
Video accepts a clipped time interval (start_offset, end_offset), a frame rate and a low or high resolution, with transcript, frames or audio as layers. Audio takes the same interval clip. When developers leave the options out, documents and slides default to layout-preserving page images, and spreadsheets include evaluated values, formulas and sheet names across all tabs.
The controls work across all Gemini 4 models, and existing file size and page limits still apply. Google’s document understanding documentation describes PDF processing for documents up to 1,000 pages, which is the scale where reading everything on every request adds up.
Skim a file cheaply, then zoom in on one page
Developers upload a file once through the Files API and reuse its URI across turns and tool calls. The documentation says the Files API is available at no cost and that uploaded files are stored for 48 hours.
Google’s own example uploads a Word document, asks gemini-4-hydrogen to skim every page as extracted text, then points gemini-4-neon at page 3 at high resolution to read a revenue bridge chart and its footnotes. The expensive pass touches one page, and the cheap pass touches text only.
An agent can also name the parts of a file it wants inside a function response. Google says that removes the need to run LibreOffice, PDF renderers and ffmpeg inside the client harness just to render and slice large files, which also stops extracted frames piling up on local disk.
How much a team saves will depend on how well its agent skims first, because the example only pays off when the text pass finds the right page.
Gemini 4 Neon pricing sets the bill for each slice
Google began rolling out Gemini 4 Neon on November 18, 2026, and Gemini 4 Neon pricing started at $3 per million input tokens and $15 per million output tokens in the Gemini API, with cached input at $0.15 per million. The single high-resolution page in Google’s example is billed at whatever rate the chosen model charges for the tokens it reads.
The announcement does not publish a separate price for slicing itself. It states only that tokens are billed for the parts Gemini inspects, so the model rate stays the number to check.
This launch covers the API in Google AI Studio and the Gemini platform. Consumer features, such as Gemini for Mac controlling desktop apps, sit on a separate track, and the post does not mention any change to the Gemini app.






