Does Any Gemini API Model Support Web Search for Real-Time Information?

Hello everyone,

I’m currently exploring Gemini API models and have a question I’d like to ask. Is there any Gemini model that can search for information on the web and return real-time results? I want to use the Gemini API to query the latest information, but I’m not sure if any model supports this capability.

I’ve experimented with some versions like Gemini 1.5 and Gemini 2.0 Flash, but it seems they only work based on pre-trained data and cannot access the web for real-time information. If there is a way to integrate web search functionality with the Gemini API or if there is a model that supports this feature, I would appreciate any insights.

Thanks, everyone!

Hi @C_u_D_ng , Welcome to the forum.

You can utilize the Google search tool available in the SDK to get the latest information. Please refer the documentation for more info.

Thanks.