Key Info
Gemini API now supports file slicing, which significantly reduces prompt token usage by charging only for the specific pages, sheets, or timestamps an agent actually reads.
Highlights
- File slicing cuts prompt tokens significantly in the Gemini API
- Billing is limited to the pages, sheets, or timestamps actually accessed
- Useful for agents that read only portions of large documents
- Lowers cost for document-heavy agent workloads