A local Qwen model can score 98.6% on MotherDuck’s SQL test—but each answer takes minutes
The result makes laptop inference credible for offline evaluation and background analysis, not a drop-in replacement for interactive analytics.
MotherDuck’s latest agentic-SQL experiment puts a useful number on the local-model tradeoff. A 4-bit Qwen3.8 27B run scored 98.6% in the company’s DABstep setup on a 32 GB M5 MacBook Air, while a 3-bit run on a 16 GB M1 Pro scored 96.4%. The same post says the local model averaged five to six minutes per question, versus roughly 25 seconds for Gemini 3 Flash and 40 seconds for GPT 5.6 Luna. That gap matters more than the headline electricity cost. (MotherDuck)
What the score does—and does not—show
MotherDuck describes DABstep here as a context-layer evaluation loop. A frontier model first converts documentation and SQL examples into linked guides. The system then iterates against 26 training question-and-answer pairs until it reaches 26/26, before running a test set of more than 400 questions with the smaller model. Answers must match exact text outputs. The local model is therefore being tested inside a prepared context pipeline, not asked to discover an enterprise schema unaided. (MotherDuck)
That distinction should shape procurement decisions. The result supports using a local model for repeated regression tests, overnight context tuning and background query-optimization work where latency is secondary. It does not establish that a laptop can serve a concurrent, interactive analytics workload. MotherDuck says it could run only one local prompt at a time, while its hosted benchmark sent 15 questions concurrently through OpenRouter. (MotherDuck)
The cost comparison needs a perimeter
The post estimates the local run at under 50 cents in electricity, compared with more than $8 for Luna, and calls that more than 17 times cheaper. But it also supplies a broader estimate: including depreciation on a $2,000 laptop over four years raises the local-model cost to about $6 per 1,000 questions. The benchmark still used a larger frontier model to construct and refine the context layer, so the local score does not eliminate hosted-model cost from the full workflow. (MotherDuck)
The practical rollout pattern is therefore hybrid: reserve the local model for high-volume evaluation and asynchronous analysis, keep an interactive model for user-facing questions, and test the context layer against both routes. Teams should also reproduce the result on their own hardware and questions. MotherDuck used a custom harness, two Apple laptops and an exact-output benchmark; those choices make the experiment inspectable, but they are not an independent production rerun. (MotherDuck)
sources
- Agentic SQL for Free with Qwen3.8 27B and DuckDBmotherduck.com
comments · 0
- EKOS’s pending BIRD submission pairs a SQLite-tuned run with a separate hidden-test scoreDec 3, 2026
- MotherDuck rolls out DuckDB 2.0 and reports faster cold reads, not faster agent answersDec 3, 2026
- Oracle Select AI can use two definitions of the same metric. Source order won’t break the tieDec 3, 2026