An 8B model outperformed Claude Sonnet 5.5 at 9× lower cost per call
82.5% vs 81.7%: a 0.8-point lead inside the protocol’s 5-point margin, so the registered verdict is the same accuracy. A fine-tuned Qwen3-8B took 95.5% of a text-to-SQL agent’s calls; Claude kept the rest.
Made by Nest
The result
Quality
Execution accuracy, the CHESS agent on 498 BIRD test questions. Registered outcome: non-inferior, within the 5-point margin: +0.8 points [−0.8, +2.4], 90% interval over the 498 questions; one execution per configuration. Small model: Fine-tuned Qwen3-8B (four LoRA adapters) on 95.5% of the agent’s calls, Claude Sonnet 5.5 on the rest. Large model: Claude Sonnet 5.5 on every call of the agent (the reference).Sameaccuracy
Execution accuracy, BIRD · higher is better
Cost per call
Measured from the logged calls of each test run: Claude Sonnet 5.5 at the Anthropic API’s list prices of 22 Oct 2026; the small model priced from a load test of oneNVIDIA A100 80GB on RunPod at US$ 1.79 an hour, with the GPU in full use. With the GPU busy 20% of the time the hybrid costs about US$ 0.00056 a call, 5.4× less than Claude on every call. As reported: US$ 0.00033 vs US$ 0.003 per call (9× cheaper, GPU in full use; 5.4× at 20% use); per correct answer US$ 0.038–0.063 vs US$ 0.338 (81–89% less)
9×cheaper per call
US$ per call · lower is better
Latency
Median time per question, from the agent’s first call to its last, as the test ran: 52.5 s vs 55.6 s. 95th percentile: 97 s vs 83 s, because one GPU served every small-model call and was overloaded. In a load test within its capacity the small model answered its tasks as fast or faster than Claude: agent steps 10× faster, the column filter faster up to 16 simultaneous calls.3 sfaster per answer
s per answer (median) · lower is better
The story
NVIDIA’s recipe for small models in agents, run on a real agent
In 2025 NVIDIA researchers argued that most of the calls an AI agent makes are narrow and repetitive, so a small model fine-tuned on them could take them over, and they proposed a recipe for the conversion (Belcak et al., “Small Language Models are the Future of Agentic AI”). Nest ran that recipe on a real open-source agent, with the protocol, the margins and the analysis code registered before any test result.

The agent is CHESS, which answers questions about a database by writing SQL; the questions come from BIRD. To answer one, CHESS makes about 93 LLM calls of five kinds: deciding whether each column matters (84% of the calls), choosing the next tool (12%), selecting tables and columns (2%), extracting keywords (1%) and writing the SQL (1%), the step that decides the answer.
Data
BIRD questions through the CHESS agent
834 training and 498 test questions
BIRD text-to-SQL benchmark; the same 11 databases in training and test, 200 more questions for calibration
The training examples are Claude Sonnet 5.5’s answers to the agent’s 82,403 calls on the training questions, curated and grouped into four tasks.
Who answers which call
A registered rule, applied on calibration questions before the test, gave the small model the two tasks where it came closest to Claude: the column filter and the agent steps, 95.5% of the agent’s calls. Claude Sonnet 5.5 kept table and column selection, keywords and the SQL itself.
Small model
Qwen3-8B, fine-tuned by Nest
8B (dense) · Qwen (Alibaba)
Four LoRA adapters (rank 16), one per group of tasks, served together with vLLM on one NVIDIA A100 80GB
- Base
- Qwen3-8B (Qwen/Qwen3-8B, revision b968826), released in April 2025 and since followed by Qwen3.5
Large model
Claude Sonnet 5.5
Size not disclosed · Anthropic
Used as released through Anthropic’s API with the agent’s own prompts, adaptive thinking at its default effort; on every call in the reference, on the rest in the hybrid
Training
- Method
- LoRA rank 16, two epochs, learning rate 2e-4, on Tinker (Thinking Machines’ fine-tuning API)
- Hardware
- Tinker’s own; its chips are not exposed (billed per training token, US$ 0.44 per million)
- Time
- 2 h 49 min for the four adapters (79, 22, 7 and 61 min)
- Cost
- US$ 55.68 for the four adapters; US$ 281.48 with the US$ 225.80 of collecting the training data
What it cost to build
Converting the agent cost US$ 281.48. Running the agent on Claude over the training questions, 82,403 calls, cost US$ 225.80. The four adapters cost US$ 55.68 on Tinker: the column filter US$ 43.62 (11,982 examples, 99.1M tokens, 79 min), selection and SQL US$ 9.55 (2,517 examples, 22 min), keywords US$ 0.56 (833 examples, 7 min) and agent steps US$ 1.95 (9,164 examples, 61 min). At the hybrid’s saving per question, that pays back after about 1,200 questions.
Where it ran
The small model ran on one RunPod Secure Cloud pod: one NVIDIA A100 80GB PCIe with 16 vCPUs and 117 GB of RAM, US$ 1.79 an hour billed by the second. vLLM 0.30 with prefix caching served Qwen3-8B in bf16 (16.4 GB) and the four adapters on that one GPU; the whole study used 27.5 pod-hours (US$ 49.19). Claude Sonnet 5.5 ran through Anthropic’s API, priced at its list prices of 22 Oct 2026.
Evaluation
498 questions
- Test set
- BIRD, held-out test questions, through the CHESS agent
- Metric
- Execution accuracy: the SQL’s result matches the reference query’s
- How it was compared
- The same agent, prompts and questions for every configuration; only the model behind each call changes. Non-inferiority margin of 5 points, 90% intervals over the questions; one execution per configuration.
What we found
The hybrid scored 82.5%, against 81.7% for the agent with Claude Sonnet 5.5 on every call: +0.8 points, 90% interval −0.8 to +2.4, the same within the 5-point margin. A call cost US$ 0.00033 against US$ 0.0030, 9× less with the GPU in full use and 5.4× less with it busy 20% of the time; per correct answer, US$ 0.038 to 0.063 against US$ 0.338, 81–89% less. The median question took 52.5 s against 55.6 s.
Two results go the other way. With the fine-tuned Qwen3-8B on every call, SQL generation included, the agent fell to 66.7%, 15.1 points behind: SQL generation had 826 training examples, against the paper’s rule of thumb of about 10,000. And one call to Claude Sonnet 5.5 with no agent at all scored 83.5%, at US$ 0.028 per correct answer, cheaper than the hybrid: for a large model the agent’s steps are redundant on this benchmark, so the registered cost claim was refuted.
Time per question has a tail: at the 95th percentile the hybrid took 97 s against 83 s, because one GPU served every small-model call and was overloaded. Within its capacity the small model answered its tasks as fast or faster than Claude: agent steps 10× faster, the column filter faster up to 16 simultaneous calls.
For reference: the agent on gpt-oss-120b, an open-weight model, scored 76.7% at US$ 0.033 per correct answer; one call to gpt-oss-120b with no agent, 77.3% at US$ 0.0006; the agent on Qwen3-8B without training, 53.2%. Each configuration ran once, and the deviations from the protocol are listed in the repository.
All the numbers
Show all numbersHide all numbersEvery model · Cost, latency and energy · The full table · How the cost adds up
Every model on the headline test
The CHESS agent on the same 498 BIRD test questions. Fine-tuned Qwen3-8B answers 95.5% of the agent’s calls (column filter and agent steps) and Claude Sonnet 5.5 the rest; Claude Sonnet 5.5 alone is on every call. The other configurations are in the full table below.
Cost, latency and energy, as reported
- Cost · per call
- US$ 0.000331×
NVIDIA A100 80GB on RunPod at US$ 1.79/h, GPU in full use (US$ 0.00056 at 20% use); Claude Sonnet 5.5’s 4.5% of the calls at list price
- US$ 0.0030Anthropic API, list prices of 22 Oct 2026, hardware not disclosed
- 9× cheaper per call with the GPU in full use, 5.4× with it busy 20% of the time. Per correct answer: US$ 0.038 to 0.063 against US$ 0.338 (81–89% less). Building the small model cost US$ 281.48, paid back after about 1,200 questions.
- Latency · per question, median
- 52.5 s1×
NVIDIA A100 80GB, overloaded during the test
- 55.6 sAnthropic API
- From the first call to the last, as the test ran. 95th percentile: 97 s against 83 s, because one GPU served every small-model call and was overloaded. Within its capacity the small model answered its tasks as fast or faster (agent steps 10× faster; the column filter faster up to 16 simultaneous calls).
- Energy
- Not reported
The full table
| Who answers the agent’s calls | Accuracy | vs Claude on every call | Cost per correct answer | Per question, median / p95 |
|---|---|---|---|---|
| 82.5% | +0.8 [−0.8, +2.4], non-inferior | US$ 0.038–0.063 | 52.5 / 97 s | |
| 81.7% | — | US$ 0.338 | 55.6 / 83 s | |
| 76.7% | −5.0 [−8.0, −2.2], inconclusive | US$ 0.033 | 64 / 121 s | |
| 66.7% | −15.1 [−18.1, −12.0], worse | US$ 0.015–0.074 | 60 / 138 s | |
| 53.2% | −28.5 [−32.3, −24.7], worse | US$ 0.009–0.045 | 54 / 99 s | |
| 83.5% | +1.8 [+0.2, +3.6], non-inferior | US$ 0.028 | 5 / 7 s | |
| 77.3% | −4.4 [−7.4, −1.4], inconclusive | US$ 0.0006 | 4 / 7 s |
Execution accuracy on the same 498 BIRD test questions; differences in points with 90% intervals; non-inferiority margin 5 points. Cost per correct answer at API list prices, the small model priced from a load test of one A100 at US$ 1.79 an hour, from the GPU in full use to 20% use. The last two rows answer another question (is the agent needed at all?) and are kept apart in the report.
How the cost adds up
| Step | What | Time | Cost |
|---|---|---|---|
| Collect training data | the agent on Claude Sonnet 5.5 over the training questions: 82,403 calls | — | US$ 225.80 |
| Adapter c0, column filter | LoRA r16, 2 epochs, 11,982 examples, 99.1M tokens | 79 min | US$ 43.62 |
| Adapter c1, table and column selection, SQL | LoRA r16, 2 epochs, 2,517 examples, 21.7M tokens | 22 min | US$ 9.55 |
| Adapter c2, keyword extraction | LoRA r16, 2 epochs, 833 examples, 1.3M tokens | 7 min | US$ 0.56 |
| Adapter c3, agent steps | LoRA r16, 2 epochs, 9,164 examples, 4.4M tokens | 61 min | US$ 1.95 |
| Total | data and the four adapters | — | US$ 281.48 |
The adapters were trained on Tinker, Thinking Machines’ fine-tuning API, at US$ 0.44 per million training tokens (what it billed for the four adapters the test used). At the hybrid’s saving of US$ 0.225 to 0.246 per question against the agent on Claude, the US$ 281.48 pays back after about 1,200 questions. Not included: engineering time, load tests, adapters trained for other purposes.
Serving: one RunPod Secure Cloud pod with 1× NVIDIA A100 80GB PCIe (16 vCPU, 117 GB RAM) at US$ 1.79 an hour, billed by the second; vLLM 0.30 with prefix caching served Qwen3-8B in bf16 (16.4 GB) and the four adapters on that one GPU; 27.5 pod-hours (US$ 49.19) for the whole study. Claude Sonnet 5.5 through the Anthropic API at its list prices of 22 Oct 2026.
Worth knowing
- Putting the fine-tuned Qwen3-8B on every call failed: 66.7%, 15.1 points below Claude Sonnet 5.5 on every call. SQL generation had only 826 training examples, against the paper’s rule of thumb of about 10,000.
- One call to Claude Sonnet 5.5 with no agent scores higher than both: 83.5%, at US$ 0.028 per correct answer, cheaper than the hybrid. The 81–89% saving is against the agent the hybrid replaces; the pre-registered cost claim, which compares with the cheapest option that needs no training, was refuted.
- At the 95th percentile the hybrid loses on time: 97 s against 83 s per question, because one GPU served every small-model call and was overloaded. Within its capacity the small model answered its tasks as fast or faster.
- The small model learned from Claude Sonnet 5.5’s own outputs: its training examples are the large model’s answers to the agent’s calls on the training questions.
3 more caveats
- One execution per configuration: the intervals cover the choice of questions, not run-to-run variation. Deviations from the protocol (resumed sessions, changing parallelism, a restarted configuration, a small published patch of the analysis code) are listed in prereg/DEVIATIONS.md.
- Nest sells this conversion and ran the study; the protocol and the analysis code were registered before any test result, and every call log is public.
- One agent, one domain, and the same 11 databases in training and test; Qwen3-8B is an older generation, since followed by Qwen3.5.
Weights
The four LoRA adapters are in the study’s GitHub release (adapters.tar.zst), with the training data and every call log. The base model, Qwen3-8B, is on Hugging Face.
Sources
- Nest, nest-ai-org/slm-conversion-bench: code, pre-registration, report and call logs (GitHub)Primary (nest’s own run)
- Results, axis by axis (docs/results.md)Primary
- The pre-registered report (results/report/report.md)Primary
- Cost and latency tables (results/tables/cost_latency_tables.md)Primary
- Deviations from the protocol (prereg/DEVIATIONS.md)Primary
- Raw data of every execution, adapters included (GitHub release data-2026-11-12)Data
- Peter Belcak et al. (NVIDIA), “Small Language Models are the Future of Agentic AI”, arXiv:2506.02153The method
- CHESS, the text-to-SQL agent (GitHub)The agent
- BIRD text-to-SQL benchmarkThe test data
