Knowledge-base retrieval benchmark · core metrics

Recommendations

Best quality: highest accuracy (correct refusal ≥ 70%, ≥ 30 graded questions) · Best value: cheapest within 5 points of it · Best Flash-tier: the same rule among Haiku / DeepSeek

Core metrics

MuSiQue accuracy

Higher is better · multi-hop QA, short answers · questions any model answers without the KB are excluded

Full evidence found

Higher is better · every evidence document of a multi-hop question was retrieved or read

Retrieval noise

Lower is better · share of the documents shown to the model that are not evidence (multi-hop) · read with full evidence

False refusal

Lower is better · says "not in the KB" although the answer is there

Says "not in the KB"

Higher is better · correct refusal when the KB lacks the answer

Rounds

Average rounds (model calls)

Fewer is faster and cheaper · single-shot = 1; two-round ≤ 3; agent ≤ 12 rounds (+1 forced answer at the cap)

Average tool calls

Search / grep / read calls in total · an agent may call several tools per round

Cost and speed

Accuracy vs cost per question

Log-scale x axis · top-left is best

Accuracy vs latency (p50)

Top-left is best · measured under concurrent load; compare across API providers with care

Data table

Prompt cache hits

Hit rate = cache-read tokens ÷ all prompt tokens. 'Prompt cost vs no cache': what was actually paid for prompt tokens as a share of the price without caching. Counts every answer that was run, including questions later removed by the audit, so the totals exceed the graded count at the top.
ModelModeAnswersPrompt tokens / qCache hitCache writeOutput tokens / qPrompt cost vs no cache
Haiku 5.5Single-shot2,8837,9861%99%772124%
Haiku 5.5Two-round1,92221,76332%68%90188%
Haiku 5.5Agent5,76658,76164%36%1,43852%
Sonnet 5.5Single-shot2,8837,9951%99%387124%
Sonnet 5.5Two-round1,92220,47028%72%52192%
Sonnet 5.5Agent5,76641,82767%33%81644%
DeepSeek V4.1 FlashSingle-shot2,8835,19114%0%80386%
DeepSeek V4.1 FlashTwo-round1,92214,18140%0%92761%
DeepSeek V4.1 FlashAgent5,766254,05382%0%3,12120%

Appendix

A · Method

What was compared

DimensionValues
Knowledge-base size300 / 900 / 3000 documents, nested (300 ⊂ 900 ⊂ 3000); composition in Appendix B
ModelsClaude Haiku 5.5, Claude Sonnet 5.5 (Anthropic API, effort medium); DeepSeek V4.1 Flash (DeepSeek API, default effort high — that API has no medium level)
RetrievalR1 grep (regex over files + read) · R2 BM25 · R3 hybrid (BM25 + dense, RRF) · R4 enhanced hybrid (QMD-style: Haiku query expansion → BM25 + dense → RRF → Haiku rerank of 30 candidates) · R5 LLM-wiki navigation (start at index.md, follow links, may open raw notes) · R6 LLM-wiki + hybrid search
ModeSingle-shot: retrieve once with the question, top-8 passages to the model · Two-round: if insufficient, the model writes 1–3 associative queries for one more retrieval, then answers or refuses · Agent: the model calls tools (search / grep / list / read) for up to 12 steps

Components

Grading and metrics

MetricDefinition
AccuracyMuSiQue answerable questions: answer matches the reference or an alias (judged by Claude Opus 5.5). Only the 115 clean questions count: 32 questions that any tested model answers without the KB were removed
Full evidence foundEvery evidence document of a multi-hop question was shown to the model: retrieved passage, search snippet, grep hit line or opened file (wiki source pages map back to their raw note). It grows mechanically with the number of searches / grep calls (one grep call can list 60 files): it shows the evidence came up, not that the search was more thorough
Retrieval noiseShare of the documents shown to the model (same exposure set as full evidence) that are not evidence, averaged per question, MuSiQue multi-hop only; = 1 − precision. Full evidence ignores how much else was shown: 100 documents and 20 documents that both contain the same 5 evidence documents score the same full evidence, at 95% and 75% noise. Evidence is the minimal gold set, so other documents that also hold the answer count as noise: read it as a comparison between setups, not an absolute value
False refusalShare of MuSiQue / BRIGHT answerable questions answered with "not in the KB"
Says "not in the KB"Share of unanswerable questions where the answer clearly states the KB lacks it; answering anyway counts as hallucination
p50 latencyMedian end-to-end time from question to final answer, measured under concurrent load
Cost per questionModel calls + retrieval APIs (embeddings, R4 expansion and reranking) at each provider's actual prices
RoundsCalls to the tested model per question: single-shot = 1; two-round = 1–3; agent = one call per round, up to 12 rounds plus one forced answer at the cap (max 13). "Hit step cap" = share reaching the 12-round cap
Tool callsTotal search / grep / list / read calls per question (the two-round extra search counts as 1); an agent may call several tools per round

Significance and robustness

Computed from the judged records by harness/stats.py. Exact paired McNemar tests on the clean questions graded in both cells; the 21 comparisons form one family for the Holm adjustment (bold = adjusted p < 0.05). Questions sharing a gold document or an answer are not independent, so the interval of the difference resamples question clusters (10,000 bootstrap draws).

SizeComparison (A vs B)Questions (clusters)Accuracy A / BOnly A / only B rightpHolm-adjusted pDifference, 95% interval
300DeepSeek V4.1 Flash · Agent · grep vs Sonnet 5.5 · Agent · grep38 (30)89% / 87%1 / 01.0001.000+3 pt [+0, +9]
300DeepSeek V4.1 Flash · Agent · grep vs Haiku 5.5 · Agent · grep38 (30)89% / 76%5 / 00.0620.875+13 pt [+3, +25]
300DeepSeek V4.1 Flash · Agent · grep vs DeepSeek V4.1 Flash · Agent · LLM-wiki navigation38 (30)89% / 95%0 / 20.5001.000-5 pt [-12, +0]
300DeepSeek V4.1 Flash · Agent · grep vs DeepSeek V4.1 Flash · Agent · Hybrid38 (30)89% / 84%3 / 10.6251.000+5 pt [-5, +16]
300DeepSeek V4.1 Flash · Agent · grep vs DeepSeek V4.1 Flash · Two-round · Hybrid38 (30)89% / 87%2 / 11.0001.000+3 pt [-6, +12]
300DeepSeek V4.1 Flash · Agent · grep vs DeepSeek V4.1 Flash · Single-shot · Enhanced hybrid (QMD)38 (30)89% / 89%1 / 11.0001.000+0 pt [-8, +8]
300Sonnet 5.5 · Agent · grep vs Sonnet 5.5 · Agent · Hybrid38 (30)87% / 79%3 / 00.2501.000+8 pt [+0, +17]
900DeepSeek V4.1 Flash · Agent · grep vs Sonnet 5.5 · Agent · grep115 (73)90% / 83%10 / 30.0921.000+6 pt [+1, +12]
900DeepSeek V4.1 Flash · Agent · grep vs Haiku 5.5 · Agent · grep115 (73)90% / 70%23 / 00.0000.000+20 pt [+12, +28]
900DeepSeek V4.1 Flash · Agent · grep vs DeepSeek V4.1 Flash · Agent · LLM-wiki navigation115 (73)90% / 89%3 / 21.0001.000+1 pt [-3, +5]
900DeepSeek V4.1 Flash · Agent · grep vs DeepSeek V4.1 Flash · Agent · Hybrid115 (73)90% / 80%13 / 20.0070.118+10 pt [+4, +16]
900DeepSeek V4.1 Flash · Agent · grep vs DeepSeek V4.1 Flash · Two-round · Hybrid115 (73)90% / 83%10 / 30.0921.000+6 pt [+1, +12]
900DeepSeek V4.1 Flash · Agent · grep vs DeepSeek V4.1 Flash · Single-shot · Enhanced hybrid (QMD)115 (73)90% / 77%17 / 30.0030.044+12 pt [+3, +21]
900Sonnet 5.5 · Agent · grep vs Sonnet 5.5 · Agent · Hybrid115 (73)83% / 74%16 / 50.0270.399+10 pt [+2, +17]
3000DeepSeek V4.1 Flash · Agent · grep vs Sonnet 5.5 · Agent · grep115 (73)88% / 84%8 / 40.3881.000+3 pt [-3, +9]
3000DeepSeek V4.1 Flash · Agent · grep vs Haiku 5.5 · Agent · grep115 (73)88% / 67%25 / 10.0000.000+21 pt [+12, +29]
3000DeepSeek V4.1 Flash · Agent · grep vs DeepSeek V4.1 Flash · Agent · LLM-wiki navigation115 (73)88% / 85%7 / 40.5491.000+3 pt [-4, +9]
3000DeepSeek V4.1 Flash · Agent · grep vs DeepSeek V4.1 Flash · Agent · Hybrid115 (73)88% / 83%8 / 30.2271.000+4 pt [-2, +10]
3000DeepSeek V4.1 Flash · Agent · grep vs DeepSeek V4.1 Flash · Two-round · Hybrid115 (73)88% / 83%9 / 30.1461.000+5 pt [-2, +11]
3000DeepSeek V4.1 Flash · Agent · grep vs DeepSeek V4.1 Flash · Single-shot · Enhanced hybrid (QMD)115 (73)88% / 72%22 / 40.0010.010+16 pt [+5, +25]
3000Sonnet 5.5 · Agent · grep vs Sonnet 5.5 · Agent · Hybrid115 (73)84% / 72%15 / 10.0010.010+12 pt [+6, +19]

Quality pick under a stricter correct-refusal threshold:

SizeSays not in KB ≥ 70% (used)≥ 80%
300DeepSeek V4.1 Flash · Agent · LLM-wiki navigation(95%)DeepSeek V4.1 Flash · Agent · LLM-wiki navigation(95%)
900DeepSeek V4.1 Flash · Agent · grep(90%)DeepSeek V4.1 Flash · Agent · grep(90%)
3000DeepSeek V4.1 Flash · Agent · grep(88%)DeepSeek V4.1 Flash · Agent · grep(88%)

Limitations

B · Knowledge-base sources

DatasetWhat a document is3009003000LicenseSource
MuSiQue (dev, full)Wikipedia paragraphs, merged per article title1654951650CC BY 4.0huggingface.co/datasets/bdsaglam/musique
github.com/StonyBrookNLP/musique
BRIGHT (biology, earth_science, economics, psychology, robotics, stackoverflow, sustainable_living)Web pages cited by StackExchange posts (long_documents), median ~13k characters incl. navigation noise1053151050CC BY 4.0huggingface.co/datasets/xlangai/BRIGHT
NoLiMa (III-filter books + needle set)~500-word fiction chunks; some carry one inserted needle sentence3090300Adobe Research License (non-commercial research)huggingface.co/datasets/amodaresi/NoLiMa

C · Question sources

GroupQuestionsAsked at 300 / 900 / 3000Source and construction
MuSiQue answerable14445 / 144 / 144MuSiQue dev 2–4-hop questions; those Sonnet answers closed-book were not selected. Gold labels audited blind by Claude Opus 5.5 (question, reference, decomposition and gold documents only — no model answers; judged against the KB): 56 ill-posed or mislabeled questions removed, 28 given aliases for other answers the KB supports
MuSiQue unanswerable4114 / 41 / 39An answerable question with its last-hop evidence page removed from every KB. Two leak checks: Sonnet judged candidates retrieved with the full question; Opus then retrieved with the removed last-hop sub-question, searched the whole KB for the original answer, and questions most runs answered were reviewed by hand — 10 more removed (per size)
BRIGHT answerable12040 / 120 / 120Real StackExchange questions; gold evidence = the web pages they cite
BRIGHT unanswerable279 / 26 / 20Evidence pages removed; checked per size whether remaining documents allow a substantive answer — not counted at sizes where they do. The first check saw only each page's first 12k characters; a second pass on untruncated chunks, plus the documents answering runs read, removed 4 more at some sizes
NoLiMa208 / 20 / 20Core: 4 needle templates, a one-hop and a two-hop question each. The extended needles added at 900 / 3,000 docs reuse the core templates, so 15 of the 20 questions have several valid answers in the KB ("Which character has been to France?" fits 3 characters) but are graded against one; NoLiMa retrieval numbers at 900 / 3,000 are biased low

D · Run parameters

Key run parameters that affect the results. Thinking effort differs between models (Claude medium, DeepSeek default high); keep this in mind when comparing models.

Claude Haiku 5.5Claude Sonnet 5.5DeepSeek V4.1 Flash
API / model IDAnthropic · claude-haiku-5-5Anthropic · claude-sonnet-5-5DeepSeek official (OpenAI-compatible) · deepseek-flash
Thinking efforteffort: mediumeffort: mediumnot set: API default high (only low / high / max exist, no medium)
Thinking kept across turnsyes (thinking blocks sent back unchanged)yes (same)no (each turn sends back only the answer text and tool calls; reasoning_content is dropped)
Prompt cachingtop-level cache_control: ephemeral (5 min), breakpoint on the last cacheable blocksameautomatic on the API (no parameter)
Price, $ per M tokens
input / output · cache read / cache write
$0.1 / $0.5 · $0.01 / $0.125
×5 for prompts over 100K
$2 / $10 · $0.1 / $2.5$0.3 / $1.2 · $0.006 / —
peak price weekdays 01–04 and 06–10 UTC; half price otherwise
Othermax_tokens 16000, default temperaturesamesame