Qwen4 Web Search Benchmark: How It Compares to Qwen3.8 and Qwen3.5 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. 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. Key Highlights 1. 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. 2. 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. 3. 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 . What's new in Qwen4 and what it means for web search? - 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-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. - 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. - Adjustable reasoning effort : Four thinking levels: off, low, high default and xhigh. - 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. What SerpApi web search adds to Qwen4? - More right answers : On old facts, 89 without search and 100 with it. - 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. - 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. Does more thinking help when the model can search? Yes, thinking is what makes the model search: at low it still performed well, while turning it off reduced accuracy. - Off : twice as fast 10.6 s , but 82 correct. It skipped search on 12 questions and answered from memory, often wrongly. - Low : 99 correct, slightly faster than the default 18.0 s vs 20.5 s . It still searched on every question. - High default : 100 correct. We didn't test xhigh, since high already got every question right. Bonus: a small model with search still beats a bigger one without The 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 . Running Qwen4 on your laptop Our 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. Tips to avoid swapping: - Use Ollama 0.40.21 or later. - Pull the model with the explicit -q4 K M tag. On a Mac, a plain tag can download a different build. - 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. - Add PARAMETER use mmap true : The lookup table is read from the SSD instead of filling memory. - Drop the vision part by removing the second FROM in the Modelfile, if you don't use images. That saves about 1 GB. With these settings it used 22 GB, loaded in about 8 seconds, and averaged 20.5 seconds per answer with search. Try it yourself The code, benchmark results, insights and a chat app to compare Qwen models with and without search are on GitHub: