Skip to content

Search the website

All articles

Gemini API file slicing and what it means for businesses

AI Tools & Models

Sending a long document completely to an AI is not always necessary. Often, a team only needs specific pages, selected table ranges or a section from a recording. Google introduced new options for the Gemini API on November 23, 2026, which allows developers to select such file slices.

The controls are aimed at developers who build their own applications with the API. Availability in a specific application depends on how its provider integrates and configures the API. Check the provider’s documentation for supported features, models, regions and terms before rollout.

Why it matters which parts of a file you use

A company processes quotes, contracts, tables, presentations and call recordings on a daily basis. Not every task requires the full content of a file. A specific section may be relevant for a query about a delivery condition; a limited table may be sufficient for an overview of a project status.

If a system processes more material than is necessary for the task, this increases the technical processing effort and, if necessary, the costs, while too narrow a selection can exclude important context, and a good solution must therefore not only reduce data, but also ensure that relevant connections are maintained.

Google describes so-called file slicing controls for the Gemini API, which allows developers to request pages, table ranges and sections of audio or video files in a targeted manner, according to the provider. Google selects and processes them on the server side. The company also mentions native support for files from Microsoft Office and for OpenDocument formats.

This announcement concerns development with an API, and whether and how a feature in a specific enterprise application results depends on whether the respective provider integrates it and which settings apply in use.

For decision-makers, the question of where large files are now only opened or searched for individual statements is particularly important. Analysis begins with the workflow: What information is searched for? Who needs it? How is it checked that the selected position is sufficient for a reliable answer?

A hand chooses a page from an extensive folder
Often, a clearly defined part of a file is the starting point.

What kinds of file slices Google describes

In its post, Google cites PDFs, Office files, tables, audio and video as examples. Developers can request specific pages, cell ranges or media segments, according to the vendor. The desired level of detail can also play a role in the processing. The exact technical support and current limits are in the respective documentation.

For a practical test, for example, a team could use a shared, anonymized table and first evaluate only a pre-determined area. The result should be compared to the original: Were headings correctly assigned, are lines that are important for the context missing, are dates and units correct?

For documents, a similar question arises: a single paragraph can contain a rule that is restricted elsewhere, so if you select only one page, you have to check whether definitions, attachments or exceptions are elsewhere, and an answer from one section is not automatically a complete statement about the entire document.

Google also describes the reuse of uploaded files via the Files API. Here again, the technical option does not replace a decision about access rights, data retention or suitable contractual conditions. Controllers should clarify in advance who can use which file and how long it will be stored.

For audio and video, selected time periods can be useful for specific tasks, for example, a team could evaluate a shared section of a meeting, but it does not follow that all statements from the entire recording have been taken into account, and the limits of the selected material belong in the documentation.

These examples are possible applications, not results measured by digiTAL.Whether the approach offers advantages over the previous processing, a test with the own file types and requirements must show.

A professional considers ordered document and media types
The choice depends on file type, task and necessary context.

What could change in effort and cost

Google explains that the proposed approach only calculates the parts examined by the model, which can result in lower processing costs for suitable tasks, but a fixed saving cannot be derived from the announcement for each company.

The actual invoice depends, inter alia, on the model used, the current prices, the level of processing and the specific technical implementation, plus, where applicable, costs for storage, development, operation and control, and binding figures should therefore be provided only on the basis of the price list applicable to the own account and a measured test.

A step-by-step approach can make sense: first, an overview with a lower level of detail is created, then relevant positions are examined in more detail. Google cites different levels of detail as a possibility, and whether this is sufficient in individual cases, must be checked against the task.

Comparison with the previous process is important. If an additional test is necessary, part of the gained advantage can be omitted. Conversely, better structuring can reduce the search effort. Both effects should be visible in a pilot, instead of just looking at a technical indicator.

Before the test, determine which results you want to compare: editing time, completeness, number of necessary corrections and total actual costs. For each statement, it should be documented which file and which area were processed, so that later on it can be understood why two runs are different.

The scope of human scrutiny is also part of the calculation. An AI response is a proposal whose reliability depends on the material and the task. When an expert compares each critical point with the original, it requires effort, but is often indispensable for important decisions.

A person looks at a limited area of a plan through a magnifying glass
The appropriate depth of detail depends on the question and on the quality goal.

Plan for privacy, context and review

A smaller file section is not automatically a data protection solution, individual pages can contain personal or confidential data, and it is also necessary to clarify technically whether the complete file is uploaded, even if only a certain part is selected for processing later on.

Before productive use, those responsible should check the terms and conditions of the specific service: What data is transferred and stored, who can access it, what retention and deletion rules apply, what contractual and organizational requirements exist for their own company?

A good test starts with approved, as uncritical as possible examples. For sensitive documents, it can be useful to use synthetic or anonymized test data. Whether and when real customer data can be used must be clarified in advance by technical and legal means.

For decisions with a significant impact, a person should check the original and the context, for example in the case of contractual clauses, legal assessments or financial obligations; a model can help to find and summarize; it does not take responsibility for the decision.

In addition, record how the system deals with a lack of context, and a robust answer must not pretend to have checked a complete document if only part of it was available. A reference to the pages or time ranges used helps users to correctly classify the statement.

Check permissions regularly. Not every person needs access to every file, and a pilot often needs less data than a later process. A documented release step and a known contact helps quickly detect errors and stop processing when needed.

A person checks a document against a checklist
The selected section and the original must remain verifiable.

A pilot for your business

Start with a specific question, such as finding a specific section in a shared manual, determining which file is allowed to be used, which area is likely to be relevant, and where a correct answer will be recognized, and don't choose confidential original documents first.

The technical team can then check whether the announced feature is available for the account and model being used and how it can be integrated into the existing application, with up-to-date documentation, pricing and contractual terms being checked directly with the provider, and an announcement alone does not replace that check.

Compare several test cases: a simple hit, a case with important information outside the selected section, and a case where the answer is not in the material. The assistant should identify missing information instead of adding it. Experts check the results against the original files.

Document the cost of the entire trial, including setup and control, and compare it with the previous approach, and if a solution works only on very simple documents, that's an important finding and not a reason to transfer the results to all processes.

Determine who is investigating errors and who is sharing changes to file selection, permissions, or model configuration. A clear way back to the previous process is helpful if an interface is temporarily unavailable or the quality deteriorates.

After the pilot, the team decides whether to extend the approach, counting not only speed and cost, but also comprehensibility, privacy, risk of error and maintainability. A small, well-documented deployment can bring more than a broad introduction without clear responsibilities.

Another checkpoint is the origin of an answer. If an application processes several files, it should indicate which document and which section form the basis. Names and versions of the documents must fit the respective access concept. For technical queries, a traceable reference makes it easier to control.

The technical team should play through typical error cases: a desired area does not exist, a file has been replaced or a table has a different structure than expected, in such cases the process needs understandable feedback and a safe next step, and a plausible sounding response without sufficient basis must not appear as a confirmed result.

Changes to documents also merit attention: once uploaded, a stand may differ from a later updated version; therefore, the application should make it clear which stand has been processed and when retransmission or verification is necessary; how this is technically implemented depends on the interface used and its own workflows.

A practical example is a multi-attachment quote request. A responsible person could first specify which document contains the current specification, then select a specific area and compare it with the order, and then check if additional pages contain conditions or exceptions before making a binding statement.

For the introduction, it is worthwhile talking to the department, IT and data protection managers. The department knows the possible exceptions, the IT assesses integration and operation, and the competent authorities examine data processing and approvals. Together they can determine which tasks are suitable for a test and which are initially excluded.

A meaningful pilot also needs comprehensible documentation for later users, explaining which source uses a result, how to report an error, and when a manual check is required, so that expectations remain realistic and responsibility is not transferred to a technical interface.

Record the results of the test in a short overview: starting point, edited examples, errors, time spent and next decision. This overview helps the team to compare later changes and develop the process together if necessary.

Discuss the results regularly with the stakeholders, so assumptions can be corrected in good time and next steps can be consciously decided.

Conclusion: Google’s file slicing announcement shows how technical teams can focus AI applications more on required file areas. For companies, the potential benefit only comes when selection, source, cost and human control fit together in the concrete process.

Two Employees Planning a Limited digiTAL Pilot
A small pilot shows whether the method fits your own daily work.

Source