{"slug": "qwen4-web-search-benchmark-how-it-compares-to-qwen3-8-and-qwen3-5", "title": "Qwen4 Web Search Benchmark: How It Compares to Qwen3.8 and Qwen3.5", "summary": "Qwen4-35B-A3B answered all 100 recent-fact questions correctly when paired with SerpApi web search, beating Qwen3.5-35B-A3B at 87 and Qwen3.8-27B at 90, according to a SerpApi benchmark published hours after the model's release. The 35B-parameter mixture-of-experts model, which activates 3B parameters per token, averaged 3 searches per question versus 1.4 for Qwen3.5-35B-A3B, generated 645 tokens per answer versus 901 (28% fewer), and responded in 20.5 seconds versus 23.1 seconds for Qwen3.8-27B. SerpApi reported that search accounted for 47% of Qwen4's response time, against 12-25% for older models, and that Qwen4 without search scored 89 on old facts, below Qwen3.5-9B with search at 97.", "body_md": "Qwen4-35B-A3B came out a few hours ago, and we were ready to test it against the older generation of Qwen models. We ran it through our [web search tests](https://github.com/serpapi/qwen-web-search/tree/main/app/benchmark) with SerpApi.\n\n### Key Highlights\n\n1. **Beats the older generation** : Qwen4 answered all our 100 recent-fact questions correctly with search through SerpApi. Qwen3.5-35B-A3B, the same size, scored 87, and Qwen3.8-27B scored 90.\n2. **Searches better** : 3 searches per question against 1.4 for Qwen3.5-35B-A3B, with search results containing the answer in 95 out of 100, against 85. It also picks Baidu or Naver for some Chinese and Korean questions.\n3. **Token-efficient reasoning** : 28% fewer generated tokens than Qwen3.5-35B-A3B (645 vs 901 per answer), and faster than Qwen3.8-27B (20.5 s vs 23.1 s per answer).\n\n### What's new in Qwen4 and what it means for web search?\n\n- **Mixture-of-Experts (MoE) model** : Like Qwen3.5-35B-A3B, 35B parameters with only 3B active per token, so it's fast. That makes search speed matter more: search took 47% of Qwen4's response time, against 12-25% for older models.\n- **N-gram embeddings:** A 20B-parameter lookup table of common word pairs and phrases. From memory alone, Qwen4 knew about as many old facts as Qwen3.5-35B-A3B (89 vs 92), but answered in 15 s instead of 25 s, with 60% fewer tokens.\n- **1M-token context with sparse attention** : It looks back only at the most relevant parts of a long text, so it can hold whole web pages. We haven't tested that yet: our runs used SerpApi's top 5 results, about 540 tokens per search.\n- **Adjustable reasoning effort** : Four thinking levels: off, low, high (default) and xhigh.\n- **Long-horizon agentic capabilities** : Trained for multi-step tasks such as searching, reading and searching again. It searched on every recent-fact question, often two searches at a time, and picked Baidu or Naver on its own. In our[previous experiment](https://serpapi.com/blog/qwen-web-search-serpapi/#experiment-2-google-only-vs-multiple-search-engines) , smaller models needed a firm prompt for that.\n\n### What SerpApi web search adds to Qwen4?\n\n- **More right answers** : On old facts, 89 without search and 100 with it.\n- **Faster answers** : The model looks facts up instead of thinking longer, so it generates half the tokens (401 vs 753) and answers in 11.8 s instead of 15.3 s.\n- **Fills the gap in memory** : Korean was its weak spot, scoring 11 of 20 on old Korean facts without search and 20 of 20 with search.\n\n### Does more thinking help when the model can search?\n\nYes, thinking is what makes the model search: at low it still performed well, while turning it off reduced accuracy.\n\n- **Off** : twice as fast (10.6 s), but 82 correct. It skipped search on 12 questions and answered from memory, often wrongly.\n- **Low** : 99 correct, slightly faster than the default (18.0 s vs 20.5 s). It still searched on every question.\n- **High** (default): 100 correct. We didn't test xhigh, since high already got every question right.\n\n**Bonus: a small model with search still beats a bigger one without**\n\nThe finding from the [earlier experiment](https://serpapi.com/blog/qwen-web-search-serpapi/#experiment-3-small-model-with-search-vs-big-model-without) holds against Qwen4. On old facts, Qwen3.5-9B with search (97) and Qwen3.5-4B with search (95) both scored higher than Qwen4 without search (89).\n\n### Running Qwen4 on your laptop\n\nOur tests show that Qwen4-35B-A3B runs on a Mac with 36 GB of memory. The download size is 37 GB, but about a third of it (13 GB) is the lookup table, which the model reads only a few rows of per token, so with `use_mmap` on, it can stay on the SSD.\n\nTips to avoid swapping:\n\n- Use Ollama `0.40.21` or later.\n- Pull the model with the explicit `-q4_K_M` tag. On a Mac, a plain tag can download a different build.\n- Start Ollama with `LLAMA_ARG_CACHE_RAM=0` : It turns off a prompt cache of up to 8 GB that grows with every new question. Run the other commands in a second terminal.\n- Add `PARAMETER use_mmap true` : The lookup table is read from the SSD instead of filling memory.\n- Drop the vision part by removing the second `FROM` in the Modelfile, if you don't use images. That saves about 1 GB.\n\nWith these settings it used 22 GB, loaded in about 8 seconds, and averaged 20.5 seconds per answer with search.\n\n### Try it yourself\n\nThe code, benchmark results, insights and a chat app to compare Qwen models with and without search are on GitHub:", "url": "https://wpnews.pro/news/qwen4-web-search-benchmark-how-it-compares-to-qwen3-8-and-qwen3-5", "canonical_source": "https://serpapi.com/blog/qwen4-web-search-benchmark/", "published_at": "2026-12-04 15:03:45+00:00", "updated_at": "2026-12-04 15:15:22.261054+00:00", "lang": "en", "topics": ["ai-search", "large-language-models", "ai-agents", "ai-tools"], "entities": ["Qwen4-35B-A3B", "Qwen3.5-35B-A3B", "Qwen3.8-27B", "SerpApi", "Qwen3.5-9B", "Qwen3.5-4B", "Ollama", "Baidu"], "also_reported_by": [], "takeaway": "Qwen4-35B-A3B with SerpApi search hit 100/100 on recent facts and 100 on old facts versus 89 without search, while low reasoning effort scored 99 at 18.0 s versus 100 at 20.5 s on high, and turning thinking off dropped accuracy to 82.", "recommendation": {"advice": "Benchmark search-augmented models at each reasoning level before defaulting to high: Qwen4 at low scored 99/100 in 18.0 s versus 100 at 20.5 s, while thinking off fell to 82.", "playbook": "evals-testing", "playbook_url": "https://wpnews.pro/playbooks/evals-testing"}, "alternates": {"html": "https://wpnews.pro/news/qwen4-web-search-benchmark-how-it-compares-to-qwen3-8-and-qwen3-5", "markdown": "https://wpnews.pro/news/qwen4-web-search-benchmark-how-it-compares-to-qwen3-8-and-qwen3-5.md", "text": "https://wpnews.pro/news/qwen4-web-search-benchmark-how-it-compares-to-qwen3-8-and-qwen3-5.txt", "jsonld": "https://wpnews.pro/news/qwen4-web-search-benchmark-how-it-compares-to-qwen3-8-and-qwen3-5.jsonld"}}