Articles / Test 01 · AI · LLM
Proprietary AI vs. some of the best models on the market: accuracy and response time on 400 questions
Summary
Objective: Measure whether an open-source model, hosted on a machine under one’s own control and combined with document search, matches the accuracy of large cloud models when answering questions about a company’s internal documents.
The benchmark compares three engines on 400 questions asked about the documents of a fictitious company (206 documents). All three engines receive exactly the same passages and are scored by the same grader. The first is the Phemios engine: an open-source model, Mistral Small 3.2 (24 billion parameters), running on a single GPU. The other two are Claude Opus 5.5 and Claude Fable 5.1, called through the Anthropic API.
The Phemios engine gets 89.75% correct answers, versus 89.0% for Claude Opus 5.5 and 91.25% for Claude Fable 5.1. It answers faster than Opus (4.1 s versus 5.1 s on average), but slower than Fable (3.6 s).
Its weakness is clear: 9 wrong answers, versus 1 for each of the two Claude models, which prefer to answer “I can’t find it”. The 29 questions missed by all three engines have one thing in common: the right passage was not among the 8 passages provided. So it is the search that limits the score, not the model.
Use cases: answering questions about internal documents without sending them to a cloud service, internal support assistant, search in procedures and regulations. The 9 wrong answers require human review wherever an error has consequences.
1Question
Does an open-source model, hosted on a machine under one’s own control and combined with document search (RAG), match the accuracy of large cloud models when queried about a company’s internal documents?
Context
To query its own documents with an AI, a company has two options: entrust its documents to a large cloud model, or keep the model in-house. The second option has three advantages.
- The data stays on site. In the tested setup, the documents and the search index stay on the workstation. Only the question and the retrieved passages go to the model’s server. For sensitive data (health, salaries, professions bound by confidentiality), the rule adopted in this lab is to keep everything local, with no cloud at all.
- The load is predictable: one dedicated machine, regardless of the number of questions asked.
- The behavior is under control. The instructions, the model and the machine are chosen, and nothing changes without a decision.
Quality still has to keep up. This test measures it, with figures to back it up.
2Protocol
2.1 Corpus
The questions concern a fictitious consulting firm, Alpina Conseil Sàrl, created for the test. The corpus contains 206 documents:
- 8 documents written by hand;
- 198 documents generated to form a realistic and consistent set: 52 Word, 46 PDF, 40 Excel, 32 emails, 16 CSV and 12 text files, totaling 865,000 characters.
It includes procedures, contracts, accounts, invoices, internal notes and meeting minutes. Once split, the corpus yields 2,454 passages in the search index.
2.2 400-question benchmark
Each question is written in advance, with its expected answer and the document that contains it. The benchmark mixes four types of questions, so as not to measure keyword search alone:
| Type | Count | Real example from the benchmark |
|---|---|---|
| Direct | 131 | “What is the work percentage of the accountant, Ms. Sofia Martins?” → 80% |
| Rephrased | 112 | “How many people work at the company, and how many full-time positions does that add up to?” → 14 employees, i.e. 12.2 FTE |
| Concrete situation | 143 | “An employee drives 120 km in her private car to visit a client, while the same trip takes 1 hour by car and 3 hours by public transport. How much can she get reimbursed for the kilometers?” → 84 CHF (120 km × 0.70 CHF) |
| Trap | 14 | “Do employees receive a 13th-month salary?” → the answer is in no document; the only correct answer is “I can’t find it” |
Table 1 · Benchmark composition. Rephrased questions avoid the document’s wording; traps measure the tendency to make things up.
The benchmark was generated by Claude, which had access to the whole corpus, then spot-checked.
The traps required an extra check. After documents were added in bulk, some of them had found an answer in the corpus. Each trap was therefore compared against the closest passages in the index, and 6 of them became normal questions. The 14 remaining traps were all verified.
2.3 Search pipeline (RAG)
All three engines share exactly the same pipeline; only the model that writes the answer changes.
- ChunkingEach document is cut into passages of at most 1,200 characters.
- Hybrid searchTwo searches run in parallel: by meaning (multilingual-e5-small embeddings, ChromaDB database) and by keywords (BM25). Their results are merged with RRF, and the top 30 candidates are kept.
- Rerankerbge-reranker-v2-m3, trained for this lab on royalty-free Swiss federal laws (Fedlex). It rereads the 30 candidates with the question and reranks them. It runs on the GPU, in about 130 to 200 ms per question.
- Passages sentThe top 8 passages go to the model with a strict instruction: answer only from the passages, cite the source, and otherwise answer “I cannot find this information in the documents”.
2.4 Engines compared
| Engine | Model | Settings |
|---|---|---|
| Phemios (open source) | Mistral Small 3.2 24B Instruct, GGUF Q5_K_M | text-generation-webui, context 16,384 tokens, temperature 0.1 |
| Claude Opus 5.5 | claude-opus-5-5 | Anthropic API, “medium” effort, streamed responses |
| Claude Fable 5.1 | claude-fable-5-1 | Anthropic API, “medium” effort, streamed responses |
Table 2 · The Claude API does not accept the temperature setting: it is not passed to the two Claude models.
2.5 Hardware
The open-source model runs on a single 48 GB NVIDIA A40 GPU, at RunPod. The reranker shares this GPU, and the workstation reaches it through an encrypted SSH tunnel, never in clear text over the Internet.
Everything else runs on the workstation: search, embeddings and orchestration, in a Docker container (RAG Studio, the lab’s test tool). Both Claude models are called from this same container.
2.6 Grading
The grader applies two rules, in this order:
- Exact check of figures. If the expected answer contains figures and the answer given contains all of them, the answer is judged correct. This prevents an overly strict grader from classing a correct answer that is simply worded differently as “partial”.
- Otherwise, an AI grader decides (Claude Opus 5.5, effort “medium”). It puts each answer in a class: correct, partial, wrong or refusal.
For a trap, the rule is reversed: refusing is correct, inventing is wrong. The three engines are graded by the same grader, an essential condition for a fair comparison.
2.7 Procedure
Each engine ran the full benchmark once, on November 4, 2026, with the same passages and the same search settings.
3Measurements
- Answers: the class assigned by the grader to each answer (correct, partial, wrong, refusal). The main score is the share of correct answers out of the 400.
- Time: the duration of each answer, measured by RAG Studio from sending the question to the end of the answer. It includes the network, to the remote GPU on one side and to Anthropic’s API on the other. From it come the mean, the median, and the 90th and 95th percentiles.
- Search: the rank of the right passage in the ranking. Of the 386 questions that have a right passage, it comes 1st in 50.5% of cases, and is among the 8 passages sent in 78.2% of cases. This measurement is the same for all three engines, since they receive the same passages.
4Results
4.1 Overview
| Engine | Correct | Partial | Wrong | Refusals | Mean time |
|---|---|---|---|---|---|
| Phemios · Mistral Small 3.2 | 359 · 89.75% | 7 | 9 | 25 | 4.1 s |
| Claude Opus 5.5 | 356 · 89.0% | 1 | 1 | 42 | 5.1 s |
| Claude Fable 5.1 | 365 · 91.25% | 1 | 1 | 33 | 3.6 s |
Table 3 · 400 questions, same passages, same grader.
wrong refusals “I can’t find it” partial · scale from 0 to 50
The ranking is tight: 9 correct answers separate the first from the last. The nature of the failures, however, differs clearly. Both Claude models almost always fail by refusing to answer. The Phemios engine refuses less often, but it is wrong 9 times and gives 7 incomplete answers.
4.2 By question type
| Type | Mistral Small 3.2 | Claude Opus 5.5 | Claude Fable 5.1 |
|---|---|---|---|
| Direct (131) | 100% | 99.2% | 100% |
| Rephrased (112) | 83.0% | 81.3% | 83.9% |
| Concrete situations (143) | 84.6% | 84.6% | 88.1% |
| Traps (14) | 100% | 100% | 100% |
Table 4 · Share of correct answers by question type.
On direct questions and traps, the three engines are almost flawless, and none invents an answer to a trap. The gap lies in the rephrased questions and above all in the concrete situations, which require combining several pieces of information or doing a small calculation. This is where Claude Fable takes the lead.
4.3 Response time
median 90th percentile · scale from 0 to 10 s
| Engine | Mean | Median | 90th percentile | 95th percentile | Maximum |
|---|---|---|---|---|---|
| Mistral Small 3.2 | 4.1 s | 4.0 s | 5.5 s | 6.2 s | 14.0 s |
| Claude Opus 5.5 | 5.1 s | 4.7 s | 7.9 s | 8.9 s | 15.6 s |
| Claude Fable 5.1 | 3.6 s | 3.1 s | 5.5 s | 6.5 s | 11.2 s |
Table 5 · End-to-end times measured on the 400 answers, network included.
The Phemios engine is more consistent than Opus: its 90th percentile stays at 5.5 s, versus 7.9 s for Opus. Fable is the fastest at the median.
Throughput in tokens per second was not measured on this benchmark. The figures above are full response times, that is, what the user experiences.
4.4 Who succeeds where the other fails
| Correct for… | …and not for Mistral | …and not for Opus 5.5 | …and not for Fable 5.1 |
|---|---|---|---|
| Mistral Small 3.2 | — | 14 | 6 |
| Claude Opus 5.5 | 11 | — | 3 |
| Claude Fable 5.1 | 12 | 12 | — |
Table 6 · Number of questions answered correctly by one engine and missed by the other.
The engines do not miss the same questions. Mistral correctly answers 14 questions that Opus misses; the reverse happens 11 times.
29 questions are missed by all three engines, and for each of them, the right passage was missing from the 8 passages provided. No model, however large, can answer correctly from a text it was not given.
4.5 Error analysis
Of Mistral’s 9 wrong answers, 8 concern concrete situations. Reviewed one by one, they fall into two families.
Answering when the right passage is missing. For 6 of the 9 errors, the right passage was not among the 8 passages. Both Claude models then answer that they cannot find the information; Mistral, for its part, builds an answer with whatever it has at hand. Two examples:
“Julie spent 1,250 CHF on a trip to a client. Who must approve her expense report?”
Expected the finance and administration manager (from 500.01 to 2,000 CHF).
Mistral “The head of department […], because the amount of 1,250 CHF is above the 500 CHF threshold.” Wrong answer: only the “up to 500 CHF” rule was among the passages, taken from an internship contract, and the model extended it beyond its threshold.
Opus 5.5 and Fable 5.1 refuse. Opus specifies that the passages only state that an expense report up to 500 CHF is approved by the head of department.
“A subcontractor invoiced us for a service that we re-invoice as is to our client. Where should I record their invoice and our re-invoicing?”
Expected the subcontractor’s costs on account 4400, the re-invoicing on 4900.
Mistral gives account 2300 “Accrued expenses” for both entries. This account is indeed in the passages, but it does not fit here.
Opus 5.5 and Fable 5.1 refuse, because the passages do not give the accounts to use.
Getting it wrong despite the right passage. The other 3 errors occur although the right passage was provided, once even in 1st position. This is the case with the kilometers question, cited above:
“An employee drives 120 km in her private car […] 1 hour by car and 3 hours by public transport. How much can she be reimbursed?”
Mistral “The employee cannot be reimbursed […], because the public transport journey does not take more than twice as long as the car journey.” The rule is read correctly, but the comparison is wrong: 3 hours is more than twice one hour.
Opus 5.5 and Fable 5.1 answer correctly: 84 CHF (120 km × 0.70 CHF), since the condition is met.
What this says about hallucinations. On the 14 traps, no engine invents: when nothing in the passages relates to the subject, Mistral refuses just as well as Claude.
The risk appears in the gray zone, when the passages contain a rule close to the right answer. Mistral then fills the gap with that rule, where Claude prefers to stop. The open-source model therefore does not invent from nothing: it extrapolates from a nearby passage, and it also makes reasoning errors on small calculations.
4+Improvement steps
The benchmark did not start at 400 questions. The starting point (the baseline) is a benchmark of 25 questions on 8 documents. Each step changes only one element, and Mistral’s score is measured before and after that change.
When the benchmark itself changes (more questions, more documents), the score restarts from a new base: these rows are marked “new benchmark”.
| Step | Change | Before | After | Gain |
|---|---|---|---|---|
| 0 | Baseline: 25 questions, 8 documents, hybrid search + small mMiniLM reranker, 4 passages | — | 84% | — |
| 1 | More reliable grader: exact check of figures before the AI grader | 84% | 92% | +8 pts |
| 2 | Removal of the small reranker, which ranked good passages too low (hybrid search only) | 92% | 100% | +8 pts |
| 3 | New benchmark: 200 questions of 4 types, traps included | 100% (25 q.) | 83% (200 q.) | new benchmark |
| 4 | 4 → 8 passages sent to the model | 83% | 86% | +3 pts |
| 5 | New benchmark: 206 documents, 400 questions | 86% (200 q.) | 83.0% (400 q.) | new benchmark |
| 6 | bge-v2-m3 reranker trained on Fedlex, served by the GPU | 83.0% | 89.75% | +6.75 pts |
Table 7 · Correct answers from Mistral Small 3.2 at each step. The gain is only comparable within the same benchmark.
measured gain starting point of a benchmark · vertical lines mark a change of benchmark (25 → 200 → 400 questions)
What each step changed
- Step 1: grader. The first grader judged correct answers worded differently from the expected answer as “partial”. With the exact check of figures, an answer that contains all the expected figures is judged correct. This step improves the measurement, not the model.
- Step 2: reranker removed. The small mMiniLM reranker ranked good passages too low, for example the one on annual revenue. Without it, the right passage is in the top 4 for 100% of questions (versus 96%), and search takes 0.1 s instead of 2.6 s. On 25 questions, Mistral and Opus then both score 100%. A harder benchmark becomes necessary.
- Step 4: 8 passages instead of 4. On 200 questions, 31 of the 34 failures came from a right passage missing from the 4 passages. With 8 passages, the right passage is present in 87% of cases, versus 82%. Rephrased questions go from 54% to 72% correct answers.
The trade-off: with more text, Mistral invents two answers to traps (90% of traps passed instead of 100%). - Step 5: 206 documents. With 25 times more documents, the right passage is among the 8 passages in only 72% of cases. The score falls back to 83.0% for Mistral and 82.5% for Opus.
- Step 6: trained reranker. On the same 400-question benchmark, the score goes from 83.0% to 89.75%, the largest gain measured:
- by question type: rephrased from 67% to 83%, situations from 80% to 85%;
- refusals: from 49 to 25; wrong answers: from 13 to 9;
- search: right passage in 1st position in 51% of cases (instead of 40%) and among the 8 passages in 78% (instead of 72%), for about 0.2 s more per question.
Other settings measured
| Setting | Change | Before | After | Gain |
|---|---|---|---|---|
| Reranker training | original bge-v2-m3 → trained on Fedlex (right passage in 1st place, Alpina benchmark) | 68.1% | 69.7% | +1.6 pts |
| Search retry | Automatic rephrasing when the reranker is unsure (threshold 0.15): right passage among the 8 passages | 78% | 81% | +3 pts |
| MTP speculative decoding | MTP prediction head on the chat model (Qwen 27B, 32 GB GPU): generation throughput | 26.2 tokens/s | 49.7 to 65.1 tokens/s | × 1.9 to 2.5 |
Table 8 · The first two rows are measured on the Alpina benchmark (search only). The MTP measurement comes from another model and different conditions: see below.
- Retry: on Alpina, 39 questions retried, 13 recovered and 1 lost, for 3.4 s more per retried question. On a public Belgian-law benchmark, no gain. Retry stays disabled until its effect on answers is measured.
- MTP: the measurement does not concern this benchmark’s model, but the chat model of the Phemios engine. The conditions are not identical: the “before” measurement (26.2 tokens/s) was made with a 25,543-token context and reasoning enabled, the “after” measurements with shorter contexts. The gain is real, but its exact size is not isolated.
- Without comparative measurement :
- quantization (Q5 versus Q8);
- context size;
- passage chunk size, kept at 1,200 characters from the start.
- Next step, prepared but not yet measured: a RAFT-style LoRA training, to teach the model to answer “it’s not in the passages” rather than extrapolate. It relies on 1,917 examples drawn from federal laws, including 290 where the right passage was deliberately removed.
5Limitations
- A single corpus, fictional and in French. The company, its documents and the questions were generated for the test. The results do not transfer as is to every profession or every language.
- A benchmark written by Claude and graded by Claude. The questions were generated by Claude, and grading is done by Claude Opus 5.5, which therefore grades its own answers. The exact check of figures reduces this bias without removing it.
- An imperfect grader. Reviewing the errors shows a case where Mistral and Opus give the same amount, 6,938.40 CHF instead of the expected 6,918.40 CHF: both add reminder fees. Yet Mistral is graded “wrong” and Opus “correct”. A gap of a few questions between two engines therefore remains within the grading’s margin of error.
- A single run per engine. Each engine ran the benchmark only once; the variation from one run to another is not quantified.
- Times that include the network. Mistral runs on a remote GPU, Claude goes through Anthropic’s API. The times reflect the user’s experience, not the raw speed of the models.
- A search pipeline tuned on Mistral. The three engines receive the same passages, but the pipeline was tuned mainly by measuring Mistral.
6Reproducibility
| Model hardware | 1 × NVIDIA A40, 48 GB (RunPod) |
| Model server | text-generation-webui, OpenAI-compatible API |
| Open-source model | Mistral-Small-3.2-24B-Instruct-2506, GGUF Q5_K_M |
| Context · temperature | 16,384 tokens · 0.1 |
| Claude models | claude-opus-5-5 and claude-fable-5-1, effort “medium”, anthropic SDK |
| Embeddings | intfloat/multilingual-e5-small |
| Search database | ChromaDB · BM25 · RRF fusion |
| Chunking | 1,200 characters max per passage |
| Reranker | BAAI/bge-reranker-v2-m3 trained on Fedlex, half precision on the GPU, 30 candidates |
| Passages sent | 8 |
| Rephrasing · contextualized passages | disabled |
| Grader | exact check of figures, then Claude Opus 5.5 (effort “medium”) |
| Corpus · benchmark | 206 documents, 2,454 passages · 400 questions of 4 types |
| Environment | Python 3.12, FastAPI, sentence-transformers, in Docker |
| Measurement date | November 4, 2026 |
✓Conclusion
- In accuracy, the open-source model holds its own. On a single GPU, the Phemios engine is on par with Claude Opus 5.5 (89.75% versus 89.0%) and stays within 1.5 points of Claude Fable 5.1, with comparable response times.
- In caution, Claude stays ahead. 9 wrong answers versus 1: when a nearby passage is lying around, Mistral extrapolates where Claude refuses. For a use where a wrong answer has consequences, this is the figure to watch, and it is the target of the next training step.
- Search matters as much as the model. The largest gain measured (+6.75 points) comes from the reranker, not from a larger model. The 29 questions missed by all three engines are all questions whose right passage was never provided.
→Use cases
- Questions on internal documents without going through the cloud: documents and questions stay on the controlled machine; the measured accuracy is of the same order as that of the two Claude models.
- Internal support assistant: answers to repetitive questions (IT, HR, procedures) from existing documents, without rewriting a knowledge base.
- Search in procedures and regulations: finding the passage that answers a question phrased in everyday language, beyond a keyword search.
- First reading, then human validation: with 9 wrong answers out of 400, the answer serves as a starting point; a person validates it when an error has consequences.
- Targeted improvement of search: the 29 questions missed by all three engines show that the gain lies first in retrieving the passages, before any change of model.