Skip to content
Duoduo Mediaevidence to decision
Foundational guideGeneral businesscostretrieval economicsquality threshold

Cost per query versus cost per trusted answer

A cheaper query that fails the quality threshold more often can be the most expensive option once wasted answers are counted.

Author: Duoduo ResearchReviewer: Technical review boardLast reviewed: 2026-11-24v1.4material update

Published 2026-05-12 | Next review 2027-01-24 | Review trigger: Model price change above 15% or new route benchmark | Run auto-run-2026.11.3

Reading depth

Define a quality threshold with reviewers, measure the pass rate per route, then divide total cost, including review and rework, by passing answers.

Why cost per query misleads

Cost per query rewards routes that are cheap and wrong. If one route costs half as much but passes the threshold half as often, the business has paid the same for fewer usable answers, plus the cost of discovering and correcting the failures.

CPTA = (C_retrieval + C_generation + C_review + C_rework) / N_passing
N_passing counts answers meeting the agreed quality threshold on a reference set.

Levers that move the metric

  • Classify intent before retrieval so exact lookups skip semantic search.
  • Metadata filters before vector search shrink the candidate set.
  • Dynamic top k stops retrieval when marginal evidence value falls below cost.
  • Version-aware caching for stable questions.
  • Smaller models for extraction and classification when they pass the threshold.

Rework is modelled as review minutes multiplied by loaded reviewer cost, applied to the failure share. Where failures reach customers, add an expected incident cost term.

Try it

Workload

50,000
6 min

15% of failures are assumed to be caught and reviewed.

$90
$40

Applied to 5% of failures that reach a decision.

Optimization levers
Exact lookups skip semantic search (-18% cost).
Stable questions reuse answers (-25% cost).
-40% cost, -4 pts pass rate.
Result

SQL + hybrid delivers the lowest cost per trusted answer at $0.358.

Cheapest per query: SQL + hybrid at $0.024. Both metrics agree here.

Route economics
RouteBase cost / queryBase pass rateMonthly totalTrusted answersCost / trusted
Vector only%$63.2K32,000$1.975
Hybrid + metadata%$25K43,000$0.582
SQL + hybrid%$16.3K45,500$0.358

Where the money goes

Vector onlypass 64%
Hybrid + metadatapass 86%
SQL + hybridpass 91%
Retrieval and generationHuman reviewDownstream incidents

Claims in this note

Supported2Partially supported0Disputed0Unsupported0Not evaluated0

Supported

  • SQL + hybrid cost USD 0.039 per query with recall@8 of 0.93.

    Materiality high. Measured, single corpus

  • Cost per query can rank routes in the opposite order to cost per trusted answer.

    Materiality high. Follows from definition; observed in run

Method

Route costs from metered token usage at list prices on the run date; pass rate from the reference set of 180 questions.

AI assistance disclosure

No generative AI was used for the analysis. AI assisted with copy editing.

Limitations

  • List prices change frequently; check the run date.
  • Review cost assumptions vary widely by organization.

Sources

datasethigh authority2026-11-24auto-run-2026.11.3

Duoduo internal benchmark: four routes on auto-corpus v3.2

"SQL + hybrid route: recall@8 0.93 at USD 0.039 per query versus 0.62 at USD 0.094 for vector only."
Publisher
Duoduo Media Technology
Independence
duoduo-bench
Checksum
sha256:1b2c…9d4e
Open source reference

run://auto-run-2026.11.3Accessed 2026-11-24. Demonstration references resolve inside the curated corpus.

Change history

  1. v1.4 | 2026-11-24Benchmark refreshUpdated route costs after model price change; ranking unchanged.
  2. v1.0 | 2026-05-12Initial publicationFirst release.

Good questions become hypotheses, experiments or follow-up articles. Questions are reviewed before anything is published.