gemini-3.1-pro-preview-search
Google logo

Gemini 3.1 Pro Preview Search

gemini-3.1-pro-preview-search
Google
Gemini-3.1-pro-preview-search integrates Google's official search functionality; the search feature incurs an additional separate fee log directly incorporated into the scoring, but the log details are not displayed; this will be fixed in the future to show the details; it only supports OpenAI-compatible format calls and does not support the Gemini SDK; for the Gemini native SDK, please directly set the official search parameters.

Pricing

TierPricingCache ReadWeb SearchCache Storage
Input<=200K
$2.000$12.000
$0.2/M tokens$0.014/request$4.5/h/M tokens
200K<Input
$4.000$18.000
$0.4/M tokens$0.014/request$4.5/h/M tokens

Input Modalities

  • Text
  • Vision
  • Audio
  • Video

Output Modalities

  • Text

Capabilities

  • Thinking
  • Web
  • DeepSearch
  • Tools
  • Tool calling
  • Structured outputs
  • Long context

Try this model

Python
import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AIHUBMIX_API_KEY"],
    base_url="https://aihubmix.com/v1",
)

response = client.chat.completions.create(
    model="gemini-3.1-pro-preview-search",
    messages=[
      {
        "role": "user",
        "content": "Hello, how are you?"
      }
    ],
    max_tokens=1024,
    stream=False,
)

print(response.choices[0].message.content)

Frequently asked questions

What is gemini-3.1-pro-preview-search?

Gemini-3.1-pro-preview-search integrates Google's official search functionality; the search feature incurs an additional separate fee log directly incorporated into the scoring, but the log details are not displayed; this will be fixed in the future to show the details; it only supports OpenAI-compatible format calls and does not support the Gemini SDK; for the Gemini native SDK, please directly set the official search parameters.