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.
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.
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:
- I wrote the questions. They come from my own tests, not from real public traffic.
- The score is partly mine. I corrected about ten expectations along the way, each time because the expectation was wrong and the assistant was right. They are documented.
- The judge is a large Mistral model grading answers from Mistral models.
- Three runs per question: a three-point gap between two versions can be down to chance. I read it as “no regression”, not as progress. A jump from 53% to 98%, on the other hand, is not explained by chance.
- The bench has grown, from 100 to 134 questions, with multi-day trips, several languages and vague questions. Today’s score cannot be compared directly with September’s.
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.