Gemini API adds file slicing controls to cut token costs
Google's Gemini API now lets developers request only specific PDF pages, sheet ranges or media segments, billing tokens just for what the model reads. It also adds native Office and OpenDocument uploads.