What a web search answer costs, by model
When six AI models started to search the web, their mean cost per answer rose 5.21 times. Grok's rose 11 times, and GPT-5's median hardly moved.
On this page 12 sections
Web search made AI model answers about five times as expensive. When six models started to search on September 11, 2026, their mean cost per answer for the same questions rose from 11.01 to 57.38 US dollars per 1,000 answers. That is 5.21 times as much (95% interval 4.76 to 5.70). xAI Grok 4.5's cost rose about 11 times. OpenAI GPT-5's median cost hardly moved, because most of its answers did not search.
Most of the extra cost came from the search results that the models read. Grok read about 41,000 prompt tokens per answer with web search, against 225 without. The cost per cited source differed far more than the cost per answer: Perplexity Sonar cost 0.25 US dollars per 1,000 cited URLs, and GPT-5 cost 30.67.
At a glance
- 5.21
- times the cost per answer after six models started to search
- 108.08
- US dollars per 1,000 Grok answers with web search, median
- 0.25
- US dollars per 1,000 URLs that Sonar cited
- 74.06%
- of the archive's model costs went to answers with web search
Source: Internet Archive, Nov 24, 2026
Key findings
- xAI Grok 4.5 cost 11.10 times as much per answer with web search as without, the largest rise of the six models, with a 95% interval of 10.31 to 11.89.
- OpenAI GPT-5's median cost per answer hardly changed with web search, at 17.78 US dollars per 1,000 answers before and 17.20 after.
- Anthropic Claude Sonnet 5's mean time per answer was 1.74 times as long with web search, the largest rise of the six models.
- The median model without web search cost 0.87 US dollars per 1,000 answers, and 32 of the 38 cost less per answer than the cheapest search model.
- Reasoning tokens made up 38.17% of OpenAI o3's output tokens with web search, against 19.99% without.
Method.About the data: the Internet Archive's Ask Me Twice archive asks the same questions to AI models every day and stores the answers with their cost, tokens and time: 137 questions in total, 130 on a typical day. Every answer came through the OpenRouter API, so these are the models, not the consumer apps. The costs are what the archive paid for each call from July 18 to November 23, 2026. They are not list prices, and prices change. This report covers 502,684 answers from 46 models. The 8 models with web search are the focus. Six of them, GPT-5, OpenAI o3, Anthropic Claude Sonnet 5, Google Gemini 3.5 Flash, Grok and Meta Muse Spark, answered without web search (from training) until September 10, 2026, and with web search from September 11. Perplexity Sonar and Sonar Pro searched from July.
#Cost before and after web search
All six models cost more per answer once they searched, from 1.90 times as much for GPT-5 to 11.10 times for Grok. We compared the same questions in the 31 days before and the 31 days after September 11, 2026. What changes when an AI model starts to search the web compares the answers themselves over the same change.
Mean cost per answer, before and after web search
US dollars per 1,000 answers, same questions, August 11 to September 10 and September 11 to October 11, 2026
Without web searchWith web search
The rise came with the search results. Grok's mean prompt tokens rose from 225 to 40,771 per answer, Muse Spark's from 25 to 32,962, and o3's from 24 to 11,028. A model pays for the text it reads, and search results are long.
Gemini's cost rose for another reason. Its prompt tokens rose only from 19 to 52 per answer with web search, but its cost still rose 2.83 times (95% interval 2.53 to 3.18). Its cost per million tokens rose from 8.92 to 19.63 US dollars, so part of the extra cost was a charge outside the token counts. The rest came from longer output: 2,586 output tokens per answer after, against 1,737 before.
GPT-5's median cost per answer hardly moved, from 17.78 to 17.20 US dollars per 1,000 answers. Its mean almost doubled, because a minority of its answers read long search results. Most GPT-5 answers with web search on ran no search and cited no source, as How often AI models search the web but cite no sources shows. In the whole period, a tenth of GPT-5's answers with web search cost more than 105.73 per 1,000.
#Cost per answer with web search
With web search, the median answer cost from 5.38 US dollars per 1,000 answers for Perplexity Sonar to 108.08 for Grok. That is a 20-fold range for the same questions on the same days.
Cost per answer with web search
US dollars per 1,000 answers, September 11 to November 23, 2026
MedianMean
The two Perplexity models cost almost the same for every answer. Over the whole period, nine in ten of Sonar's answers cost 5.70 US dollars per 1,000 or less, close to its median of 5.37. The models without web search cost much less. The median one cost 0.87 US dollars per 1,000 answers, and 32 of the 38 cost less per answer than Sonar.
Over the period, answers with web search were 18.21% of the archive's answers and 74.06% of what it paid for all answers.
#Time per answer
Web search made five of the six models slower. Their mean time per answer rose from 1.29 times (Grok) to 1.74 times (Claude). GPT-5 took about the same time (ratio 0.92, 95% interval 0.84 to 1.01).
Median time per answer, before and after web search
Seconds, same questions, August 11 to September 10 and September 11 to October 11, 2026
Without web searchWith web search
The Perplexity models were the fastest with web search. From September 11 to November 23, Sonar's median answer took 4.0 seconds and Sonar Pro's 3.6 seconds. The time is the time the archive recorded for the API call, and it includes the search.
#Cost per cited source
The cost per cited URL differed more than 100 times between models. Sonar cost 0.25 US dollars per 1,000 cited URLs, and GPT-5 cost 30.67.
Cost per cited URL, with web search
US dollars per 1,000 unique cited URLs, September 11 to November 23, 2026
Two things set this figure: how much an answer costs, and how many sources it cites. Sonar cited a source in 99.99% of its answers with web search, with 22.76 URLs per cited answer. GPT-5 cited a source in 14.95% of its answers, so it paid for many searches that showed no source. Muse Spark cited a source in 81.96% of its answers, but only 2.66 URLs per cited answer.
#Reasoning tokens
With web search, reasoning tokens were a small share of all tokens, because the search results took most of them. As a share of output tokens, reasoning rose for o3, Gemini and Claude and fell most for Muse Spark.
Reasoning tokens as a share of output tokens
Whole period, July 18 to November 23, 2026
| Group | Without web search | With web search |
|---|---|---|
| GPT-5 | 65.25% | 63.28% |
| Gemini | 49.20% | 56.72% |
| o3 | 19.99% | 38.17% |
| Grok | 36.09% | 32.58% |
| Muse Spark | 49.80% | 31.15% |
| Claude | 0.09% | 6.74% |
As a share of all tokens, reasoning made up 1.57% of Grok's tokens with web search and 2.65% of Muse Spark's, because their prompts were long. GPT-5 had the highest reasoning share of output with web search, 63.28%, with 1,138 reasoning tokens per answer. Gemini used the most reasoning tokens, 1,570 per answer.
Show the full data
| Model | Setup | Answers | Median cost | Mean cost | Median seconds | Prompt tokens (mean) | Output tokens (mean) | Reasoning share of all tokens |
|---|---|---|---|---|---|---|---|---|
| Without web search | 6,570 | 17.86 | 18.76 | 27.0 | 21 | 1,873 | 64.52% | |
| With web search | 9,870 | 17.13 | 35.90 | 21.0 | 8,925 | 1,799 | 10.62% | |
| Without web search | 6,138 | 10.81 | 10.65 | 12.6 | 24 | 1,325 | 19.63% | |
| With web search | 9,870 | 61.12 | 84.94 | 18.1 | 11,318 | 1,939 | 5.58% | |
| Without web search | 6,570 | 6.42 | 6.55 | 9.6 | 30 | 649 | 0.09% | |
| With web search | 9,870 | 17.10 | 44.28 | 14.8 | 11,532 | 1,411 | 0.74% | |
| Without web search | 6,570 | 15.49 | 15.68 | 12.6 | 20 | 1,739 | 48.64% | |
| With web search | 9,870 | 53.01 | 54.95 | 18.9 | 32 | 2,767 | 56.07% | |
| Without web search | 6,568 | 8.68 | 8.36 | 35.2 | 225 | 1,360 | 30.97% | |
| With web search | 9,870 | 108.08 | 93.58 | 47.1 | 42,043 | 2,133 | 1.57% | |
| Without web search | 683 | 6.30 | 6.21 | 15.3 | 25 | 1,455 | 48.96% | |
| With web search | 9,728 | 51.06 | 50.65 | 19.5 | 31,711 | 2,949 | 2.65% | |
| With web search | 16,440 | 5.37 | 5.52 | 4.3 | 15 | 464 | 0.00% | |
| With web search | 16,008 | 11.34 | 12.89 | 4.1 | 15 | 453 | 0.00% |
#Cost over the period
Costs per answer with web search moved during the period, even for the same model. Gemini's mean cost rose from 45.06 to 61.89 US dollars per 1,000 answers between September and November, and Claude's rose in November as its prompts grew longer.
Mean cost per answer with web search, by month
| Model | September | October | November |
|---|---|---|---|
| 92.09 | 95.38 | 92.43 | |
| 83.99 | 84.23 | 86.72 | |
| 45.06 | 56.08 | 61.89 | |
| 50.29 | 50.13 | 51.65 | |
| 41.24 | 41.18 | 51.06 | |
| 36.86 | 36.65 | 34.07 | |
| 11.40 | 11.44 | 11.34 | |
| 5.40 | 5.55 | 5.80 |
Claude's mean prompt tokens rose from 9,994 in October to 14,939 in November, and its mean cost rose by about a quarter. Its median cost stayed at about 17 US dollars per 1,000 answers. Gemini's prompt tokens stayed small, at 19 to 69 per answer, and its output grew from 2,602 to 2,882 tokens per answer. Its rise came from longer output or from a change in what the search cost.
#Takeaways
- Budget for web search as the main cost when you run your own checks of AI answers through an API. In this archive, answers with web search were about a fifth of the answers and three quarters of the cost.
- Use the median cost and the cost at the high end when you plan a budget. For Claude and GPT-5, the mean cost per answer was more than twice the median.
- Count the cited sources you get for the money as well as the cost per answer. The cost per cited URL differed more than 100 times between models.
- Check prices again before each run. Gemini's mean cost per answer rose by more than a third between September and November.
- Expect answers with web search to take longer. Five of six models took 1.29 to 1.74 times as long per answer.
#Method
The archive asks the same questions every day: 137 questions in total, 130 on a typical day. It recorded the cost in US dollars, the tokens (prompt, completion and reasoning) and the time of each call. The costs are what the archive was charged in that period. They are not list prices. They can include charges for the search itself. Prices change, and the figures here are a snapshot.
The 8 models with web search are OpenAI GPT-5, OpenAI o3, Anthropic Claude Sonnet 5, Google Gemini 3.5 Flash, xAI Grok 4.5, Meta Muse Spark, Perplexity Sonar and Perplexity Sonar Pro. Sonar searched from July 18, 2026 and Sonar Pro from July 24. The other six started to search on September 11, 2026 (the first day with web search on at least 90% of a model's answers).
For the comparison before and after web search, we used the 31 days from August 11 to September 10, 2026 against the 31 days from September 11 to October 11, 2026. We kept only the questions a model answered in both windows: 130 questions for five models and 128 for Muse Spark. Muse Spark's version in the archive started on August 13, and many of its calls failed before September 11, so it has 683 answers before and 3,968 after. The ratio is the mean after divided by the mean before, with a 95% interval from 1,000 bootstrap samples of questions. For the six models together, we took the mean of the six model means, so that each model counts equally. Muse Spark has far fewer answers before than after, so a mean over all answers would weight the two windows differently.
For cost per answer with web search and cost per cited source, we used September 11 to November 23, 2026, when all 8 models searched. Cost per cited URL is the total cost of the answers with web search divided by the number of unique cited URLs in them. Output tokens are completion tokens, which include reasoning tokens. We left out 4,771 failed calls, 3,228 of them from Muse Spark. Of the answers, 567 recorded a cost of zero, most from models without web search, and we kept them.
#Limits
- These are API models with a web search tool. Prices for the consumer apps, and direct prices from each company, can differ.
- The questions are about US politics, policy and AI. Questions that need more or fewer searches would cost more or less.
- The question set and the model set changed during the period. From October 29 the archive asked fewer models each day: about 11, against about 37 before, and the set changed from day to day. All 8 models with web search answered on every day.
- The data comes from one archive, from July 18 to November 23, 2026. Prices and search settings can change at any time.
- Time per answer depends on the load on the API service and on each provider when the archive made the call.
Download the data (CSV) for the aggregates behind every chart and table.
More research
- 0.94%of answers from 46 AI models were missingHow often AI models fail to answer
- 17unique domains in the median cited Perplexity Sonar answerWhich sources AI models cite first, and how many
- 0.61%of sampled links cited with web search returned 404 or 410 to Ahrefs' crawlerHow many links in AI model answers work
Terms in this guide
Read next
Research
What changes when an AI model starts to search the web
When six AI models started to search the web, answers that mentioned 2026 rose from 1.45% to 23.17%, and answers with links from 0.42% to 54.45%.
Research
How often AI models search the web but cite no sources
With web search on, OpenAI GPT-5 cited no source in 85% of its answers. In 95% of such answers from 6 AI models, the model ran no search at all.
Research
What 54,000 AI model answers cite: sources by model
In 54,323 cited answers from 8 AI models with web search, news sites got 21% of cited domains, government sites 14% and company websites 6%.
Research
What ChatGPT searches for before it answers
What 8,430 ChatGPT web searches contained, from about 26,000 AI responses: brand names, places, the current year, 'official' and review sites.
Questions
How much does an AI answer with web search cost?
Through the API, from September to November 2026, the median answer with web search cost from 5.38 US dollars per 1,000 answers for Perplexity Sonar to 108.08 for xAI Grok 4.5. Prices change, so treat these as a snapshot.
Does web search make AI answers slower?
For five of six models, yes. With web search, their mean time per answer rose 1.29 to 1.74 times. GPT-5 took about the same time, and Perplexity Sonar answered in a median of 4.0 seconds.
Which AI model gives the most cited sources for the money?
Perplexity Sonar, by far. It cost 0.25 US dollars per 1,000 cited URLs, against 7.50 for Gemini and 30.67 for GPT-5, which cited a source in 14.95% of its answers with web search.
Notes
- 1
- 2
About this page
Researched and reviewed by Promptly Found. Reviewed Nov 25, 2026. Next review due Feb 2027.
Cite this page
Promptly Found. (2026, November 25). What a web search answer costs, by model https://promptlyfound.com/research/ai-model-search-cost