DEV Community

Cover image for What AI model to use?
Eduardo Aguilera
Eduardo Aguilera

Posted on Originally published at aguilera.ee

What AI model to use?

Choosing the wrong model can be 5x more expensive. But how to choose the correct one?

I use Opus to help me plan a full feature. It is the equivalent of a seasoned Sr. Software Engineer who knows how to find gaps in a code base. Knows when to ask questions and drive you in the right direction.

I use Sonnet for simple feature implementations. To write code previously planned by a more expensive model. Sonnet is your mid level engineer who knows how to code but doesn't have architectural expertise.

I use Haiku for classification, labeling, and Yes/No questions. Haiku is just a calculator for nondeterministic values. "Is this picture a car?"

Opus plans > Sonnet codes > Haiku answers

More in aguilera.ee

Top comments (0)