# Grok vs Qwen

> Grok vs Qwen from xAI

Canonical: https://scaplet.com/ai-search/vs/grok-vs-qwen

Guide Grok AI search · Comparison

Grok vs Qwen from xAI's and Alibaba Cloud's docs: how each web search is switched on, what it costs, how sources come back, and site-owner controls.

4 min

read

7

sources

Oct 30, 2026

updated

Scaplet Editorial Team

author

In one line

Grok searches through a `web_search` tool and returns a citation list. Qwen turns search on with `enable_search` or a `web_search` tool and bills agent-search calls separately. Neither vendor's pages we read name a crawler, so a site owner has no documented token to allow or block for either.

30-second check

## Where does your site stand?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?

Summarize this page with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fai-search%2Fvs%2Fgrok-vs-qwen%20(%22Grok%20vs%20Qwen%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fai-search%2Fvs%2Fgrok-vs-qwen%20(%22Grok%20vs%20Qwen%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fai-search%2Fvs%2Fgrok-vs-qwen%20(%22Grok%20vs%20Qwen%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fai-search%2Fvs%2Fgrok-vs-qwen%20(%22Grok%20vs%20Qwen%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

## At a glance

4 facts from the sources below

xAI and Alibaba (Qwen team)

Makers

500k-token context; $2.00 input and $6.00 output per 1M tokens for prompts under 200k

Grok 4.7

Agent search: $0.573411 per 1,000 calls in most listed regions, $10.00 per 1,000 in Singapore

Qwen search billing

None named by either vendor in the pages we read

Documented crawlers

_01_What each vendor's pages state

## Grok vs Qwen: what the docs let us compare

Alibaba Cloud's model list names qwen3.8-max but its page gives no [context window](/glossary/context-window), output limit or token price that we could read. We therefore print [Grok](/ai-search/grok/get-cited)'s published figures and leave the Qwen cells blank rather than quote a third-party number. The two products also reach users differently: xAI sells consumer plans, and the Qwen pages we read are API documentation.

### Flagship named

Grok

Grok 4.7

Qwen

qwen3.8-max, listed first among text generation models, described as for complex reasoning and coding

### Context window

Grok

500k [tokens](/glossary/tokenization)

Qwen

Not stated on the page we read

### Token price

Grok

$2.00 input, $0.50 cached input, $6.00 output per 1M tokens under 200k prompts

Qwen

Not stated on the page we read

### Consumer plans

Grok

Free, Plus $8/mo, Premium $30/mo, Super $100/mo, Ultra $200/mo on The X Subscription

Qwen

None read; pages are API-focused

### Search models

Grok

Search is a tool the model calls

Qwen

Qwen3.8, 3.7, 3.6 and 3.5 and Qwen-Max, Plus and Flash support it, as do some third-party models served there, including DeepSeek and Kimi-K3

**Specs shown above vs. prose**The model-spec block on this page is a third-party snapshot. We confirmed Grok's figures against xAI's docs and could not confirm Qwen's against Alibaba's, so only the Grok numbers appear in the text.

Model specs

## Model specs, side by side.

As of Oct 25, 2026, OpenRouter lists Grok 4.7 (Grok) at $2.00 input and $6.00 output per million tokens and Qwen3.8 Max (Qwen) at $2.00 input and $6.00 output per million tokens. Grok 4.7 and Qwen3.8 Max cost the same per million tokens. Qwen3.8 Max has the longer context window, at 1,000,000 tokens. On the Artificial Analysis Intelligence Index, Grok 4.7 scores higher (Grok 4.7 46.4, Qwen3.8 Max 45.4).

**This model data may be out of date**We pulled it 32 days ago, past our 30-day window. Check [OpenRouter’s comparison](https://openrouter.ai/compare/x-ai/grok-4.7/qwen/qwen3.8-max-0902) for current prices and specs.

Model specs, pulled Oct 25, 2026
| Spec | Grok [Grok 4.7](https://openrouter.ai/x-ai/grok-4.7) | Qwen [Qwen3.8 Max (0902)](https://openrouter.ai/qwen/qwen3.8-max-0902) |
| Input price ($/1M tokens) | $2.00 | $2.00 |
| Output price ($/1M tokens) | $6.00 | $6.00 |
| Cached input ($/1M tokens) | $0.50 | $0.25 |
| Context window (tokens) | 500,000 | 1,000,000 |
| Max output tokens | 450,000 | 131,072 |
| Input types | Text, file, image | Text, image, video |
| Reasoning | Yes, always on. Efforts: low, medium, high, xhigh | Yes, always on. Efforts: minimal, low, medium, high, xhigh |
| Intelligence Index (Artificial Analysis) | 46.4 | 45.4 |
| Coding Index (Artificial Analysis) | - | 76.2 |
| Agentic Index (Artificial Analysis) | - | 56.0 |

Data: [OpenRouter models API](https://openrouter.ai/docs/api/api-reference/models/list-all-models-and-their-properties), pulled Oct 25, 2026. Benchmark indexes: [Artificial Analysis](https://artificialanalysis.ai/) via OpenRouter. A dash means no score. Prices are OpenRouter’s list prices per million tokens and can differ from the maker’s own API. [Compare on OpenRouter](https://openrouter.ai/compare/x-ai/grok-4.7/qwen/qwen3.8-max-0902)

_02_Search settings and source output

## Turning search on and reading the sources

The mechanics differ more than the marketing does. With Grok you pass a `web_search` tool and the model decides when to call it. With Qwen you set a parameter or tool, choose a strategy, and the sources you get back depend on which API you call.

### How to enable

Grok

`web_search` tool in the xAI SDK or [OpenAI](/ai-search/chatgpt/how-it-finds-sources) Responses API

Qwen

`enable_search: true` on Chat Completions with `search_options`, or `{"type": "web_search"}` in the Responses API

### Sources returned

Grok

`response.citations` for every source encountered; inline `[[N]](url)` citations in the Responses API

Qwen

Chat Completions returns no sources; DashScope with `enable_source: true` returns `search_info.search_results`; Responses API returns `url_citation` annotations

### Restrictions

Grok

`allowed_domains` or `excluded_domains`, up to 5, not both

Qwen

The Qwen3.8 series does not support the `agent` strategy on Chat Completions; use the Responses API

### Billing

Grok

No per-call price on the page we read

Qwen

Agent search $0.573411 per 1,000 calls in listed regions other than Singapore, $10.00 per 1,000 in Singapore; retrieved text adds input tokens at the model's rate

The Chat Completions note is the easy trap: you can switch search on and receive an answer with no source list at all. See [how Grok finds sources](/ai-search/grok/how-it-finds-sources) for the xAI side, and [Mistral vs Qwen](/ai-search/vs/mistral-vs-qwen) for Alibaba's page next to another vendor.

_03_How it works

## Check it in 2 minutes: a source-return test

To see how each tool exposes sources to your own pages, run the same factual question about something only your site states, three times per tool, and record what comes back.

**Common mistake**Counting an answer as cited when the source field is simply absent. For Qwen on Chat Completions, no sources are returned by design, so absence says nothing about your page.

1. 01

### Pick one fact

Choose a figure or definition that appears only on one of your pages.
2. 02

### Ask the same question

Use identical wording each time, with search enabled in the tool's own settings.
3. 03

### Read the source field

For Grok, read `response.citations`. For Qwen, read the field that matches your API, since Chat Completions returns none.
4. 04

### Log the result

Note the URLs returned, not just the answer text. A page in the list was encountered; that does not show it shaped the answer.

_04_Your call

## Which to use, and what a site owner can do

If this fits

### Pick Grok when

- You want a published token price and a stated 500k context
- You want consumer plans from $8 a month
- You want domain allow and exclude lists on the search tool

Or

### Pick Qwen when

- You want search billed per call, separate from tokens
- You want the same search switch across several model families
- You are already on Alibaba Cloud Model Studio

For site owners the picture is flat: neither vendor documents a bot token. Keep pages crawlable and quotable, and treat any claim of a Grok or Qwen crawl rule as unverified until a vendor publishes one. More on this side: [Grok vs Kimi](/ai-search/vs/grok-vs-kimi) and [Kimi vs Qwen](/ai-search/vs/kimi-vs-qwen).

Questions

## Asked a lot.

2 questions people ask next, answered from the sources on this page.

_01_ Does Qwen return sources by default?

Not on the OpenAI-compatible Chat Completions API, per Alibaba's docs. DashScope with enable_source set to true returns [search results](/glossary/serp), and the Responses API returns url_citation annotations.

_02_ What does Qwen's web search cost?

Alibaba lists agent search at $0.573411 per 1,000 calls in most regions and $10.00 per 1,000 calls in Singapore, plus the model's normal input-token rate for retrieved content.

Sources · 7

## Every fact, linked and dated.

Official docs first. The date is when we last opened each page.

- x.ai
- alibabacloud.com
- openrouter.ai

1. 01 [Models and pricing (xAI docs)](https://docs.x.ai/docs/models) docs.x.ai · checked 2026-11-01
2. 02 [Web search (xAI docs)](https://docs.x.ai/developers/tools/web-search) docs.x.ai · checked 2026-11-01
3. 03 [Citations (xAI docs)](https://docs.x.ai/developers/tools/citations) docs.x.ai · checked 2026-11-01
4. 04 [The X Subscription pricing (xAI docs)](https://docs.x.ai/x-subscription/pricing) docs.x.ai · checked 2026-11-01
5. 05 [Models (Alibaba Cloud Model Studio)](https://www.alibabacloud.com/help/en/model-studio/models) alibabacloud.com · checked 2026-11-01
6. 06 [Web search (Alibaba Cloud Model Studio)](https://www.alibabacloud.com/help/en/model-studio/web-search) alibabacloud.com · checked 2026-11-01
7. 07 [List all models and their properties (OpenRouter API reference)](https://openrouter.ai/docs/api/api-reference/models/list-all-models-and-their-properties) openrouter.ai · checked 2026-10-25

## Keep learning

[All ai search](/ai-search)

[Learn Grok vs Kimi Comparisons](/ai-search/vs/grok-vs-kimi) [Related AI search engines Guides](/ai-search/ai-search-engines) [Read next DeepSeek vs Kimi Comparisons](/ai-search/vs/deepseek-vs-kimi) [Do Run a free site audit Free, about two minutes](/site-audit)

More on the same engine
[Grok vs Kimi](/ai-search/vs/grok-vs-kimi) [Grok vs Meta AI](/ai-search/vs/grok-vs-meta-ai) [Grok vs Perplexity](/ai-search/vs/grok-vs-perplexity) [Grok vs Siri](/ai-search/vs/grok-vs-siri) [How Grok finds and cites sources](/ai-search/grok/how-it-finds-sources) [How to get cited by Grok](/ai-search/grok/get-cited)

More in Comparisons
[Gemini vs Grok](/ai-search/vs/gemini-vs-grok) [Gemini vs Kimi](/ai-search/vs/gemini-vs-kimi) [Gemini vs Meta AI](/ai-search/vs/gemini-vs-meta-ai) [Gemini vs Mistral](/ai-search/vs/gemini-vs-mistral) [Gemini vs Perplexity](/ai-search/vs/gemini-vs-perplexity) [Gemini vs Qwen](/ai-search/vs/gemini-vs-qwen) [Google AI Mode vs ChatGPT](/ai-search/vs/chatgpt-vs-google-ai-mode) [Google Search vs Bing](/ai-search/vs/google-search-vs-bing) [Grok vs Copilot](/ai-search/vs/copilot-vs-grok) [Grok vs Kimi](/ai-search/vs/grok-vs-kimi) [Grok vs Meta AI](/ai-search/vs/grok-vs-meta-ai) [Grok vs Perplexity](/ai-search/vs/grok-vs-perplexity) [Grok vs Qwen](/ai-search/vs/grok-vs-qwen) [Grok vs Siri](/ai-search/vs/grok-vs-siri) [Kimi vs Claude](/ai-search/vs/claude-vs-kimi) [Kimi vs Qwen](/ai-search/vs/kimi-vs-qwen) [Mistral vs ChatGPT](/ai-search/vs/chatgpt-vs-mistral) [Mistral vs Qwen](/ai-search/vs/mistral-vs-qwen) [Perplexity vs Bing](/ai-search/vs/perplexity-vs-bing) [Perplexity vs Copilot](/ai-search/vs/perplexity-vs-copilot) [Perplexity vs Google AI Mode](/ai-search/vs/perplexity-vs-google-ai-mode) [Perplexity vs Google Search](/ai-search/vs/perplexity-vs-google-search) [Perplexity vs Meta AI](/ai-search/vs/perplexity-vs-meta-ai) [Perplexity vs Mistral](/ai-search/vs/perplexity-vs-mistral)

Terms on this page
[Context window](/glossary/context-window) [Tokenization](/glossary/tokenization) [SERP](/glossary/serp)

Free · 2 minutes

## Tools point. Agencies advise. _This one ships._

Run the free audit, then approve the fixes. Every change can be undone.

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **0→7** ChatGPT citations in six weeks Paylane
