# Enable GPT / DeepSeek / Gemini built-in search

> Cube Agent 2.4.1 Release (Build 2004105) User Guide.
> Category: Hot Questions. Content baseline: 2026-12-05.
> Web page: https://cubeagent.app/en/docs/builtin_search_gpt_deepseek_gemini/

## First, tell the two switches apart

- **Web search under Tool Services**: Controls whether external search providers (Bing, Exa, Tavily, DeepSeek, Firecrawl, Metaso, etc.) appear in the chat web search menu. It does **not** control a model's built-in search. *(Note: services like Metaso primarily serve Mainland China, while OpenAI, Gemini, DeepSeek, Exa, Tavily, and Firecrawl can be used globally with your own API keys.)*
- **Model's Built-in web search**: Indicates that the current model and API protocol support the provider's own hosted search capability. Built-in search does not rely on external services like Exa, Tavily, DeepSeek, Firecrawl, or Metaso configured under Tool Services, so those external services do not need to be enabled.

**Built-in search** appears in the chat search menu only when your provider's API style, transport protocol, and current model all support hosted search. If only one search option is available, the chat bottom bar displays its name directly—tap to enable and tap again to disable. When multiple options are available, tap to choose from the menu. **The web search toggle is saved independently per conversation and defaults to off for new chats**—turning it on or off in one chat does not affect other chats.

## GPT / OpenAI built-in search

1. Open **Settings → Models & usage → Provider Management**, then select the OpenAI provider or add an OpenAI-style provider.
2. Set API style to **OpenAI** and transport to **Responses**. The official OpenAI Base URL is normally `https://api.openai.com/v1`.
3. Select or add a GPT model that supports built-in web search. If **Built-in web search** is off under model capabilities, open the model's edit page and check it manually.
4. Return to the Chat tab, confirm the conversation uses that GPT model, and tap the bottom-left web search button to enable **Built-in search**.

OpenAI built-in search appears only when **OpenAI API style + Responses transport + Built-in web search enabled on the model** are all met. If you still do not see **Built-in search**, double-check the provider's API style, verify transport is set to Responses, and confirm the chat is actually switched to that model.

## DeepSeek official built-in search and enhanced search

1. Open **Settings → Models & usage → Provider Management**, open the DeepSeek provider, and enter your official DeepSeek API Key. Use `https://api.deepseek.com` as the Base URL.
2. Select `deepseek-flash` (which defaults to the **Anthropic Messages** protocol, and can also be switched to **OpenAI Responses** or **Chat Completions** on the model edit page) and verify **Built-in web search** is enabled under model capabilities.
3. Tap the web search button in chat and choose one of two modes:
   - **Built-in search (recommended default)**: Under the default **Anthropic Messages** protocol, uses DeepSeek's standard built-in search (`web_search_20250305`). Billed strictly by model tokens with no extra search fee, **no 32K single-message input cap**, full support for sampling parameters (temperature / `top_p`), full coexistence with all client tools and MCP whether thinking is on or off, and the most reliable multi-turn prefix cache hit rate.
   - **DeepSeek enhanced search (optional standalone mode)**: Calls `deepseek_web_search` and `deepseek_read_url` for the same reverse image search, automatic link reading, webpage opening, and in-page search experience as DeepSeek's web app. Note that this mode is subject to a server-side 32K single-message input cap, the server overrides sampling parameters, and it cannot run simultaneously with client tools when thinking is disabled (under Anthropic Messages, if client tools are enabled in the same turn or the 32K cap is hit, it automatically falls back to standard built-in search with sticky downgrade within the current context window so cache is not broken by oscillation).
4. Under **OpenAI Responses / Chat Completions**, `deepseek-flash` offers **DeepSeek enhanced search** only. If the 32K cap triggers, tap **Retry without built-in search** or **Retry with external search** on the failure card.

`deepseek-v4-pro` uses standard compatible built-in search under both Anthropic Messages and OpenAI Responses. Server-side search and webpage fetching triggered by DeepSeek models are billed purely by model tokens. **DeepSeek Search** inside Tool Services calls the standalone Search / Fetch API and is billed per successful request that returns results. [DeepSeek Pricing](https://api-docs.deepseek.com/zh-cn/quick_start/pricing/#web-tools-pricing)

For full details on official DeepSeek compatibility, the 32K single-message cap, sampling parameters, cache hit rates, and common pitfalls, see **DeepSeek Official API Guide & Troubleshooting** under Hot Questions.

## DeepSeek reverse image search

1. With an official direct `deepseek-flash` model, select **DeepSeek enhanced search** in the chat search menu.
2. Tap **+ → Photo** beside the input box, choose an image, and send *"Help me find the source of this image and similar images"*.
3. After the model runs image search, expand the processing steps in the reply (e.g., "4s") and tap **Search images**. Tap any result to open the source webpage. Summaries and full URLs appear under **Details** (in Web chat, expand **Source details**).

DeepSeek decides whether to invoke image search based on your image and prompt. Loadable images display thumbnails, while other results display their title and domain. Reopening the conversation retains access to these sources in that reply.

## If a model still says it cannot search after turning on built-in search in an older chat

In an existing conversation where you first asked questions with search off and later enabled **Built-in search**, the model may sometimes carry over its earlier assumption that web tools are unavailable. This has been observed on both Chat Completions and Responses. [DeepSeek Thinking Mode Guide](https://api-docs.deepseek.com/zh-cn/guides/thinking_mode/#%E5%B7%A5%E5%85%B7%E8%B0%83%E7%94%A8)

When this happens, we recommend starting a **new chat using OpenAI Responses**. Go to **Settings → Models & usage → Provider Management → DeepSeek → Models**, edit `deepseek-flash`, set **API Settings → Protocol** to **OpenAI Responses**, and save. Start a new conversation with that model, enable **Built-in search**, and ask again. Your original conversation history stays intact.

## DeepSeek conversation titles

Official `deepseek-flash` also uses Cube Agent's standard smart title pipeline without passing a `title` parameter to the server, preventing first-turn chats from accidentally triggering the 32K single-message limit, extra wait times, or ignored sampling parameters. Manually renamed titles are always preserved.

## Gemini official built-in search

1. Open **Settings → Models & usage → Provider Management** and select the Gemini provider.
2. Keep API style set to **Google** and use the official Gemini Base URL (default: `https://generativelanguage.googleapis.com/v1beta`).
3. Select or add a Gemini model that supports built-in web search. If **Built-in web search** is off under model capabilities, open the model's edit page and check it manually.
4. Return to the Chat tab and tap the bottom-left web search button to enable **Built-in search**.

## Third-party or relay providers

GPT, DeepSeek, or Gemini models accessed through third-party relays may not support official built-in search. You can configure the provider with the matching API style, enable **Built-in web search** on the model edit page, and check whether **Built-in search** appears in the chat search menu.

If it does not appear, the current endpoint does not meet built-in search requirements. If it appears but requests fail, the relay likely does not forward the provider's hosted search capability. In that case, switch to an external search service: configure and enable an available search service under **Settings → Assistant capabilities → Tool Services**, then pick it from the chat web search menu.
