Which local models can drive the database agent in LibreDB Studio?
Every model here passed six real database tasks, five runs in a row each, inside the agent mode of LibreDB Studio, an open-source (MIT) web database IDE. A model that failed a task even once in five is not listed, so a model missing from this page either did not pass or was not tested. Some models passed only with settings of their own; each model's page lists them. One hosted model, Gemini, is included for comparison. Sort by speed or by download size to pick one for your hardware.
Results as of 28 November 2026, from docs/llms at 51bd15cba. The current list is always in docs/llms.
| Model | Maker | Served through | Download | Median run | Slowest run | Turn limit |
|---|
Times are wall-clock seconds for a whole agent run, median of the passing runs and the slowest of the thirty. All were taken on one machine against the same database, so they compare models with each other and do not predict your hardware. The turn limit is the per-turn timeout the model passed at; the product ships 90 seconds.
What the six tasks are
- Investigate: describe the tables in the database and how they relate.
- Optimize: explain why a given query is slow.
- Assess: find where the data is incomplete or surprising.
- Operate: report what is currently happening on the database.
- Analyze: answer an analytical question and present the answer.
- Plan: produce a runnable statement, or refuse explicitly.
Five of the tasks end with a report whose claims cite what the model read. A task counts only after five consecutive passes, so a model that answers four times in five is not listed.
Also supported, timings not yet published
These pass all six tasks too. Their timings have not been read off the run records yet.
Sources
- Per-model pages with settings and per-task timings: docs/llms
- Method and where the numbers stop being safe: methodology.md
- Raw run records behind the paper: libredb/database-agent-runs
- Paper: What Stops a Small Language Model From Driving a Database Agent
- Test a model yourself: testing-your-own.md