How to code with weak models
— Do you always need frontier models?
Spoiler: no, you don’t. But you have to work more.
In my personal coding activities, I use almost only free models, thatr I can access with OpenCode or OpenRouter. At this moment, November 2026, the model I use the most is ERNIE-5.5-Flash-Preview. Yes, I know it is a preview and my data will end in RLHF, but I simply don’t care, because my projects are open-source anyway. So this is not a problem for me.
In my professional work I test frontier models, some not yet released, and the difference in using these two types of models is huge.
What I would like to talk about in this article is the different approach I use with weaker and stronger models.
With weaker models I have to clearly know what I want and how I want it being done. I write a plan with the agent before letting it implement the product or the feature. I want to discuss the first step in detail, describing what I want, and making the model ask me for all the information it needs to implement PR1. This is an exciting step for me, and I like it very much, because it makes me thinking about the features my software should have, which functionalities I want, and which behaviors it should have. This is a very interesting job I like to do, because I like to “play to think”, as Manuel Cuni said once in one interview. To work with weak models you have to lead the game, and lead the model to implement what you want, in the way you want. I would say it can be a formative experience, because it forces you to think. Obviously, this is valid until you are working in a “known field”: if you are doing deep research on frontier topics the model might not be able to support you.
With frontier models the flow is completely different for the majority of the tasks: you will write a simple prompt, and the agent will try to solve all the problem with a single turn. To do that, the model will take a ton of assumptions, trying to align to what you asked for. And, in the great majority of the cases, it will be able to do that. So we might say that the improvement of models is being able to reach better results, with worse inputs. But this has a flip side: you don’t really know what the model did, until you read the code. If you can’t read the code, you feel like you’ve built something working, but you don’t know if it is working exactly as you want; and this is because you don’t really know what you want.
There is a third scenario to analyze: when you are working on frontier topics. If you are pushing the frontier model to its limit, researching new techniques or approaches that nobody faced before, you will have to do all the imagination work anyway, as described for weak models. It’s the complexity to request your intervention and collaboration, because the model can’t reach the goal by itself alone. But, if you are in this kind of situation, probably you don’t need to read this article.