The Technical Logic Behind Search API Pricing
This article breaks down the technical reasoning behind a search API priced at 5 RMB per 1,000 successful requests for both Search and Fetch, and explains why exposing quality signals matters more than the price itself. It covers the two published scoring fields, rerank_score and authority, along with practical filtering pitfalls; the shift of power from ranking to context admission and its risks; anti-SEO and anti-generative-content manipulation filtering; and a minimal, observable, degradable retrieval pipeline with caching for cost control.
1. Pricing as a Signal: Search Is Becoming Metered, Budgetable Infrastructure
A self-developed search capability has been opened up as an API, with both Search and Fetch priced at 5 RMB per 1,000 successful requests, which works out to roughly 0.005 RMB per call. Compared with common usage-based plans in the industry that charge tens of RMB per 1,000 calls, or even more than 50 RMB per 1,000, this tier is an order of magnitude lower.
The reasons behind the low price are not mysterious, and mainly come down to three points:
- Marginal cost dilution: search requests and web fetching already run at large scale on existing traffic, so the incremental cost of one more API call is far below the cost of building capacity independently.
- A tighter billing definition: “successful request” means retries caused by failures, timeouts, or rate limiting are typically not counted, so callers must implement idempotency and a retry budget themselves rather than pushing the cost of instability onto the bill.
- Competitive positioning: search shifts from an “add-on feature” to a “purchasable atomic capability,” and price becomes a way to become the developer’s default choice.
The direct benefit for developers is that the retrieval step in an Agent goes from “should we save on this?” to “we can leave it on by default.” At 0.005 RMB per retrieval, an application doing 10,000 retrievals a day costs about 150 RMB per month for retrieval, less than what most teams spend on a month of log storage.
2. The Two Published Scores Are the Real Point of This Change
Each result in the response carries two quantifiable fields:
rerank_score: a floating-point score from 0 to 3 that combines relevance, authority, and freshness; the documentation suggests treating values greater than or equal to 1.5 as high-quality results.authority: an integer from 0 to 4, where-1means unknown; the documentation suggests treating values greater than or equal to 3 as extremely authoritative results.
Traditional search engines also maintain site quality scores and page quality scores internally, but these have long been a black box: the ranking is all the user sees, and SEO practice can only infer things backward from ranking fluctuations. Writing the scores into the response decouples the “basis for judgment” from the ranking output and hands it to the caller.
Illustrative usage:
def select(results, min_rel=1.5, min_auth=3, top_k=5):kept = [r for r in resultsif r["rerank_score"] >= min_reland r["authority"] >= min_authand r["authority"] != -1]kept.sort(key=lambda r: (r["authority"], r["rerank_score"]), reverse=True)return kept[:top_k]
Three things need attention in engineering: do not hardcode thresholds in business code, but expose them as configurable items and roll them out gradually per scenario; handle authority == -1 as a separate branch, since a large share of long-tail new sites land there and a blanket filter will cause recall to collapse; the two scores are on different scales, so do not add them with weights directly, but normalize each first and then fuse them.
3. Power Moves from “Ranking” to “Context Admission”
In the past, a search engine’s power showed up in ranking, and a human could still scroll further down, judge for themselves, or re-run the query with different keywords. Now the caller is a program, and a program does not “feel that something is off.” When a large number of Agents uniformly decide what to read and what to discard based on an authority threshold, this integer no longer determines ranking, but whether a web page is even eligible to enter the model’s context.
This creates three new risks:
- Threshold homogenization: if everyone uses the same default value, judgment power is concentrated in whoever defines the score, and high-quality long-tail content may be systematically excluded.
- Scores treated as facts:
authorityis a relative signal, not an authenticity certification, and putting it into a prompt and letting the model draw conclusions from it amplifies false confidence. - No explainable chain: once an answer is wrong, it is impossible to trace back whether retrieval discarded the correct source or the model misread it.
A workable mitigation is to keep a “dual channel”: the main channel uses strict thresholds to guarantee precision, while a fallback channel relaxes the thresholds and explicitly labels low-authority sources, and logs record each result’s raw scores and the reason it was discarded, making later audits possible.
4. Anti-SEO-Cheating and Anti-Generative-Content Manipulation as the Core of the Trust Layer
The announcement mentions identification and filtering of SEO cheating, generative engine optimization (GEO) manipulation, and low-quality AIGC content. Over the past two years, the content marketing field has seen a gray business of mass-producing “fake reviews”: the same template is rewritten into a dozen articles and spread across platforms, so that a model mentions a designated brand when answering “which one is best in this category.” This kind of content is especially dense on consumer questions.
Identifying this manipulation typically relies on stacking multiple dimensions of signals:
- Site side: share of new domains, template similarity, abnormal publishing cadence, sudden changes in backlink structure.
- Content side: semantic duplication, low factual density, lack of verifiable detail, missing author and organization information.
- Behavior side: bulk fetching from the same source in a short period, abnormal referer distribution, highly consistent access paths.
The engineering value of anti-manipulation is that it turns “content trustworthiness” from manually maintained whitelists into a signal service that can be operated continuously. Developers no longer need to maintain their own list of trusted sites, but still need to build a business-level verification layer: cross-verify key facts with a second retrieval, and require at least two independent sources for numerical conclusions.
5. Implementation Advice: Make Retrieval an Observable, Degradable Pipeline
The recommended minimal implementation has four stages:
- Query rewriting: split the user question into 1 to 3 search queries to avoid insufficient recall from a single long query.
- Hybrid filtering: filter by
rerank_scorefirst to keep precision, then byauthorityto keep trustworthiness, and finally by freshness fields to keep results current. - Context budget: truncate by a token limit, prioritizing fragments that are high-authority, highly relevant, and non-duplicative in information.
- Observability and degradation: log the score distribution, discard reasons, and category of matched source domains for each request; when the number of high-quality results falls below a threshold, relax automatically and flag the uncertainty.
Pairing this with general cloud capabilities can make the pipeline more robust: use a message queue to smooth out peaks, object storage to archive retrieval snapshots, and logging services with monitoring alerts to track drift in score distributions. For cost control, cache results for high-frequency repeated queries and treat cache hit rate as a first-class metric, which is usually more effective than lowering retrieval frequency.
6. Conclusion
The 5 RMB per 1,000 pricing is only the entry point; what really deserves attention is the paradigm shift brought by published scores and anti-manipulation mechanisms: retrieval results change from “a list for humans to read” into “structured evidence for programs to use.” Developers should treat thresholds as configuration, treat authority as a signal rather than a conclusion, and make the filtering chain an observable system, so that they can still hold the line on answer trustworthiness after low-cost retrieval becomes widespread.
