JB Astau

Reflection 02 · Applied AI

Do you need a bigger model?

Architecture before power. My assistant went from 53% to 98% correct answers without changing models. What that says about choosing a model for a company.

When an AI answers badly, the first reflex is to look for a bigger model. On Carnet Catalan, I did the opposite: I kept the same compact model, mistral-small, and changed the way the system works. Then I tested the bigger models, to check.

The model wrote before it knew

In the first version, everything happened in a single call to the model. It had to understand the question, choose the search tool, fill in the criteria and write its sentence, before knowing what the database would return. It would announce a cove, a restaurant, a hike, and then the search came back with something else. Or it settled for “Here is what I found:” without making any case at all.

Result on the evaluation bench: 53% of checks passed.

Analyse, search, then write

I split the work into three steps. A first call analyses the question and extracts criteria. The code searches the database with those criteria. A final call writes, from what was found and nothing else.

BEFORE
Write
Search
53%
AFTER
Analyse
Search
Write
98%
The same model, two orders of work. Measured on the 100-question bench of the time.

The gain has a price: three calls instead of one, and an answer in about six seconds instead of four. It is a trade-off, not a free win.

A bigger model? I measured it

Once the new architecture was in place, I ran the writing step with three model sizes, on the same questions. On the full bench, mistral-small scores 98%, Medium 97%. On a shorter set, Large gains three points over small but takes twice as long to answer.

The automatic judge rates Medium’s answers slightly higher. That is an argument for the writing step. But most of the jump, from 53% to 98%, comes from the architecture, not the size.

53 → 98%same model, different order of work
98 / 97%small versus Medium, on the 100 questions
× 2response time with Large, for three more points

Then let the model search for itself

A few days later, a second shift. Instead of a search decided by the code, the model gets tools: search places, open a listing, read articles. It queries the database, reads what comes back and searches again if needed. The code keeps control over what is true.

The overall score did not move: 90% versus 91%, within the margin of chance. The gain is elsewhere. Cited names that really exist in the results went from about 50% to 83%, and response time from 5.8 to 3.9 seconds. I no longer had to code every special case of search.

One variant failed, and it is instructive. I gave it the site’s articles up front, as in the previous version. The score dropped to 86%, grounded names to 37%, and answers took nine seconds. With more context at hand, the model wrote from the articles and stopped looking up places. More information did not make a better answer.

What these figures do not say

The bench is a working tool, not a study. Its limits matter as much as its figures:

What it means for a company

Before buying a bigger model, look at the order of operations: who searches, who writes, who checks. Only then test model sizes on your own questions, and choose knowing the price of each point gained, in time as well as money.

The power of the model matters. It comes after the architecture of the system.