Skip to main content
DevHivesBlog

Search the blog

Find a post by title, tag or topic

Token Costs

1 post tagged “Token Costs”.

A document with a highlighted band showing only one page is read, meaning you pay only for that part.
ai8 min read

Gemini API File Slicing: Pay Only for the Pages You Read

Google's new Gemini API file slicing lets you send only the page, sheet range, or clip you need, and you pay tokens only for what the model reads. Here's how to use it to cut your bill on big files.

Arnab Biswas