Cost Estimate for 1,000 Web-Connected Q&A Requests: “No Tool Fee” Does Not Mean Free
This article explains how to estimate the cost of 1,000 web-connected LLM Q&A requests by separating model token charges from search and webpage-fetching fees. It provides reusable formulas, Python code, example calculations for built-in and externally orchestrated web search, sensitivity analysis, and practical cost-control recommendations. All prices are illustrative and should be checked against the provider’s current billing rules.
Cost Estimate for 1,000 Web-Connected Q&A Requests: “No Tool Fee” Does Not Mean Free
In web-connected LLM Q&A, the phrase “search with no tool fee” is often misunderstood as “web search is free.” In practice, the bill usually has two components:
- Token charges generated by model inference.
- Request charges from external services such as search and webpage fetching.
Token costs depend on input and output length, cache-hit rates, and time-based pricing. External service costs depend on the number of successful requests. Only by putting both categories on the same bill can you answer the question: How much does 1,000 web-connected Q&A requests actually cost?
For this discussion, we use the following illustrative parameters:
- Uncached input: ¥1 per million tokens during off-peak hours and ¥2 during peak hours
- Cached input: ¥0.02 per million tokens during off-peak hours and ¥0.04 during peak hours
- Output: ¥4 per million tokens during off-peak hours and ¥8 during peak hours
- Search and webpage fetching: ¥5 per 1,000 successful requests, or ¥0.005 per successful request
These figures are intended only for cost modeling. Actual prices, billing boundaries, and peak-hour definitions should be verified against the provider’s published pricing rules.
1. What Does “No Tool Fee” Actually Waive?
There are two common integration patterns for web-connected Q&A.
Built-in web access
With built-in web access, search, webpage opening, and link-reading capabilities are triggered through the model-side tool chain. The model may initiate searches or fetch pages during answer generation. Tool calls themselves may not incur a separate charge, but the retrieved webpage text, search-result snippets, and related content become input tokens in the model context and are still billed as model input.
In other words, the tool-call fee may be waived, but inference token charges are not.
External orchestration
With external orchestration, the application calls search and webpage-fetching APIs directly. It then combines the search results and webpage content into a prompt and sends that prompt to the model.
In this case, search and webpage-fetching APIs are typically billed by successful request, while model charges are calculated separately. Whether failed, timed-out, or empty-result requests are billable depends on the provider’s rules. Under the assumptions used here, only successful requests are charged.
The main difference between these two approaches is not necessarily the model price. It is:
- Who triggers search and fetching
- How those actions are billed
- How the returned content enters the model context
Therefore, comparing only the input price per million tokens is not enough to estimate total cost. A seemingly inexpensive model can generate a larger-than-expected bill if every task triggers multiple searches and fetches long webpage content. Conversely, a high cache-hit rate and effective input trimming can keep per-request costs manageable even when the unit price is not the lowest.
2. A Reusable Cost Formula
Let:
I_u= uncached input tokens per taskI_c= cached input tokens per taskO= billed output tokens per taskN_s= successful search requestsN_f= successful webpage-fetch requests
The total cost is:
Cost = I_u/1e6 * P_in_u+ I_c/1e6 * P_in_c+ O/1e6 * P_out+ N_s * P_search+ N_f * P_fetch
Here:
P_in_uis the price for uncached input tokensP_in_cis the price for cached input tokensP_outis the output-token priceP_searchis the price per successful search requestP_fetchis the price per successful webpage-fetch request
For built-in web access, search and fetch tool fees can be treated as zero, but I_u and I_c may increase because retrieved webpage content enters the model context.
For external orchestration, input tokens may be easier to control, but search and webpage-fetching requests generate additional charges.
The following Python function keeps model and tool costs separate:
def estimate_cost(tasks, in_uncached, in_cached, out_tokens,p_in_uncached, p_in_cached, p_out,searches_per_task=0, fetches_per_task=0,p_search=0.005, p_fetch=0.005):total_in_u = tasks * in_uncached / 1_000_000total_in_c = tasks * in_cached / 1_000_000total_out = tasks * out_tokens / 1_000_000model_cost = (total_in_u * p_in_uncached+ total_in_c * p_in_cached+ total_out * p_out)tool_cost = tasks * (searches_per_task * p_search+ fetches_per_task * p_fetch)return model_cost, tool_cost, model_cost + tool_cost
The value of this function is that it separates model charges from tool request charges. In production, you should record at least:
- Input tokens
- Cached input tokens
- Output tokens
- Search request count
- Fetch request count
- Failed requests and retries
Without these metrics, you may see only the total monthly bill and have no way to identify its source.
3. Example: 1,000 Built-In Web-Connected Q&A Requests
Assume that each task uses:
- 6,000 uncached input tokens
- 1,000 output tokens
- No retries
- No other billable services
For 1,000 tasks, this equals 6 million input tokens and 1 million output tokens. If built-in web tools have no separate tool fee, the model cost is:
- Off-peak:
6 × 1 + 1 × 4 = ¥10 - Peak:
6 × 2 + 1 × 8 = ¥20
The average cost per task is approximately ¥0.01 off-peak and ¥0.02 during peak hours.
The important point is that the 6,000 input tokens represent the entire billable input for the task. You cannot count only the user’s initial question. Whether the model uses web access, how many pages it retrieves, and how long those pages are can all affect input-token usage.
If the cache-hit ratio improves, input costs can fall significantly. For example, suppose each task contains:
- 3,000 uncached input tokens
- 3,000 cached input tokens
- 1,000 output tokens
For 1,000 tasks, the model cost becomes:
- Off-peak:
3 × 1 + 3 × 0.02 + 1 × 4 = ¥7.06 - Peak:
3 × 2 + 3 × 0.04 + 1 × 8 = ¥14.12
| Billing item | Illustrative off-peak price | Illustrative peak price |
|---|---|---|
| Uncached input | ¥1 per million tokens | ¥2 per million tokens |
| Cached input | ¥0.02 per million tokens | ¥0.04 per million tokens |
| Output | ¥4 per million tokens | ¥8 per million tokens |
These figures are for illustration only. A real budget should account for average input length, webpage truncation policies, cache strategy, and the distribution of requests across time periods.
4. Comparing External Search and Fetching
If the application calls search and webpage-fetching APIs directly, the model cost remains ¥10 off-peak or ¥20 during peak hours under the same model usage assumptions. Tool request fees are added separately.
Assume each task generates:
- 2 successful search requests
- 2 successful webpage-fetch requests
Across 1,000 tasks, this results in 4,000 successful requests. At ¥0.005 per request, the tool cost is:
4,000 × ¥0.005 = ¥20
The total cost is therefore:
| Integration path | Tool request cost | Off-peak total | Peak total | Average per task |
|---|---|---|---|---|
| Built-in web access, no tool fee | ¥0 | Approximately ¥10 | Approximately ¥20 | ¥0.01–¥0.02 |
| External orchestration, 2 searches + 2 fetches per task | Approximately ¥20 | Approximately ¥30 | Approximately ¥40 | ¥0.03–¥0.04 |
| External orchestration, 1 search + 1 fetch per task | Approximately ¥10 | Approximately ¥20 | Approximately ¥30 | ¥0.02–¥0.03 |
| External orchestration, 4 searches + 4 fetches per task | Approximately ¥40 | Approximately ¥50 | Approximately ¥60 | ¥0.05–¥0.06 |
Under these assumptions, the cost difference between built-in web access and external orchestration mainly comes from the number of search and fetch requests, not from model pricing.
External orchestration offers more control over the workflow and makes it easier to trim, cache, and filter content. Its trade-off is that request charges become explicit, and retries can increase the number of billable successful requests.
Built-in web access simplifies the integration and may have no separate tool fee. However, retrieved webpage content can increase input-token usage, so the input-token distribution per task should be monitored closely.
5. Sensitivity Analysis as Usage Scales
A single-point estimate is not enough for budgeting. The same pricing assumptions should be tested against different usage levels.
The following table shows model costs for 1,000 tasks with built-in tool fees set to zero:
| Input tokens per task | Output tokens per task | Off-peak model cost for 1,000 tasks | Peak model cost for 1,000 tasks |
|---|---|---|---|
| 6,000 | 1,000 | ¥10 | ¥20 |
| 12,000 | 1,000 | ¥16 | ¥32 |
| 18,000 | 1,000 | ¥22 | ¥44 |
| 6,000 | 2,000 | ¥14 | ¥28 |
When input tokens double from 6,000 to 12,000, the off-peak cost increases from ¥10 to ¥16 rather than doubling, because the output cost remains fixed.
When output tokens double from 1,000 to 2,000, the cost increases from ¥10 to ¥14.
If search and webpage-fetching activity also increases, external orchestration adds more request charges. Budgets should generally include a 20%–30% buffer for failed-request retries, unusually long webpages, and peak-period pricing fluctuations.
6. Engineering Recommendations
Track tokens and requests per task
Record uncached input, cached input, output, successful search requests, successful fetch requests, and retry counts separately. This makes unit-cost attribution possible.
Trim retrieved content
Remove noise from webpage content and apply truncation or summarization where appropriate. Avoid sending full navigation menus, advertisements, and other irrelevant page elements into the model context.
Improve cache hit rates
Stable system prompts, tool descriptions, and frequently reused knowledge fragments can reduce the proportion of uncached input.
Limit search and fetching
Set maximum search rounds, maximum fetched pages, and timeout budgets. This prevents a single task from expanding indefinitely.
Schedule non-urgent workloads during off-peak hours
When the provider uses different off-peak and peak prices, scheduling flexible workloads can reduce costs.
Add budget alerts and per-task limits
For unusually long inputs or tasks that trigger excessive fetching, automatically apply a fallback or degradation strategy. Budget alerts can also help detect abnormal usage early.
Conclusion
Under the illustrative pricing assumptions:
- 1,000 built-in web-connected Q&A requests cost approximately ¥10 off-peak or ¥20 during peak hours.
- With external orchestration using 2 searches and 2 webpage fetches per task, the cost rises to approximately ¥30 off-peak or ¥40 during peak hours.
“No tool fee” does not mean free. The actual bill is determined by token usage, cache-hit rates, the number of successful search and fetch requests, and the integration path.
Separating model charges from request charges is the only reliable way to build a web-connected Q&A system that is explainable, optimizable, and budgetable.
