> ## Content Index
> Fetch the complete content index at: https://blog.agami.ai/llms.txt
> Use this file to discover other available public pages before exploring further.

# Agami Is #2 on BIRD's LiveSQLBench-Large, Running Claude's Smallest Model
- URL: https://blog.agami.ai/agami-is-2-on-birds-livesqlbench-large-running-claudes-smallest-model/
- Published: 2026-12-03T08:43:11.000Z
- Updated: 2026-12-03T08:43:11.000Z
- Description: agami is #2 of 19 on BIRD's LiveSQLBench-Large, solving 221 of 480 tasks on Claude Haiku 5.5 at $0.017 a task. Here is how, and what it does and doesn't prove.
- Author: Agami Founders
- Tags: Data Agent, Accuracy, Semantic Model, Benchmark

The result in 40 seconds: the benchmark, the score, and the cost.

On 30 November, BIRD added agami to the [LiveSQLBench-Large leaderboard](https://livesqlbench.ai/?ref=blog.agami.ai) at #2 of 19, with 221 of 480 tasks solved. It ran on Claude Haiku 5.5, Anthropic's smallest model, at $0.017 a task.

In September we wrote that our own benchmark number was pending, and that when we had one we'd name the benchmark and the date. This is that post: how we got the number, and what it does and doesn't prove.

## What LiveSQLBench-Large tests

LiveSQLBench comes from the BIRD team, who also run one of the most widely used text-to-SQL benchmarks. The Large set is built to look like company data ([BIRD's description](https://github.com/bird-bench/livesqlbench?ref=blog.agami.ai)):

- **480 tasks across 18 databases**, each with around 54 tables and a thousand columns.
- **Business rules live in a separate knowledge base.** The question doesn't spell out a metric, so the agent has to find its definition before it can compute it.
- **332 tasks are questions and 148 change data.** An agent might have to create a view, update records, or write a function.
- **Every task is graded by test cases** run against a fresh copy of the database.

BIRD's harness runs the agent in a container with up to 50 turns per task. We used it unchanged, apart from a newer Claude Code release so current models would run.

If you'd like to look at the tasks yourself, the dataset is public: [LiveSQLBench-Large on Hugging Face](https://huggingface.co/datasets/birdsql/livesqlbench-large-v1?ref=blog.agami.ai).

## The result

|                        |                                  |
| ---------------------- | -------------------------------- |
| Tasks solved           | 221 of 480 (46.04%)              |
| Rank                   | #2 of 19                         |
| Model                  | Claude Haiku 5.5                 |
| Cost per task          | $0.017, the lowest in the top 10 |
| Cost for all 480 tasks | $8.27                            |

It comes from a single run, with one answer per question, and the figures above are as listed on the [leaderboard](https://livesqlbench.ai/?ref=blog.agami.ai). Before sending it, we scored the prediction file with [BIRD's own evaluation script](https://github.com/bird-bench/livesqlbench?ref=blog.agami.ai).

## How we did it

Three pieces, and none of them is specific to the benchmark harness.

**1\. A semantic model built from what BIRD publishes.** For each database, agami built a model from the knowledge base, the data dictionary, and the data itself. It holds the tables, columns, joins, metrics, and example queries. Every join was confirmed against the data rather than guessed from column names.

**2\. Conventions for each database.** These are plain-English statements of how that database's data is used, the way a data team documents a client's database for its analysts. Here's one, shortened:

> Many measures are stored as text with their unit attached, such as '104 days' or 'US$5210.53'. When a calculation needs one, use the number with the unit removed, unless the question says otherwise.

We wrote 144 across the 18 databases, between 3 and 18 per database. Each one is a default the question can override. We drafted them from the knowledge base, the data dictionary, the data, and a review of the tasks.

**3\. The agent asks agami before it writes SQL.** Haiku reads the conventions, asks the Agami harness for the tables and examples relevant to the question, writes its query, and checks it through the Agami governance framework before it answers.

## What made the difference

We ran the same 480 tasks two ways. The second row is on the leaderboard; the other one was our own run to identify the baseline.

| Setup                                      | Tasks solved | Cost per task |
| ------------------------------------------ | ------------ | ------------- |
| Haiku 5.5, semantic model only             | 157 (32.7%)  | about $0.019  |
| Haiku 5.5, semantic model plus conventions | 221 (46.0%)  | $0.017        |

The conventions, with a short set of answer habits, added 64 business rules to the semantic model.

That gap is the point. Most of what Haiku got wrong without conventions wasn't a reasoning failure. It didn't know that a number was stored with its unit, that a region name appears with stray spaces and odd capitals, or which records a measure should cover. A test run on Opus 5.5 had the same gaps, which proves that a bigger model also can't reason its way to a business rule it was never told. A small model that's told reads it just fine.

It also lines up with what we [cited in September](https://blog.agami.ai/text-to-sql-accuracy-on-real-company-data/?utm%5Fsource=blog&utm%5Fmedium=organic&utm%5Fcampaign=LSB1): a [paper](https://arxiv.org/abs/2604.25149?ref=blog.agami.ai) that found a short document of business conventions lifted accuracy by 17 to 23 points across three frontier models. We saw \~14 points on a harder benchmark with a much smaller model.

## What this looks like in Agami

**A semantic model built from your documentation and checked against your data.** The same build ran here: tables, joins, and metrics from the documents, each join confirmed on the rows themselves.

**Conventions written once, read by every agent.** On a customer's database, these come from your team, and a person signs them off before an agent reads them.

**Any agent, through one layer.** This run used Claude Code. The same model serves Claude, ChatGPT, Copilot, Gemini, or Cursor, so the definitions don't change when the agent does.

**Small models become a real option.** If the knowledge is in the semantic model, you don't need the biggest model on every question. Here that meant $8 for 480 hard tasks.

## Frequently asked questions

**What is LiveSQLBench-Large?** It's a text-to-SQL benchmark from the BIRD team: 480 tasks across 18 databases, each with around 54 tables and a thousand columns. Business rules sit in a separate knowledge base, and 148 of the tasks change data rather than just query it. The dataset is public on Hugging Face.

**What did Agami score on LiveSQLBench-Large?** 221 of 480 tasks, or 46.04%, which is #2 of 19 entries on the Large-v1 leaderboard. It ran on Claude Haiku 5.5 in a single run, with one answer per question.

**How much did the run cost?** $0.017 a task, the lowest of any entry in the top 10\. All 480 tasks came to $8.27, as reported by Claude Code at Anthropic's published API prices.

**Why Haiku and not Opus?** Cost, and to test the claim that a smaller model with rich context can match or beat the larger models with limited ones. 

**What is a semantic model, and why does it help text-to-SQL?** It's a structured description of a database: its tables, columns, joins, metrics, example queries and business definitions. It tells the agent facts it can't work out alone, such as which join is right or how a value is stored. That knowledge, not model size, closed most of the gap here.

**What are database conventions?** They're plain-English business rules for how one database's data is used. For example, a measure stored as text with its unit attached is read as the number alone. We wrote 144 across the 18 databases, and a question can always override one.

**Did you use the benchmark's answers?** None of the benchmark's answer key was used to draft the sql or train the semantic model. 

**Can anyone check the result?** BIRD has the prediction file, with the full agent trajectory for every task. agami-core, the semantic model engine, is public on GitHub.

## References

1. BIRD, [LiveSQLBench leaderboard](https://livesqlbench.ai/?ref=blog.agami.ai), Large-v1.
2. BIRD, [LiveSQLBench on GitHub](https://github.com/bird-bench/livesqlbench?ref=blog.agami.ai), the benchmark, harness, and evaluation code.
3. BIRD, [LiveSQLBench-Large dataset on Hugging Face](https://huggingface.co/datasets/birdsql/livesqlbench-large-v1?ref=blog.agami.ai), the 18 databases and 480 tasks, if you'd like to explore them.
4. Agami blog, "[Why Text-to-SQL Accuracy Slips from 91.2% to 21.3% on Real Company Data](https://blog.agami.ai/text-to-sql-accuracy-on-real-company-data/?utm%5Fsource=blog&utm%5Fmedium=organic&utm%5Fcampaign=LSB1)," September 2026.
5. Rumiantsau and Fokeev, [paired-benchmark study of business-convention documents](https://arxiv.org/abs/2604.25149?ref=blog.agami.ai), April 2026.
6. [agami-core on GitHub](https://github.com/AgamiAI/agami-core?utm%5Fsource=blog&utm%5Fmedium=organic&utm%5Fcampaign=LSB1), the semantic model engine behind this run.

### See it on your data

We'll build a semantic model on your warehouse with your team, then put your own questions to it, on the agent you already use.

[Book a call](https://www.agami.ai/talk-to-us?utm%5Fsource=blog&utm%5Fmedium=organic&utm%5Fcampaign=LSB1) [or try the demo →](https://www.agami.ai/demo?ref=blog.agami.ai)