Gemini 2.0 Flash Exp Search
Google logo

Gemini 2.0 Flash Exp Search

gemini-2.0-flash-exp-search
Google
The gemini-2.0-flash-exp model supports internet connectivity, but the official version requires additional request parameters to enable it. Aihubmix has integrated this by automatically calling the official API's online functionality when the model name is requested with the "search" parameter.

Pricing

  • Input Tokens: $0.1 /M tokens
  • Output Tokens: $0.4 /M tokens

Input Modalities

  • Text
  • Vision

Output Modalities

  • Text

Capabilities

  • Web
  • 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://shkq.org/v1",
)

response = client.chat.completions.create(
    model="gemini-2.0-flash-exp-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 2.0 Flash Exp Search?

The gemini-2.0-flash-exp model supports internet connectivity, but the official version requires additional request parameters to enable it. Aihubmix has integrated this by automatically calling the official API's online functionality when the model name is requested with the "search" parameter.