Saltar para o conteúdo principal

1️⃣ Real-time Web Search: Breaking LLM Time Limitations for More Accurate and Reliable Outputs

We’ve enhanced OpenAI and Gemini series models com o ability to access o mais recente information a partir do web, helping you:
  • Access Latest Information: Get real-time updates on current events, latest research, or live data
  • Eliminate Knowledge Gaps: Overcome the time limitations of LLM training data by accessing post-training information
  • Reduce Hallucinations: Provide fact-based answers through real-time web searches, significantly reducing AI confabulations
  • Improve Decision Quality: Make more confident decisions based on analysis and recommendations grounded in current facts
Modelos Suportados: Currently supporting OpenAI and Gemini model series with two integration methods: 1. Models with Native Search Capabilities Gemini Series (Ground with Google search):
  • gemini-3.1-pro-preview-search
  • gemini-3-flash-preview-search
  • gemini-2.5-pro-search
  • gemini-2.5-flash-search
OpenAI Series (Search Preview):
  • gpt-4o-search-preview
  • gpt-4o-mini-search-preview
2. Parameter-Based Support Adicione o parâmetro web_search_options={} to enable web connectivity for Gemini and OpenAI models that support this parameter. If the API returns Unknown parameter: 'web_search_options', the current model or upstream API does not accept this parameter. Use one of the native search models above, or use the :surfing suffix described below. Gemini search pricing is subject to the console and model detail page.

Guia de Uso

Before using, run pip install -U openai to upgrade the openai package, and set your AIHubMix API Key as an environment variable:
Windows PowerShell:
Example:

2️⃣ Smart Surfing: Allowing AI to Explore the Internet Freely

By appending :surfing to the model id, any large language model can be equipped with search capabilities.
  • Simply append the suffix, no complex integration é obrigatório
  • This method will default to forwarding the user’s request to the Tavily search service, and the LLM will reference the search results for response
  • Search fee: $0.006 per search
  • The fee is currently deducted directly a partir do “credit change”, and the “log detail” does not list the search fee yet, but will be shown no future
The model id can be copied a partir do model gallery.
Example:
API Response Example:

Última atualização: 2026-06-15