> For the complete documentation index, see [llms.txt](https://docs.aimlapi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aimlapi.com/capabilities/web-search.md).

# Web Search

## Overview

This capability of text chat models allows them to send search queries to the web, retrieve relevant content, and use it to generate more accurate and up-to-date responses—particularly useful for recent events or less common topics.

## Models That Support Web Search

* [alibaba/qwen3.6-flash](/api-references/text-models-llm/alibaba-cloud/qwen3.6-flash.md)
* [alibaba/qwen3.6-plus](/api-references/text-models-llm/alibaba-cloud/qwen3.6-plus.md)
* [alibaba/qwen3.6-max-preview](/api-references/text-models-llm/alibaba-cloud/qwen3.6-max-preview.md)
* [gpt-4o-search-preview](/api-references/text-models-llm/openai/gpt-4o-search-preview.md)
* [gpt-4o-mini-search-preview](/api-references/text-models-llm/openai/gpt-4o-mini-search-preview.md)
* [moonshot/kimi-k2-preview](/api-references/text-models-llm/moonshot/kimi-k2-preview.md)
* [moonshot/kimi-k2-0905-preview](/api-references/text-models-llm/moonshot/kimi-k2-preview.md)
* [perplexity/sonar](/api-references/text-models-llm/perplexity/sonar.md)
* [perplexity/sonar-pro](/api-references/text-models-llm/perplexity/sonar-pro.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.aimlapi.com/capabilities/web-search.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
