How much material can Gemini 2.5 Pro process at once?
The native input limit is 1,048,576 tokens, and the output limit is 65,536 tokens; they are counted separately. When organizing long materials, retain chapter and file identifiers, and clearly define the scope of analysis; these are the model's native limits and do not mean every call will return the maximum length.
How do I submit screenshots together with a question?
In Chat Completions, write the message content as an array of content blocks, including both text and image_url. The text should describe the location and task to review, while the image provides visual information; read responses from choices, or concatenate delta.content for streaming calls.
Which option should I use to analyze PDFs?
Prepare the document text, table data, or clear page screenshots relevant to the question, and specify whether you need a summary, comparison, or extraction of particular information. Submit according to the content formats supported by the selected public interface; a PDF URL cannot be used as image_url. Require the results to retain original-text locations, field evidence, and unconfirmed items, and verify key figures against the source materials.
Can Gemini 2.5 Pro run code automatically?
The model natively supports code execution and function calling, but generating code or tool parameters in an ordinary conversation does not mean they have already been executed. When using function tools in platform Chat Completions, the application must execute the function and return the result; which operations tools can perform depends on the execution environment and actual authorization, and the platform's default automatic execution cannot be inferred from the vendor's native tool list.
Do I need to resend the entire history for follow-up questions?
The application maintains the Chat Completions messages history, including relevant user and assistant messages, the latest materials, and feedback. For longer tasks, periodically consolidate interim conclusions and conditions that must be retained before continuing with questions; continuous conversation does not mean unlimited memory.